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

Interface IRadSideDrawer

Defines the contract for a RadSideDrawer control that provides a sliding drawer functionality with customizable transition animations, gesture support, and content management. Extends Microsoft.Maui.IView to provide MAUI view capabilities.

Namespace: Telerik.Maui
Assembly: Telerik.Maui.Core.dll

Syntax

public interface IRadSideDrawer : IView, IElement, ITransform

Properties

AreGesturesEnabled

Gets or sets a value indicating whether gesture-based interactions are enabled for the side drawer. When true, users can open and close the drawer using swipe gestures.

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

true if gestures are enabled; otherwise, false.

DrawerContent

Gets or sets the content view displayed within the drawer panel. This can be any Microsoft.Maui.IView implementation containing the drawer's UI elements.

Declaration
IView DrawerContent { get; set; }
Property Value
Microsoft.Maui.IView

An Microsoft.Maui.IView representing the drawer content, or null if no content is set.

DrawerLength

Gets or sets the length (width or height) of the drawer in device-independent units. For horizontal drawers, this represents the width; for vertical drawers, this represents the height.

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

A double value representing the drawer length in device-independent units.

DrawerLocation

Gets or sets the location where the drawer appears relative to the main content. This determines from which edge of the screen the drawer will slide in.

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

A SideDrawerLocation value specifying the drawer's position.

DrawerTransitionDuration

Gets or sets the duration of the drawer transition animation in milliseconds. This controls how long the opening and closing animations take to complete.

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

A double value representing the transition duration in milliseconds.

DrawerTransitionFadeOpacity

Gets or sets the fade opacity value used during drawer transition animations. This value controls the transparency effect applied to the drawer content during opening and closing transitions.

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

A double value representing the fade opacity, typically between 0.0 (transparent) and 1.0 (opaque).

DrawerTransitionType

Gets or sets the type of transition animation used when opening and closing the drawer. Different transition types provide various visual effects for the drawer appearance.

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

A SideDrawerTransitionType value specifying the transition animation type.

IsOpen

Gets or sets a value indicating whether the drawer is currently open. Setting this property programmatically will open or close the drawer with the configured transition animation.

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

true if the drawer is open; otherwise, false.

MainContent

Gets or sets the main content view that is displayed when the drawer is closed. This represents the primary application content that gets partially or fully obscured when the drawer is open.

Declaration
IView MainContent { get; set; }
Property Value
Microsoft.Maui.IView

An Microsoft.Maui.IView representing the main content, or null if no content is set.

TapOutsideToClose

Gets or sets a value indicating whether tapping outside the drawer content will close the drawer. This provides an intuitive way for users to dismiss the drawer by tapping on the main content area.

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

true if tapping outside closes the drawer; otherwise, false.

TouchTargetThreshold

Gets or sets the touch target threshold for gesture recognition along the edge of the screen. This defines the sensitive area where touch gestures will be recognized to open the drawer.

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

A double value representing the touch target threshold in device-independent units.

Methods

OnDrawerClosed()

Called when the drawer has completed its closing transition and is fully hidden. This method is invoked after the drawer closing animation finishes.

Declaration
void OnDrawerClosed()

OnDrawerClosing()

Called when the drawer is about to start its closing transition. This method allows for validation or cleanup before the drawer closes.

Declaration
bool OnDrawerClosing()
Returns
System.Boolean

true if the drawer closing should proceed; false to cancel the closing operation.

OnDrawerOpened()

Called when the drawer has completed its opening transition and is fully visible. This method is invoked after the drawer opening animation finishes.

Declaration
void OnDrawerOpened()

OnDrawerOpening()

Called when the drawer is about to start its opening transition. This method allows for validation or preparation before the drawer opens.

Declaration
bool OnDrawerOpening()
Returns
System.Boolean

true if the drawer opening should proceed; false to cancel the opening operation.

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.