Show / Hide Table of Contents

Class WinFormsWindowWrap

Wraps a Windows Forms Form to provide additional window management services.

Inheritance
object
WinFormsWindowWrap
Implements
IWinFormsWindow
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.Types
Assembly: MCART.WinForms.Common.dll
Syntax
public class WinFormsWindowWrap : IWinFormsWindow, IMsWindow, IWindow, ICloseable

Constructors

| Edit this page View Source

WinFormsWindowWrap(Form)

Wraps a Windows Forms Form to provide additional window management services.

Declaration
public WinFormsWindowWrap(Form window)
Parameters
Type Name Description
Form window

Form to wrap.

Properties

| Edit this page View Source

WindowState

Gets a value that indicates the window's state.

Declaration
public FormWindowState WindowState { get; }
Property Value
Type Description
FormWindowState

Operators

| Edit this page View Source

implicit operator WinFormsWindowWrap(Form)

Implicitly converts a Form to a WinFormsWindowWrap.

Declaration
public static implicit operator WinFormsWindowWrap(Form window)
Parameters
Type Name Description
Form window

Object to convert.

Returns
Type Description
WinFormsWindowWrap
| Edit this page View Source

implicit operator Form(WinFormsWindowWrap)

Implicitly converts a WinFormsWindowWrap to a Form.

Declaration
public static implicit operator Form(WinFormsWindowWrap wrap)
Parameters
Type Name Description
WinFormsWindowWrap wrap

Object to convert.

Returns
Type Description
Form

Implements

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