Class SfNavigationDrawer
Implements
Namespace: Syncfusion.SfNavigationDrawer.iOS
Assembly: Syncfusion.SfNavigationDrawer.iOS.dll
Syntax
public class SfNavigationDrawer : UIView, IUIGestureRecognizerDelegate, INativeObject, IDisposable
Constructors
SfNavigationDrawer()
Declaration
public SfNavigationDrawer()
SfNavigationDrawer(IntPtr)
Initializes a new instance of the SfNavigationDrawer class.
Declaration
public SfNavigationDrawer(IntPtr handle)
Parameters
Type | Name | Description |
---|---|---|
System.IntPtr | handle | Handle type |
Properties
AnimationDuration
Gets or sets the value of Animation Duration
Declaration
public nfloat AnimationDuration { get; set; }
Property Value
Type |
---|
System.nfloat |
ContentView
Gets or sets the value of Content view property.
Declaration
public UIView ContentView { get; set; }
Property Value
Type |
---|
UIKit.UIView |
DefaultDrawerSettings
Gets or sets a value indicating whether a DefaultDrawerSettings for Drawer.
Declaration
public DrawerSettings DefaultDrawerSettings { get; set; }
Property Value
Type |
---|
DrawerSettings |
DrawerContentView
Gets or sets the value of Drawer content view
Declaration
public UIView DrawerContentView { get; set; }
Property Value
Type |
---|
UIKit.UIView |
DrawerFooterHeight
Gets or sets the value of Drawer Footer height property.
Declaration
public nfloat DrawerFooterHeight { get; set; }
Property Value
Type |
---|
System.nfloat |
DrawerFooterView
Gets or sets the Drawer Footer view property.
Declaration
public UIView DrawerFooterView { get; set; }
Property Value
Type |
---|
UIKit.UIView |
DrawerHeaderHeight
Gets or sets the value of Drawer Header Height property.
Declaration
public nfloat DrawerHeaderHeight { get; set; }
Property Value
Type |
---|
System.nfloat |
DrawerHeaderView
Gets or sets the value of Drawer Header view property.
Declaration
public UIView DrawerHeaderView { get; set; }
Property Value
Type |
---|
UIKit.UIView |
DrawerHeight
Gets or sets the Drawer Height property.
Declaration
public nfloat DrawerHeight { get; set; }
Property Value
Type |
---|
System.nfloat |
DrawerWidth
Gets or sets the value of Drawer Width property.
Declaration
public nfloat DrawerWidth { get; set; }
Property Value
Type |
---|
System.nfloat |
Frame
Gets or sets the value of Frame property.
Declaration
public override CGRect Frame { get; set; }
Property Value
Type |
---|
CoreGraphics.CGRect |
IsEnableSwipeGesture
Gets or sets a value indicating whether of IS enable Swipe Gesture property.
Declaration
public bool IsEnableSwipeGesture { get; set; }
Property Value
Type |
---|
System.Boolean |
IsOpen
Gets or sets a value indicating whether the value of Is open property.
Declaration
public bool IsOpen { get; set; }
Property Value
Type |
---|
System.Boolean |
Opacity
Gets or sets a value of opacity property.
Declaration
public double Opacity { get; set; }
Property Value
Type |
---|
System.Double |
Position
Gets or sets the value of position property.
Declaration
public SFNavigationDrawerPosition Position { get; set; }
Property Value
SecondaryDrawerSettings
Gets or sets a value indicating whether a DefaultDrawerSettings for Drawer.
Declaration
public DrawerSettings SecondaryDrawerSettings { get; set; }
Property Value
Type |
---|
DrawerSettings |
TouchThreshold
Gets or sets the value of Touch threshold property.
Declaration
public nfloat TouchThreshold { get; set; }
Property Value
Type |
---|
System.nfloat |
Transition
Gets or sets the value of Transition property.
Declaration
public SFNavigationDrawerTransition Transition { get; set; }
Property Value
Methods
add_Closing(SfNavigationDrawer.ClosingEventHandler)
Declaration
public void add_Closing(SfNavigationDrawer.ClosingEventHandler value)
Parameters
Type | Name | Description |
---|---|---|
SfNavigationDrawer.ClosingEventHandler | value |
add_DidClose(SfNavigationDrawer.DidCloseEventHandler)
Declaration
public void add_DidClose(SfNavigationDrawer.DidCloseEventHandler value)
Parameters
Type | Name | Description |
---|---|---|
SfNavigationDrawer.DidCloseEventHandler | value |
add_DidOpen(SfNavigationDrawer.DidOpenEventHandler)
Declaration
public void add_DidOpen(SfNavigationDrawer.DidOpenEventHandler value)
Parameters
Type | Name | Description |
---|---|---|
SfNavigationDrawer.DidOpenEventHandler | value |
add_Opening(SfNavigationDrawer.OpeningEventHandler)
Declaration
public void add_Opening(SfNavigationDrawer.OpeningEventHandler value)
Parameters
Type | Name | Description |
---|---|---|
SfNavigationDrawer.OpeningEventHandler | value |
AwakeFromNib()
The method overrides the AwakeFromNib
Declaration
public override void AwakeFromNib()
Dispose(Boolean)
Represents the dispose method
Declaration
protected override void Dispose(bool disposing)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | disposing | Disposing value |
LayoutSubviews()
Invoked when the layout gets changed.
Declaration
public override void LayoutSubviews()
remove_Closing(SfNavigationDrawer.ClosingEventHandler)
Declaration
public void remove_Closing(SfNavigationDrawer.ClosingEventHandler value)
Parameters
Type | Name | Description |
---|---|---|
SfNavigationDrawer.ClosingEventHandler | value |
remove_DidClose(SfNavigationDrawer.DidCloseEventHandler)
Declaration
public void remove_DidClose(SfNavigationDrawer.DidCloseEventHandler value)
Parameters
Type | Name | Description |
---|---|---|
SfNavigationDrawer.DidCloseEventHandler | value |
remove_DidOpen(SfNavigationDrawer.DidOpenEventHandler)
Declaration
public void remove_DidOpen(SfNavigationDrawer.DidOpenEventHandler value)
Parameters
Type | Name | Description |
---|---|---|
SfNavigationDrawer.DidOpenEventHandler | value |
remove_Opening(SfNavigationDrawer.OpeningEventHandler)
Declaration
public void remove_Opening(SfNavigationDrawer.OpeningEventHandler value)
Parameters
Type | Name | Description |
---|---|---|
SfNavigationDrawer.OpeningEventHandler | value |
ToggleDrawer()
Toggle drawer method.
Declaration
public void ToggleDrawer()
ToggleSecondaryDrawer()
Secondary Toggle drawer method.
Declaration
public void ToggleSecondaryDrawer()
Events
Closing
Occurs when drawer opened.
Declaration
public event SfNavigationDrawer.ClosingEventHandler Closing
Event Type
DidClose
Occurs when drawer closed.
Declaration
public event SfNavigationDrawer.DidCloseEventHandler DidClose
Event Type
DidOpen
Occurs when drawer opened.
Declaration
public event SfNavigationDrawer.DidOpenEventHandler DidOpen
Event Type
Opening
Occurs when opening.
Declaration
public event SfNavigationDrawer.OpeningEventHandler Opening