Class AppWindow
- Namespace
- Tudormobile.Wpf.Controls
- Assembly
- Tudormobile.WpfControls.dll
Application Window containing a custom title bar, status bar, and simulated chrome.
The TitleBar and StausBar properties are exposed read-only to allow customization.
public class AppWindow : Window, IAnimatable, ISupportInitialize, IFrameworkInputElement, IInputElement, IQueryAmbient, IAddChild
- Inheritance
-
AppWindow
- Implements
- Inherited Members
Constructors
AppWindow()
Create and initialize a new instance.
public AppWindow()
Properties
ContentBackground
Background brush for the window content area.
The default value is Transparent, which results in the window content having the same color as the window background.
public Brush? ContentBackground { get; set; }
Property Value
StatusAreaContent
Content for the status area (bottom) of the AppWindow. Default value is (null).
Typically, a status bar is placed into this area. You can wrap this in a border to maintain and adjust corner radius values.
public object? StatusAreaContent { get; set; }
Property Value
Methods
OnApplyTemplate()
When overridden in a derived class, is invoked whenever application code or internal processes call ApplyTemplate().
public override void OnApplyTemplate()