WindowSettings.WindowStyle Property

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

Gets a value that indicates the appearance of the title bar and border for the out-of-browser application window.

Namespace:  System.Windows
Assembly:  System.Windows (in System.Windows.dll)

Syntax

'Declaration
Public ReadOnly Property WindowStyle As WindowStyle
public WindowStyle WindowStyle { get; }
<WindowSettings WindowStyle="enumMemberName" />

Property Value

Type: System.Windows.WindowStyle
A value that indicates how the title bar and border should appear.

Remarks

This property is not required. If you do not specify it in the out-of-browser configuration, the default value of SingleBorderWindow is used.

This property is read-only at run time, but you can set it in the out-of-browser configuration for trusted applications. For more information, see How to: Configure an Application for Out-of-Browser Support.

Version Information

Silverlight

Supported in: 5, 4

Platforms

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.