Class DrawerSettings
DrawerSettings class
Inheritance
Implements
Namespace: Syncfusion.UI.Xaml.NavigationDrawer
Assembly: Syncfusion.SfNavigationDrawer.UWP.dll
Syntax
public class DrawerSettings : DependencyObject, INotifyPropertyChanged
Constructors
DrawerSettings()
Initializes a new instance of the DrawerSettings class
Declaration
public DrawerSettings()
Fields
AnimationDurationProperty
Using a DependencyProperty as the backing store for AnimationDuration. This enables animation, styling, binding, etc...
Declaration
public static readonly DependencyProperty AnimationDurationProperty
Field Value
Type |
---|
Windows.UI.Xaml.DependencyProperty |
DrawerContentViewProperty
Using a DependencyProperty as the backing store for DrawerContentView. This enables animation, styling, binding, etc...
Declaration
public static readonly DependencyProperty DrawerContentViewProperty
Field Value
Type |
---|
Windows.UI.Xaml.DependencyProperty |
DrawerFooterViewProperty
Using a DependencyProperty as the backing store for DrawerFooterView. This enables animation, styling, binding, etc...
Declaration
public static readonly DependencyProperty DrawerFooterViewProperty
Field Value
Type |
---|
Windows.UI.Xaml.DependencyProperty |
DrawerHeaderViewProperty
Using a DependencyProperty as the backing store for DrawerHeaderView. This enables animation, styling, binding, etc...
Declaration
public static readonly DependencyProperty DrawerHeaderViewProperty
Field Value
Type |
---|
Windows.UI.Xaml.DependencyProperty |
DrawerHeightProperty
Using a DependencyProperty as the backing store for DrawerHeight. This enables animation, styling, binding, etc...
Declaration
public static readonly DependencyProperty DrawerHeightProperty
Field Value
Type |
---|
Windows.UI.Xaml.DependencyProperty |
DrawerWidthProperty
Using a DependencyProperty as the backing store for DrawerWidth. This enables animation, styling, binding, etc...
Declaration
public static readonly DependencyProperty DrawerWidthProperty
Field Value
Type |
---|
Windows.UI.Xaml.DependencyProperty |
EnableSwipeGestureProperty
Using a DependencyProperty as the backing store for EnableSwipeGesture. This enables animation, styling, binding, etc...
Declaration
public static readonly DependencyProperty EnableSwipeGestureProperty
Field Value
Type |
---|
Windows.UI.Xaml.DependencyProperty |
FooterHeightProperty
Using a DependencyProperty as the backing store for HeaderHeight. This enables animation, styling, binding, etc...
Declaration
public static readonly DependencyProperty FooterHeightProperty
Field Value
Type |
---|
Windows.UI.Xaml.DependencyProperty |
HeaderHeightProperty
Using a DependencyProperty as the backing store for HeaderHeight. This enables animation, styling, binding, etc...
Declaration
public static readonly DependencyProperty HeaderHeightProperty
Field Value
Type |
---|
Windows.UI.Xaml.DependencyProperty |
IsOpenProperty
Using a DependencyProperty as the backing store for IsOpen. This enables animation, styling, binding, etc...
Declaration
public static readonly DependencyProperty IsOpenProperty
Field Value
Type |
---|
Windows.UI.Xaml.DependencyProperty |
PositionProperty
Using a DependencyProperty as the backing store for SlidePosition. This enables animation, styling, binding, etc...
Declaration
public static readonly DependencyProperty PositionProperty
Field Value
Type |
---|
Windows.UI.Xaml.DependencyProperty |
TouchThresholdProperty
Using a DependencyProperty as the backing store for TouchThreshold. This enables animation, styling, binding, etc...
Declaration
public static readonly DependencyProperty TouchThresholdProperty
Field Value
Type |
---|
Windows.UI.Xaml.DependencyProperty |
TransitionProperty
Using a DependencyProperty as the backing store for Transition. This enables animation, styling, binding, etc...
Declaration
public static readonly DependencyProperty TransitionProperty
Field Value
Type |
---|
Windows.UI.Xaml.DependencyProperty |
Properties
AnimationDuration
Gets or sets the value of animation durationDrawerSettings.
Declaration
public TimeSpan AnimationDuration { get; set; }
Property Value
Type | Description |
---|---|
System.TimeSpan | The Default value is 100. |
See Also
DrawerContentView
Gets or sets the DrawerContentView, which displays the navigation items that you need to jump toDrawerSettings.
Declaration
public object DrawerContentView { get; set; }
Property Value
Type | Description |
---|---|
System.Object | The Default value is null. |
See Also
DrawerFooterView
Gets or sets the footer for the DrawerView panel in the DrawerSettings control.
Declaration
public object DrawerFooterView { get; set; }
Property Value
Type | Description |
---|---|
System.Object | The Default value is null. |
See Also
DrawerHeaderView
Gets or sets the SecondaryDrawerHeaderView of the DrawerView panel in the DrawerSettings control.
Declaration
public object DrawerHeaderView { get; set; }
Property Value
Type | Description |
---|---|
System.Object | The Default value is null. |
See Also
DrawerHeight
Gets or sets the height for the DrawerView panel in the DrawerSettings control.
Declaration
public double DrawerHeight { get; set; }
Property Value
Type | Description |
---|---|
System.Double | The Default value is zero. |
See Also
DrawerWidth
Gets or sets the width for the DrawerView panel in the DrawerSettings control.
Declaration
public double DrawerWidth { get; set; }
Property Value
Type | Description |
---|---|
System.Double | The Default value is zero. |
See Also
EnableSwipeGesture
Gets or sets a value indicating whether swipe gesture is enabled in DrawerSettings control.
Declaration
public bool EnableSwipeGesture { get; set; }
Property Value
Type |
---|
System.Boolean |
FooterHeight
Gets or sets the width for the DrawerFooterHeight panel in the DrawerSettings control.
Declaration
public double FooterHeight { get; set; }
Property Value
Type | Description |
---|---|
System.Double | The Default value is zero. |
See Also
HeaderHeight
Gets or sets the width for the DrawerHeaderHeight panel in the DrawerSettings control.
Declaration
public double HeaderHeight { get; set; }
Property Value
Type | Description |
---|---|
System.Double | The Default value is zero. |
See Also
IsOpen
Gets or sets a value indicating whether DrawerSettings control's drawer is open.
Declaration
public bool IsOpen { get; set; }
Property Value
Type |
---|
System.Boolean |
Position
Gets or sets the position of the DrawerView panel in DrawerSettings control.
Declaration
public Position Position { get; set; }
Property Value
Type | Description |
---|---|
Position | The Default value is left. |
See Also
TouchThreshold
Gets or sets the threshold value from the edges for easy panning from the edgesDrawerSettings.
Declaration
public double TouchThreshold { get; set; }
Property Value
Type | Description |
---|---|
System.Double | The Default value is 20. |
See Also
Transition
Gets or sets the transition for the DrawerView panel of DrawerSettings control.
Declaration
public Transition Transition { get; set; }
Property Value
Type | Description |
---|---|
Transition | The Default value is SlideOnTop. |
See Also
Methods
OnAnimationDurationChanged(DependencyPropertyChangedEventArgs)
Invoked when AnimationDuration property value is changed
Declaration
protected void OnAnimationDurationChanged(DependencyPropertyChangedEventArgs args)
Parameters
Type | Name | Description |
---|---|---|
Windows.UI.Xaml.DependencyPropertyChangedEventArgs | args |
OnDrawerContentViewChanged(DependencyPropertyChangedEventArgs)
Invoked when DrawerContentView property value is changed
Declaration
protected void OnDrawerContentViewChanged(DependencyPropertyChangedEventArgs args)
Parameters
Type | Name | Description |
---|---|---|
Windows.UI.Xaml.DependencyPropertyChangedEventArgs | args |
OnDrawerFooterHeightChanged(DependencyPropertyChangedEventArgs)
Invoked when DrawerFooterHeight property value is changed
Declaration
protected void OnDrawerFooterHeightChanged(DependencyPropertyChangedEventArgs args)
Parameters
Type | Name | Description |
---|---|---|
Windows.UI.Xaml.DependencyPropertyChangedEventArgs | args |
OnDrawerFooterViewChanged(DependencyPropertyChangedEventArgs)
Invoked when DrawerFooterView property value is changed
Declaration
protected void OnDrawerFooterViewChanged(DependencyPropertyChangedEventArgs args)
Parameters
Type | Name | Description |
---|---|---|
Windows.UI.Xaml.DependencyPropertyChangedEventArgs | args |
OnDrawerHeaderHeightChanged(DependencyPropertyChangedEventArgs)
Invoked when DrawerHeaderHeight property value is changed
Declaration
protected void OnDrawerHeaderHeightChanged(DependencyPropertyChangedEventArgs args)
Parameters
Type | Name | Description |
---|---|---|
Windows.UI.Xaml.DependencyPropertyChangedEventArgs | args |
OnDrawerHeaderViewChanged(DependencyPropertyChangedEventArgs)
Invoked when DrawerHeaderView property value is changed
Declaration
protected void OnDrawerHeaderViewChanged(DependencyPropertyChangedEventArgs args)
Parameters
Type | Name | Description |
---|---|---|
Windows.UI.Xaml.DependencyPropertyChangedEventArgs | args |
OnDrawerHeightChanged(DependencyPropertyChangedEventArgs)
Invoked when DrawerHeight property value is changed
Declaration
protected void OnDrawerHeightChanged(DependencyPropertyChangedEventArgs args)
Parameters
Type | Name | Description |
---|---|---|
Windows.UI.Xaml.DependencyPropertyChangedEventArgs | args |
OnDrawerWidthChanged(DependencyPropertyChangedEventArgs)
Invoked when DrawerWidth property value is changed
Declaration
protected void OnDrawerWidthChanged(DependencyPropertyChangedEventArgs args)
Parameters
Type | Name | Description |
---|---|---|
Windows.UI.Xaml.DependencyPropertyChangedEventArgs | args |
OnEnableSwipeGestureChanged(DependencyPropertyChangedEventArgs)
Invoked when EnableSwipeGesture property value is changed
Declaration
protected void OnEnableSwipeGestureChanged(DependencyPropertyChangedEventArgs args)
Parameters
Type | Name | Description |
---|---|---|
Windows.UI.Xaml.DependencyPropertyChangedEventArgs | args |
OnIsOpenChanged(DependencyPropertyChangedEventArgs)
Invoked when IsOpen property value is changed
Declaration
protected void OnIsOpenChanged(DependencyPropertyChangedEventArgs args)
Parameters
Type | Name | Description |
---|---|---|
Windows.UI.Xaml.DependencyPropertyChangedEventArgs | args |
OnPositionChanged(DependencyPropertyChangedEventArgs)
Invoked when Position property value is changed
Declaration
protected void OnPositionChanged(DependencyPropertyChangedEventArgs args)
Parameters
Type | Name | Description |
---|---|---|
Windows.UI.Xaml.DependencyPropertyChangedEventArgs | args |
OnPropertyChanged(String)
Occurs when the property changed.
Declaration
protected void OnPropertyChanged(string name)
Parameters
Type | Name | Description |
---|---|---|
System.String | name | String type |
OnTouchThresholdChanged(DependencyPropertyChangedEventArgs)
Invoked when TouchThreshold property value is changed
Declaration
protected void OnTouchThresholdChanged(DependencyPropertyChangedEventArgs args)
Parameters
Type | Name | Description |
---|---|---|
Windows.UI.Xaml.DependencyPropertyChangedEventArgs | args |
OnTransitionChanged(DependencyPropertyChangedEventArgs)
Invoked when Transition property value is changed
Declaration
protected void OnTransitionChanged(DependencyPropertyChangedEventArgs args)
Parameters
Type | Name | Description |
---|---|---|
Windows.UI.Xaml.DependencyPropertyChangedEventArgs | args |
Events
PropertyChanged
Represents the property changed
Declaration
public event PropertyChangedEventHandler PropertyChanged
Event Type
Type |
---|
System.ComponentModel.PropertyChangedEventHandler |