WindowChrome.GetWindowChrome(Window) WindowChrome.GetWindowChrome(Window) WindowChrome.GetWindowChrome(Window) Method

定义

从指定的 WindowChrome 中获取 Window 附加属性的值。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

参数

window
Window Window Window

从中读取属性值的 WindowThe Window from which to read the property value.

返回

附件到指定 WindowChromeWindow 实例。The instance of WindowChrome that is attached to the specified Window.

异常

适用于