Show / Hide Table of Contents

Class ConsoleWindow

Helper wrapper class that enables console window management operations for the application.

Inheritance
object
ConsoleWindow
Implements
IMsWindow
IWindow
ICloseable
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: TheXDS.MCART.Component
Assembly: MCART.Windows.dll
Syntax
public class ConsoleWindow : IMsWindow, IWindow, ICloseable

Properties

| Edit this page View Source

Handle

Gets the handle through which the window can be manipulated.

Declaration
public nint Handle { get; }
Property Value
Type Description
nint
| Edit this page View Source

HasConsole

Indicates whether the application has access to the console.

Declaration
public static bool HasConsole { get; }
Property Value
Type Description
bool
| Edit this page View Source

Padding

Gets or sets the interior margin that spaces the window's borders from its content.

Declaration
public Margins Padding { get; set; }
Property Value
Type Description
Margins

Methods

| Edit this page View Source

Close()

Closes the console window.

Declaration
public void Close()

Implements

IMsWindow
IWindow
ICloseable

Extension Methods

Objects.ShallowCopyTo(object, object, Type)
ObjectExtensions.FieldsOf<T>(object)
ObjectExtensions.GetAttribute<T>(object)
ObjectExtensions.GetAttributes<T>(object)
ObjectExtensions.HasAttrValue<TAttribute, TValue>(object, out TValue)
ObjectExtensions.HasAttribute<T>(object)
ObjectExtensions.HasAttribute<T>(object, out T?)
ObjectExtensions.HasAttributes<T>(object, out IEnumerable<T>?)
ObjectExtensions.Is(object?, object?)
ObjectExtensions.IsEither(object, IEnumerable)
ObjectExtensions.IsEither(object, params object[])
ObjectExtensions.IsNeither(object, IEnumerable)
ObjectExtensions.IsNeither(object, params object[])
ObjectExtensions.IsNot(object?, object?)
ObjectExtensions.PropertiesOf<T>(object)
ObjectExtensions.WhichAre(object, IEnumerable<object>)
ObjectExtensions.WhichAre(object, params object[])
Common.IfNotNull<T>(T?, Action<T>)
Objects.Itself<T>(T)
Objects.ShallowCopyTo<T>(T, T)
CollectionExtensions.PushInto<TItem, TCollection>(TItem, ICollection<TCollection>)
DictionaryExtensions.PushInto<TKey, TValue>(TValue, TKey, IDictionary<TKey, TValue>)
Windows.GetScalingFactor(IMsWindow)
MsWindowExtensions.DisableEffects(IMsWindow)
MsWindowExtensions.EnableAcrylic(IMsWindow)
MsWindowExtensions.EnableBlur(IMsWindow)
MsWindowExtensions.EnableMicaIfSupported(IMsWindow)
MsWindowExtensions.ExtendFrameIntoClientArea(IMsWindow)
MsWindowExtensions.HideBorder(IMsWindow)
MsWindowExtensions.HideCaption(IMsWindow)
MsWindowExtensions.HideClose(IMsWindow)
MsWindowExtensions.HideHelp(IMsWindow)
MsWindowExtensions.HideMaximize(IMsWindow)
MsWindowExtensions.HideMinimize(IMsWindow)
MsWindowExtensions.Move(IMsWindow, Point)
MsWindowExtensions.NotifyWindowFrameChange(IMsWindow)
MsWindowExtensions.Resize(IMsWindow, Size)
MsWindowExtensions.SetBackdropType(IMsWindow, SystemBackdropType)
MsWindowExtensions.SetCaptionColor(IMsWindow, Color)
MsWindowExtensions.SetCaptionTextColor(IMsWindow, Color)
MsWindowExtensions.SetClientPadding(IMsWindow, Margins)
MsWindowExtensions.SetCornerPreference(IMsWindow, WindowCornerPreference)
MsWindowExtensions.SetFramePadding(IMsWindow, Margins)
MsWindowExtensions.SetImmersiveDarkMode(IMsWindow, bool)
MsWindowExtensions.SetMica(IMsWindow, bool)
MsWindowExtensions.ShowBorder(IMsWindow)
MsWindowExtensions.ShowCaption(IMsWindow)
MsWindowExtensions.ShowClose(IMsWindow)
MsWindowExtensions.ShowHelp(IMsWindow)
MsWindowExtensions.ShowMaximize(IMsWindow)
MsWindowExtensions.ShowMinimize(IMsWindow)
  • Edit this page
  • View Source
In this article
Back to top Generated by DocFX