WindowChrome.GetWindowChrome(Window) Method

Definition

Gets the value of the WindowChrome attached property from the specified Window.

public:
 static System::Windows::Shell::WindowChrome ^ GetWindowChrome(System::Windows::Window ^ window);
public static System.Windows.Shell.WindowChrome GetWindowChrome (System.Windows.Window window);
static member GetWindowChrome : System.Windows.Window -> System.Windows.Shell.WindowChrome
Public Shared Function GetWindowChrome (window As Window) As WindowChrome

Parameters

window
Window

The Window from which to read the property value.

Returns

The instance of WindowChrome that is attached to the specified Window.

Exceptions

window is null.

Applies to