Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

WindowSettings Class

Silverlight

Represents information about an out-of-browser application window.

Namespace:  System.Windows
Assembly:  System.Windows (in System.Windows.dll)
public sealed class WindowSettings : DependencyObject
<OutOfBrowserSettings>
  <OutOfBrowserSettings.WindowSettings>
    <WindowSettings Title="string" 
      WindowStartupLocation="enumMemberName"
      Left="double" Top="double"
      Height="double" Width="double" 
      WindowStyle="enumMemberName"/>
  </OutOfBrowserSettings.WindowSettings>
</OutOfBrowserSettings>

The WindowSettings type exposes the following members.

  NameDescription
Public methodWindowSettingsInitializes a new instance of the WindowSettings class.
Top
  NameDescription
Public propertyDispatcherGets the Dispatcher this object is associated with. (Inherited from DependencyObject.)
Public propertyHeightGets the initial window height of the application.
Public propertyLeftGets the initial position of the left edge of the out-of-browser application window when WindowStartupLocation is Manual.
Public propertyTitleGets the full title of the out-of-browser application for display in the title bar of the application window.
Public propertyTopGets the initial position of the top edge of the out-of-browser application window when WindowStartupLocation is Manual.
Public propertyWidthGets the initial window width of the application.
Public propertyWindowStartupLocationGets a value that indicates how the out-of-browser application window is positioned at startup.
Public propertyWindowStyleGets a value that indicates the appearance of the title bar and border for the out-of-browser application window.
Top
  NameDescription
Public methodCheckAccessDetermines whether the calling thread has access to this object. (Inherited from DependencyObject.)
Public methodClearValueClears the local value of a dependency property. (Inherited from DependencyObject.)
Public methodEquals(Object)Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.)
Public methodGetAnimationBaseValueReturns any base value established for a Silverlight dependency property, which would apply in cases where an animation is not active. (Inherited from DependencyObject.)
Public methodGetHashCodeServes as a hash function for a particular type. (Inherited from Object.)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Public methodGetValueReturns the current effective value of a dependency property from a DependencyObject. (Inherited from DependencyObject.)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Public methodReadLocalValueReturns the local value of a dependency property, if a local value is set. (Inherited from DependencyObject.)
Public methodSetValueSets the local value of a dependency property on a DependencyObject. (Inherited from DependencyObject.)
Public methodToStringReturns a string that represents the current object. (Inherited from Object.)
Top
  NameDescription
Public fieldStatic memberHeightPropertyIdentifies the Height dependency property.
Public fieldStatic memberLeftPropertyIdentifies the Left dependency property.
Public fieldStatic memberTitlePropertyIdentifies the Title dependency property.
Public fieldStatic memberTopPropertyIdentifies the Top dependency property.
Public fieldStatic memberWidthPropertyIdentifies the Width dependency property.
Public fieldStatic memberWindowStartupLocationPropertyIdentifies the WindowStartupLocation dependency property.
Public fieldStatic memberWindowStylePropertyIdentifies the WindowStyle dependency property.
Top

This class is used by the OutOfBrowserSettings.WindowSettings property. It contains properties that are used to initialize the title bar text and the initial location and dimensions of the out-of-browser application window.

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

Silverlight

Supported in: 5, 4, 3

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

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.