Show / Hide Table of Contents

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
ICloseable.Close()
Namespace: TheXDS.MCART.Types.Base
Assembly: MCART.UI.dll
Syntax
public interface IWindow : ICloseable

Properties

| Edit this page View Source

Location

Gets or sets the position of the window in absolute screen coordinates.

Declaration
Point Location { get; set; }
Property Value
Type Description
Point
| Edit this page View Source

Size

Gets or sets the size of the window.

Declaration
Size Size { get; set; }
Property Value
Type Description
Size

Methods

| Edit this page View Source

Hide()

Hides the window without closing it.

Declaration
void Hide()
| Edit this page View Source

Maximize()

Maximizes the window.

Declaration
void Maximize()
| Edit this page View Source

Minimize()

Minimizes the window.

Declaration
void Minimize()
| Edit this page View Source

Restore()

Restores the size of the window.

Declaration
void Restore()
| Edit this page View Source

ToggleMaximize()

Toggles the state of the window between Maximized and Restored.

Declaration
void ToggleMaximize()

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>)
  • Edit this page
  • View Source
In this article
Back to top Generated by DocFX