skip navigation
  • Product Bundles

    DevCraft

    All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with:

    • NEW: Design Kits for Figma
    • Online Training
    • Document Processing Library
    • Embedded Reporting for web and desktop

    Web

    Kendo UI UI for Angular UI for Vue UI for jQuery KendoReact UI for Blazor UI for ASP.NET Core UI for ASP.NET MVC UI for ASP.NET AJAX

    Mobile

    UI for .NET MAUI

    Document Management

    Telerik Document Processing

    Desktop

    UI for .NET MAUI UI for WinUI UI for WinForms UI for WPF

    Reporting

    Telerik Reporting Telerik Report Server

    Testing & Mocking

    Test Studio Telerik JustMock

    CMS

    Sitefinity

    AI Productivity Tools

    AI Coding Assistants

    UI/UX Tools

    ThemeBuilder Design System Kit Templates and Building Blocks

    Debugging

    Fiddler Fiddler Everywhere Fiddler Classic Fiddler Everywhere Reporter FiddlerCore

    Free Tools

    KendoReact Free VB.NET to C# Converter Testing Framework
    View all products
  • Overview
  • Demos
    • What's New
    • Roadmap
    • Release History
  • Support and Learning

    • Support and Learning Hub
    • Resources Hub
    • .NET MAUI Tutorials and Learning
    • First Steps
    • Submit a Ticket
    • FAQs

    Docs & Resources

    • Docs
    • Demos
    • Migrate to .NET MAUI
    • Forums
    • Videos
    • Blogs

    Productivity and Design Tools

    • Visual Studio Templates
    • Embedded Reporting
  • Pricing
  • Shopping cart
    • Account Overview
    • Your Licenses
    • Downloads
    • Support Center
    • Forum Profile
    • Payment Methods
    • Edit Profile
    • Log out
  • Login
  • Contact Us
  • Try now

Class RadSideDrawer

Represents a side drawer control that provides a sliding panel with main and drawer content areas.

Inheritance
System.Object
RadView
RadSideDrawer
Inherited Members
RadView.OnNativeControlLoaded()
RadView.OnNativeControlUnloaded()
RadView.IsDefaultValue(String)
RadView.OnHandlerChanged()
RadView.IsOperational
Namespace: Telerik.Maui.Controls
Assembly: Telerik.Maui.Controls.dll

Syntax

public class RadSideDrawer : RadView, IRadSideDrawer, IView, IElement, ITransform

Constructors

RadSideDrawer()

Initializes a new instance of the RadSideDrawer class.

Declaration
public RadSideDrawer()

Fields

AreGesturesEnabledProperty

Identifies the AreGesturesEnabled property.

Declaration
public static readonly BindableProperty AreGesturesEnabledProperty
Field Value
Microsoft.Maui.Controls.BindableProperty

DrawerContentProperty

Identifies the DrawerContent property.

Declaration
public static readonly BindableProperty DrawerContentProperty
Field Value
Microsoft.Maui.Controls.BindableProperty

DrawerLengthProperty

Identifies the DrawerLength property.

Declaration
public static readonly BindableProperty DrawerLengthProperty
Field Value
Microsoft.Maui.Controls.BindableProperty

DrawerLocationProperty

Identifies the DrawerLocation property.

Declaration
public static readonly BindableProperty DrawerLocationProperty
Field Value
Microsoft.Maui.Controls.BindableProperty

DrawerTransitionDurationProperty

Identifies the DrawerTransitionDuration property.

Declaration
public static readonly BindableProperty DrawerTransitionDurationProperty
Field Value
Microsoft.Maui.Controls.BindableProperty

DrawerTransitionFadeOpacityProperty

Identifies the DrawerTransitionFadeOpacity property.

Declaration
public static readonly BindableProperty DrawerTransitionFadeOpacityProperty
Field Value
Microsoft.Maui.Controls.BindableProperty

DrawerTransitionTypeProperty

