Window Properties

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Include Protected Members
Include Inherited Members

Include Silverlight Members
Include Silverlight for Windows Phone Members
Include XNA Framework Members

The Window type exposes the following members.

Properties

  Name Description
Public property Content Gets or sets the root visual element that represents the contents of the window.
Public property Dispatcher Gets the Dispatcher this object is associated with. (Inherited from DependencyObject.)
Public property Height Gets or sets the height of the application window in pixels.
Public property IsActive Gets a value that indicates whether the window is active.
Public property IsVisible Gets a value that indicates whether the window is currently visible in the user interface.
Public property Left Gets or sets the position of the left edge of the application window; see Remarks for restrictions on setting this property at run time.
Public property Title Gets or sets the window title bar text.
Public property Top Gets or sets the position of the top edge of the application window; see Remarks for restrictions on setting this property at run time.
Public property TopMost Gets or sets a value that indicates whether the application window is always displayed in front of other windows.
Public property Visibility Gets or sets a value that indicates whether the window is currently visible or collapsed.
Public property Width Gets or sets the width of the application window in pixels.
Public property WindowState Gets or sets a value that indicates whether the window is maximized, minimized, or in the normal state.
Public property WindowStyle Gets or sets a value that indicates the appearance of the title bar and border of the Window.

Top