Class WindowSettings
Represents information about an out-of-browser application window.
Inherited Members
Namespace: System.Windows
Assembly: OpenSilver.dll
Syntax
[NotImplemented]
public sealed class WindowSettings : DependencyObject, IDependencyObject
Constructors
| Improve this Doc View SourceWindowSettings()
Initializes a new instance of the WindowSettings class.
Declaration
public WindowSettings()
Fields
| Improve this Doc View SourceHeightProperty
Identifies the Height dependency property.
Declaration
public static readonly DependencyProperty HeightProperty
Field Value
Type | Description |
---|---|
DependencyProperty |
LeftProperty
Identifies the Left dependency property.
Declaration
public static readonly DependencyProperty LeftProperty
Field Value
Type | Description |
---|---|
DependencyProperty |
TitleProperty
Identifies the Title dependency property.
Declaration
public static readonly DependencyProperty TitleProperty
Field Value
Type | Description |
---|---|
DependencyProperty |
TopProperty
Identifies the Top dependency property.
Declaration
public static readonly DependencyProperty TopProperty
Field Value
Type | Description |
---|---|
DependencyProperty |
WidthProperty
Identifies the Width dependency property.
Declaration
public static readonly DependencyProperty WidthProperty
Field Value
Type | Description |
---|---|
DependencyProperty |
WindowStartupLocationProperty
Identifies the WindowStartupLocation dependency property.
Declaration
public static readonly DependencyProperty WindowStartupLocationProperty
Field Value
Type | Description |
---|---|
DependencyProperty |
WindowStyleProperty
Identifies the WindowStyle dependency property.
Declaration
public static readonly DependencyProperty WindowStyleProperty
Field Value
Type | Description |
---|---|
DependencyProperty |
Properties
| Improve this Doc View SourceHeight
Gets the initial window height of the application.
Declaration
public double Height { get; }
Property Value
Type | Description |
---|---|
System.Double | The initial window height of the application. |
Left
Gets the initial position of the left edge of the out-of-browser application window when WindowStartupLocation is Manual.
Declaration
public double Left { get; }
Property Value
Type | Description |
---|---|
System.Double | The initial position of the left edge of the application window. |
Title
Gets the full title of the out-of-browser application for display in the title bar of the application window.
Declaration
public string Title { get; }
Property Value
Type | Description |
---|---|
System.String | The full title of the application. |
Top
Gets the initial position of the top edge of the out-of-browser application window when WindowStartupLocation is Manual.
Declaration
public double Top { get; }
Property Value
Type | Description |
---|---|
System.Double | The initial position of the top edge of the application window. |
Width
Gets the initial window width of the application.
Declaration
public double Width { get; }
Property Value
Type | Description |
---|---|
System.Double | The initial window width of the application. |
WindowStartupLocation
Gets a value that indicates how the out-of-browser application window is positioned at startup.
Declaration
public WindowStartupLocation WindowStartupLocation { get; }
Property Value
Type | Description |
---|---|
WindowStartupLocation | A value that indicates how the application window is positioned at startup. |
WindowStyle
Gets a value that indicates the appearance of the title bar and border for the out-of-browser application window.
Declaration
public WindowStyle WindowStyle { get; }
Property Value
Type | Description |
---|---|
WindowStyle | A value that indicates how the title bar and border should appear. |