Share via


OutOfBrowserSettings.WindowSettings Property

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

Gets the settings applied to the application window.

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

Syntax

'Declaration
Public ReadOnly Property WindowSettings As WindowSettings
public WindowSettings WindowSettings { get; }
<OutOfBrowserSettings>
  <OutOfBrowserSettings.WindowSettings>
    singleWindowSettingsElement
  </OutOfBrowserSettings.WindowSettings>
</OutOfBrowserSettings>

XAML Values

Property Value

Type: System.Windows.WindowSettings
The settings applied to the application window.

Remarks

This property contains values that are used to initialize the title bar text and initial dimensions of the out-of-browser application window.

The Title property of the WindowSettings object is required, but the WindowSettings property is read-only at run time. You can set this property in the out-of-browser configuration. For more information, see How to: Configure an Application for Out-of-Browser Support.

Version Information

Silverlight

Supported in: 5, 4, 3

Platforms

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