Class WindowBase
Implements base functionality for window.
Inheritance
WindowBase
Implements
Namespace: Sartorius.SAF.Presentation.Controls.Primitives
Assembly: Sartorius.SAF.Presentation.Controls.dll
Syntax
public abstract class WindowBase : Window, IAnimatable, ISupportInitialize, IFrameworkInputElement, IInputElement, IQueryAmbient, IAddChild
Methods
View SourceFixSettingBehavior()
Fixes an issue with the WindowSettingBehavior when the window is Maximized by default.
Declaration
protected void FixSettingBehavior()
Remarks
This has to be called before Show() if your window contains a WindowSettingBehavior. Without this fix the default windows chrome buttons and border will sometimes ghost over the window.
OnSourceInitialized(EventArgs)
Sets the default background color.
Declaration
protected override void OnSourceInitialized(EventArgs e)
Parameters
| Type | Name | Description |
|---|---|---|
| EventArgs | e | The event data. |