Compartilhar via


WindowChrome.SetWindowChrome(Window, WindowChrome) Método

Definição

Define o valor da propriedade anexada WindowChrome na Window especificada.

public:
 static void SetWindowChrome(System::Windows::Window ^ window, System::Windows::Shell::WindowChrome ^ chrome);
public static void SetWindowChrome (System.Windows.Window window, System.Windows.Shell.WindowChrome chrome);
static member SetWindowChrome : System.Windows.Window * System.Windows.Shell.WindowChrome -> unit
Public Shared Sub SetWindowChrome (window As Window, chrome As WindowChrome)

Parâmetros

window
Window

O Window no qual a propriedade anexada WindowChrome será definida.

chrome
WindowChrome

A instância de WindowChrome a ser definida.

Exceções

window é null.

Aplica-se a