WindowChrome.GetWindowChrome Method

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

Namespace:  Microsoft.Windows.Shell
Assembly:  Microsoft.Windows.Shell (in Microsoft.Windows.Shell.dll)

Syntax

'Declaration
Public Shared Function GetWindowChrome ( _
    window As Window _
) As WindowChrome
public static WindowChrome GetWindowChrome(
    Window window
)
public:
static WindowChrome^ GetWindowChrome(
    Window^ window
)
static member GetWindowChrome : 
        window:Window -> WindowChrome 
public static function GetWindowChrome(
    window : Window
) : WindowChrome

Parameters

Return Value

Type: Microsoft.Windows.Shell.WindowChrome
The instance of WindowChrome that is attached to the specified Window.

Exceptions

Exception Condition
ArgumentNullException

window is nulla null reference (Nothing in Visual Basic).

.NET Framework Security

See Also

Reference

WindowChrome Class

Microsoft.Windows.Shell Namespace