WindowChrome.GetWindowChrome(Window) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Returns
The instance of WindowChrome that is attached to the specified Window.
Exceptions
window
is null
.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.