Class WpfWindowWrap
Wraps a Windows Presentation Framework Window to provide additional window‑management services.
Inherited Members
Namespace: TheXDS.MCART.Types
Assembly: MCART.Wpf.Common.dll
Syntax
public class WpfWindowWrap : IWpfWindow, IMsWindow, IWindow, ICloseable
Constructors
| Edit this page View SourceWpfWindowWrap(Window)
Wraps a Windows Presentation Framework Window to provide additional window‑management services.
Declaration
public WpfWindowWrap(Window window)
Parameters
| Type | Name | Description |
|---|---|---|
| Window | window | Window to wrap. |
Properties
| Edit this page View SourceWindowState
Gets a value that indicates the window state.
Declaration
public WindowState WindowState { get; }
Property Value
| Type | Description |
|---|---|
| WindowState |
Operators
| Edit this page View Sourceimplicit operator WpfWindowWrap(Window)
Implicitly converts a Window to a WpfWindowWrap.
Declaration
public static implicit operator WpfWindowWrap(Window window)
Parameters
| Type | Name | Description |
|---|---|---|
| Window | window | Object to convert. |
Returns
| Type | Description |
|---|---|
| WpfWindowWrap |
implicit operator Window(WpfWindowWrap)
Implicitly converts a WpfWindowWrap to a Window.
Declaration
public static implicit operator Window(WpfWindowWrap wrap)
Parameters
| Type | Name | Description |
|---|---|---|
| WpfWindowWrap | wrap | Object to convert. |
Returns
| Type | Description |
|---|---|
| Window |