Identifies the DrawerTransitionType property.

Declaration
public static readonly BindableProperty DrawerTransitionTypeProperty
Field Value
Microsoft.Maui.Controls.BindableProperty

IsOpenProperty

Identifies the IsOpen property.

Declaration
public static readonly BindableProperty IsOpenProperty
Field Value
Microsoft.Maui.Controls.BindableProperty

MainContentProperty

Identifies the MainContent property.

Declaration
public static readonly BindableProperty MainContentProperty
Field Value
Microsoft.Maui.Controls.BindableProperty

TapOutsideToCloseProperty

Identifies the TapOutsideToClose property.

Declaration
public static readonly BindableProperty TapOutsideToCloseProperty
Field Value
Microsoft.Maui.Controls.BindableProperty

TouchTargetThresholdProperty

Identifies the TouchTargetThreshold property.

Declaration
public static readonly BindableProperty TouchTargetThresholdProperty
Field Value
Microsoft.Maui.Controls.BindableProperty

Properties

AreGesturesEnabled

Gets or sets a value indicating whether gestures are enabled for the drawer.

Declaration
public bool AreGesturesEnabled { get; set; }
Property Value
System.Boolean

true if gestures are enabled; otherwise, false.

Implements
IRadSideDrawer.AreGesturesEnabled

Commands

Gets the collection of commands associated with the side drawer.

Declaration
public ObservableCollection<ControlCommandBase<RadSideDrawer>> Commands { get; }
Property Value
System.Collections.ObjectModel.ObservableCollection<ControlCommandBase<RadSideDrawer>>

An System.Collections.ObjectModel.ObservableCollection<> of ControlCommandBase<T> commands.

DrawerContent

Gets or sets the content displayed in the drawer panel.

Declaration
public View DrawerContent { get; set; }
Property Value
Microsoft.Maui.Controls.View

A Microsoft.Maui.Controls.View containing the drawer content.

DrawerLength

Gets or sets the length of the drawer.

Declaration
public double DrawerLength { get; set; }
Property Value
System.Double

A System.Double representing the drawer length.

Implements
IRadSideDrawer.DrawerLength

DrawerLocation

Gets or sets the location of the drawer.

Declaration
public SideDrawerLocation DrawerLocation { get; set; }
Property Value
SideDrawerLocation

A SideDrawerLocation value that specifies where the drawer appears.

DrawerTransitionDuration

Gets or sets the duration of drawer transitions.

Declaration
public double DrawerTransitionDuration { get; set; }
Property Value
System.Double

A System.Double representing the transition duration in seconds.

Implements
IRadSideDrawer.DrawerTransitionDuration

DrawerTransitionFadeOpacity

Gets or sets the fade opacity for drawer transitions.

Declaration
public double DrawerTransitionFadeOpacity { get; set; }
Property Value
System.Double

A System.Double representing the fade opacity value.

Implements
IRadSideDrawer.DrawerTransitionFadeOpacity

DrawerTransitionType

Gets or sets the type of transition used when opening/closing the drawer.

Declaration
public SideDrawerTransitionType DrawerTransitionType { get; set; }
Property Value
SideDrawerTransitionType

A SideDrawerTransitionType value that defines the transition animation.

IsOpen

Gets or sets a value indicating whether the drawer is open.

Declaration
public bool IsOpen { get; set; }
Property Value
System.Boolean

true if the drawer is open; otherwise, false.

Implements
IRadSideDrawer.IsOpen

MainContent

Gets or sets the main content displayed when the drawer is closed.

Declaration
public View MainContent { get; set; }
Property Value
Microsoft.Maui.Controls.View

A Microsoft.Maui.Controls.View containing the main content.

TapOutsideToClose

Gets or sets the TapOutsideToClose property. If set to true, the side drawer will close, when the user clicks/taps outside it. If set to false, the side drawer will not close and the main content area will remain active, so the user can interact with it. The default value is true.

