Interface IMainWindowProperties
Provides properties for the automatically created SAF shell window.
Namespace: Sartorius.SAF.Presentation.Controls
Assembly: Sartorius.SAF.Presentation.Controls.dll
Syntax
[InheritedExport]
public interface IMainWindowProperties
Remarks
This is only used when the SAF creates a default shell window when you don't set System.Windows.Application.MainWindow during Run() or export a System.Windows.Window with MainWindowExportAttribute.
Properties
View SourceHeight
Gets the height of the default shell window.
Declaration
double? Height { get; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Double> |
Icon
Gets the Icon for the window.
Declaration
ImageSource Icon { get; }
Property Value
Type | Description |
---|---|
System.Windows.Media.ImageSource |
IconUri
Gets the Uri for the window icon.
Declaration
Uri IconUri { get; }
Property Value
Type | Description |
---|---|
System.Uri |
MaxHeight
Gets the maximum height of the default shell window.
Declaration
double? MaxHeight { get; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Double> |
MaxWidth
Gets the maximum width of the default shell window.
Declaration
double? MaxWidth { get; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Double> |
MinHeight
Gets the minimum height of the default shell window.
Declaration
double? MinHeight { get; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Double> |
MinWidth
Gets the minimum width of the default shell window.
Declaration
double? MinWidth { get; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Double> |
RegionName
Gets the name of the main region.
Declaration
string RegionName { get; }
Property Value
Type | Description |
---|---|
System.String |
Title
Gets the title of the default shell window.
Declaration
string Title { get; }
Property Value
Type | Description |
---|---|
System.String |
Width
Gets the width of the default shell window.
Declaration
double? Width { get; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Double> |