You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -53,157 +55,6 @@ Implement the primary drawer using the drawer settings class. The following code
53
55
54
56
{% endtabs %}
55
57
56
-
### Drawer header view
57
-
58
-
The header content can be provided to the primary drawer using the [DrawerHeaderView](https://help.syncfusion.com/cr/maui/Syncfusion.Maui.NavigationDrawer.DrawerSettings.html#Syncfusion_Maui_NavigationDrawer_DrawerSettings_DrawerHeaderView) property inside the [DrawerSettings](https://help.syncfusion.com/cr/maui/Syncfusion.Maui.NavigationDrawer.SfNavigationDrawer.html#Syncfusion_Maui_NavigationDrawer_SfNavigationDrawer_DrawerSettings) class. The following code demonstrates how to set the header content to the primary drawer.
The drawer content can be provided to the primary drawer using the [DrawerContentView](https://help.syncfusion.com/cr/maui/Syncfusion.Maui.NavigationDrawer.DrawerSettings.html#Syncfusion_Maui_NavigationDrawer_DrawerSettings_DrawerContentView) property inside the [DrawerSettings](https://help.syncfusion.com/cr/maui/Syncfusion.Maui.NavigationDrawer.SfNavigationDrawer.html#Syncfusion_Maui_NavigationDrawer_SfNavigationDrawer_DrawerSettings) class. The following code demonstrates how to set the drawer content to the primary drawer.
The footer content can be provided to the primary drawer using the [DrawerFooterView](https://help.syncfusion.com/cr/maui/Syncfusion.Maui.NavigationDrawer.DrawerSettings.html#Syncfusion_Maui_NavigationDrawer_DrawerSettings_DrawerFooterView) property inside the [DrawerSettings](https://help.syncfusion.com/cr/maui/Syncfusion.Maui.NavigationDrawer.SfNavigationDrawer.html#Syncfusion_Maui_NavigationDrawer_SfNavigationDrawer_DrawerSettings) class. The following code demonstrates how to set the footer content to the primary drawer.
Implement the secondary drawer using the secondary drawer settings class. Its properties and functionalities are same as the primary drawer. The secondary drawer can be set to different positions similar to the primary drawer. The following code demonstrates how to set the secondary drawer settings's properties in XAML and C#.
@@ -249,126 +100,30 @@ Implement the secondary drawer using the secondary drawer settings class. Its pr
249
100
250
101
N> When the primary drawer and the secondary drawer are set to the same position, the primary drawer will open on swiping.
251
102
252
-
### Secondary drawer header view
253
-
254
-
The header content can be provided to the secondary drawer using the [DrawerHeaderView](https://help.syncfusion.com/cr/maui/Syncfusion.Maui.NavigationDrawer.DrawerSettings.html#Syncfusion_Maui_NavigationDrawer_DrawerSettings_DrawerHeaderView) property inside the [DrawerSettings](https://help.syncfusion.com/cr/maui/Syncfusion.Maui.NavigationDrawer.SfNavigationDrawer.html#Syncfusion_Maui_NavigationDrawer_SfNavigationDrawer_DrawerSettings) class of `SecondaryDrawerSettings`. The following code demonstrates how to set the header content to the secondary drawer.
SfNavigationDrawer navigationDrawer = new SfNavigationDrawer();
110
+
navigationDrawer.ToggleSecondaryDrawer();
297
111
298
112
{% endhighlight %}
299
113
300
-
{% endtabs %}
114
+
### Opening the drawer programmatically
301
115
302
-
### Secondary drawer content view
116
+
The `IsOpen` property in the [DrawerSettings](https://help.syncfusion.com/cr/maui/Syncfusion.Maui.NavigationDrawer.SfNavigationDrawer.html#Syncfusion_Maui_NavigationDrawer_SfNavigationDrawer_DrawerSettings) of `SecondaryDrawerSettings` is used to open or close the drawer programmatically.
303
117
304
-
The drawer content can be provided to the secondary drawer using the [DrawerContentView](https://help.syncfusion.com/cr/maui/Syncfusion.Maui.NavigationDrawer.DrawerSettings.html#Syncfusion_Maui_NavigationDrawer_DrawerSettings_DrawerContentView) property inside the [DrawerSettings](https://help.syncfusion.com/cr/maui/Syncfusion.Maui.NavigationDrawer.SfNavigationDrawer.html#Syncfusion_Maui_NavigationDrawer_SfNavigationDrawer_DrawerSettings) class of `SecondaryDrawerSettings`. The following code demonstrates how to set the drawer content to the secondary drawer.
118
+
The following code sample demonstrates how to set `IsOpen` property in XAML and C#.
The footer content can be provided to the secondary drawer using the [DrawerFooterView](https://help.syncfusion.com/cr/maui/Syncfusion.Maui.NavigationDrawer.DrawerSettings.html#Syncfusion_Maui_NavigationDrawer_DrawerSettings_DrawerFooterView) property inside the [DrawerSettings](https://help.syncfusion.com/cr/maui/Syncfusion.Maui.NavigationDrawer.SfNavigationDrawer.html#Syncfusion_Maui_NavigationDrawer_SfNavigationDrawer_DrawerSettings) class of `SecondaryDrawerSettings`. The following code demonstrates how to set footer content to the secondary drawer.
Users can toggle the secondary drawer using the `ToggleSecondaryDrawer` method.
401
-
402
-
{% highlight c# %}
403
-
404
-
navigationDrawer.ToggleSecondaryDrawer();
405
-
406
-
{% endhighlight %}
407
-
408
-
### Opening the drawer programmatically
409
-
410
-
The `IsOpen` property in the [DrawerSettings](https://help.syncfusion.com/cr/maui/Syncfusion.Maui.NavigationDrawer.SfNavigationDrawer.html#Syncfusion_Maui_NavigationDrawer_SfNavigationDrawer_DrawerSettings) of `SecondaryDrawerSettings` is used to open or close the drawer programmatically.
0 commit comments