Interface IWindow
Defines a set of members to be implemented by a type that represents a window in any graphical user interface operating system.
Inherited Members
Namespace: TheXDS.MCART.Types.Base
Assembly: MCART.UI.dll
Syntax
public interface IWindow : ICloseable
Properties
| Edit this page View SourceLocation
Gets or sets the position of the window in absolute screen coordinates.
Declaration
Point Location { get; set; }
Property Value
Type | Description |
---|---|
Point |
Size
Gets or sets the size of the window.
Declaration
Size Size { get; set; }
Property Value
Type | Description |
---|---|
Size |
Methods
| Edit this page View SourceHide()
Hides the window without closing it.
Declaration
void Hide()
Maximize()
Maximizes the window.
Declaration
void Maximize()
Minimize()
Minimizes the window.
Declaration
void Minimize()
Restore()
Restores the size of the window.
Declaration
void Restore()
ToggleMaximize()
Toggles the state of the window between Maximized and Restored.
Declaration
void ToggleMaximize()