Declaration
public bool TapOutsideToClose { get; set; }
Property Value
System.Boolean

Implements
IRadSideDrawer.TapOutsideToClose

TouchTargetThreshold

Gets or sets the touch target threshold for gesture recognition.

Declaration
public double TouchTargetThreshold { get; set; }
Property Value
System.Double

A System.Double representing the touch threshold value.

Implements
IRadSideDrawer.TouchTargetThreshold

Methods

OnBindingContextChanged()

Called when the binding context changes.

Declaration
protected override void OnBindingContextChanged()

OnPropertyChanged(String)

Called when a property value changes.

Declaration
protected override void OnPropertyChanged(string propertyName = null)
Parameters
System.String propertyName

The name of the property that changed.

Overrides
RadView.OnPropertyChanged(String)

Events

DrawerClosed

Occurs when the drawer is closed. The user can provide custom logic which will be executed after the drawer is collapsed.

Declaration
public event EventHandler DrawerClosed
Event Type
System.EventHandler

DrawerClosing

Occurs when the drawer starts closing. The user can provide custom logic which will be executed before the drawer is collapsed.

Declaration
public event EventHandler DrawerClosing
Event Type
System.EventHandler

DrawerOpened

Occurs when the drawer is opened. The user can provide custom logic which will be executed after the drawer is shown.

Declaration
public event EventHandler DrawerOpened
Event Type
System.EventHandler

DrawerOpening

Occurs when the drawer starts opening. The user can provide custom logic which will be executed before the drawer is shown.

Declaration
public event EventHandler DrawerOpening
Event Type
System.EventHandler

Explicit Interface Implementations

IRadSideDrawer.DrawerContent

Declaration
IView IRadSideDrawer.DrawerContent { get; set; }
Returns
Microsoft.Maui.IView

Implements
IRadSideDrawer.DrawerContent

IRadSideDrawer.DrawerLocation

Declaration
SideDrawerLocation IRadSideDrawer.DrawerLocation { get; set; }
Returns
SideDrawerLocation

Implements
IRadSideDrawer.DrawerLocation

IRadSideDrawer.DrawerTransitionType

Declaration
SideDrawerTransitionType IRadSideDrawer.DrawerTransitionType { get; set; }
Returns
SideDrawerTransitionType

Implements
IRadSideDrawer.DrawerTransitionType

IRadSideDrawer.MainContent

Declaration
IView IRadSideDrawer.MainContent { get; set; }
Returns
Microsoft.Maui.IView

Implements
IRadSideDrawer.MainContent

IRadSideDrawer.OnDrawerClosed()

Declaration
void IRadSideDrawer.OnDrawerClosed()
Implements
IRadSideDrawer.OnDrawerClosed()

IRadSideDrawer.OnDrawerClosing()

Declaration
bool IRadSideDrawer.OnDrawerClosing()
Returns
System.Boolean

Implements
IRadSideDrawer.OnDrawerClosing()

IRadSideDrawer.OnDrawerOpened()

Declaration
void IRadSideDrawer.OnDrawerOpened()
Implements
IRadSideDrawer.OnDrawerOpened()

IRadSideDrawer.OnDrawerOpening()

Declaration
bool IRadSideDrawer.OnDrawerOpening()
Returns
System.Boolean

Implements
IRadSideDrawer.OnDrawerOpening()

Extension Methods

AndroidTypeConversionExtensions.ToJavaObject(Object)
Sample Applications
  • Controls Samples App
  • Crypto Tracker App
Support Resources
  • .NET MAUI SDKBrowser App
Community
  • Forums
  • Blogs
  • Feedback Portal
  • YouTube Channel

Copyright © 2018 Progress Software Corporation and/or its subsidiaries or affiliates.
All Rights Reserved.

Progress, Telerik, and certain product names used herein are trademarks or registered trademarks of Progress Software Corporation and/or one of its subsidiaries or affiliates in the U.S. and/or other countries. See Trademarks for appropriate markings.