Class SfChromelessWindow
Follow steps 1a or 1b and then 2 to use this custom control in a XAML file.
Step 1a) Using this custom control in a XAML file that exists in the current project. Add this XmlNamespace attribute to the root element of the markup file where it is to be used:
xmlns:MyNamespace="clr-namespace:Syncfusion.SfChromelessWindow.WPF"
Step 1b) Using this custom control in a XAML file that exists in a different project. Add this XmlNamespace attribute to the root element of the markup file where it is to be used:
xmlns:MyNamespace="clr-namespace:Syncfusion.SfChromelessWindow.WPF;assembly=Syncfusion.SfChromelessWindow.WPF"
You will also need to add a project reference from the project where the XAML file lives to this project and Rebuild to avoid compilation errors:
Right click on the target project in the Solution Explorer and "Add Reference"->"Projects"->[Select this project]
Step 2) Go ahead and use your control in the XAML file.
Inheritance
Namespace: Syncfusion.Windows.Controls
Assembly: Syncfusion.SfChromelessWindow.Wpf.dll
Syntax
public class SfChromelessWindow : Window
Constructors
SfChromelessWindow()
Declaration
public SfChromelessWindow()
Fields
CaptionAlignmentProperty
Using a DependencyProperty as the backing store for CaptionAlignment. This enables animation, styling, binding, etc...
Declaration
public static readonly DependencyProperty CaptionAlignmentProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
CaptionBackgroundProperty
Using a DependencyProperty as the backing store for CaptionBrush. This enables animation, styling, binding, etc...
Declaration
public static readonly DependencyProperty CaptionBackgroundProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
CaptionFontSizeProperty
Using a DependencyProperty as the backing store for CaptionFontSize. This enables animation, styling, binding, etc...
Declaration
public static readonly DependencyProperty CaptionFontSizeProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
CaptionForegroundProperty
Using a DependencyProperty as the backing store for CaptionForeground. This enables animation, styling, binding, etc...
Declaration
public static readonly DependencyProperty CaptionForegroundProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
CaptionHeightProperty
Using a DependencyProperty as the backing store for CaptionHeight. This enables animation, styling, binding, etc...
Declaration
public static readonly DependencyProperty CaptionHeightProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
Close
Close Command
Declaration
public static readonly RoutedUICommand Close
Field Value
Type |
---|
System.Windows.Input.RoutedUICommand |
GlassFrameThicknessProperty
Using a DependencyProperty as the backing store for GlassFrameThickness. This enables animation, styling, binding, etc...
Declaration
public static readonly DependencyProperty GlassFrameThicknessProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
Maximize
Maximize Command
Declaration
public static readonly RoutedUICommand Maximize
Field Value
Type |
---|
System.Windows.Input.RoutedUICommand |
Minimize
Minimize Command
Declaration
public static readonly RoutedUICommand Minimize
Field Value
Type |
---|
System.Windows.Input.RoutedUICommand |
ResizeBorderThicknessProperty
Using a DependencyProperty as the backing store for ResizeBorderThickness. This enables animation, styling, binding, etc...
Declaration
public static readonly DependencyProperty ResizeBorderThicknessProperty
Field Value
Type |
---|
System.Windows.DependencyProperty |
Restore
Restore Command
Declaration
public static readonly RoutedUICommand Restore
Field Value
Type |
---|
System.Windows.Input.RoutedUICommand |
Properties
CaptionAlignment
Using a DependencyProperty as the backing store for CaptionAlignment. This enables animation, styling, binding, etc...
Declaration
public HorizontalAlignment CaptionAlignment { get; set; }
Property Value
Type |
---|
System.Windows.HorizontalAlignment |
CaptionBackground
Using a DependencyProperty as the backing store for CaptionBrush. This enables animation, styling, binding, etc...
Declaration
public Brush CaptionBackground { get; set; }
Property Value
Type |
---|
System.Windows.Media.Brush |
CaptionFontSize
Using a DependencyProperty as the backing store for CaptionFontSize. This enables animation, styling, binding, etc...
Declaration
public double CaptionFontSize { get; set; }
Property Value
Type |
---|
System.Double |
CaptionForeground
Using a DependencyProperty as the backing store for CaptionForeground. This enables animation, styling, binding, etc...
Declaration
public Brush CaptionForeground { get; set; }
Property Value
Type |
---|
System.Windows.Media.Brush |
CaptionHeight
Using a DependencyProperty as the backing store for CaptionHeight. This enables animation, styling, binding, etc...
Declaration
public double CaptionHeight { get; set; }
Property Value
Type |
---|
System.Double |
GlassFrameThickness
Using a DependencyProperty as the backing store for GlassFrameThickness. This enables animation, styling, binding, etc...
Declaration
public Thickness GlassFrameThickness { get; set; }
Property Value
Type |
---|
System.Windows.Thickness |
ResizeBorderThickness
Using a DependencyProperty as the backing store for ResizeBorderThickness. This enables animation, styling, binding, etc...
Declaration
public Thickness ResizeBorderThickness { get; set; }
Property Value
Type |
---|
System.Windows.Thickness |
Methods
OnApplyTemplate()
When overridden in a derived class, is invoked whenever application code or internal processes call System.Windows.FrameworkElement.ApplyTemplate.
Declaration
public override void OnApplyTemplate()
OnInitialized(EventArgs)
Raises the System.Windows.FrameworkElement.Initialized event. This method is invoked whenever System.Windows.FrameworkElement.IsInitialized is set to true internally.
Declaration
protected override void OnInitialized(EventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.EventArgs | e | The System.Windows.RoutedEventArgs that contains the event data. |