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 BottomSheetState

Represents the state of a bottom sheet, including its name and height.

Inheritance
System.Object
BottomSheetState
Namespace: Telerik.Maui.Controls.BottomSheet
Assembly: Telerik.Maui.Controls.dll

Syntax

public class BottomSheetState : Object

Constructors

BottomSheetState()

Initializes a new instance of the BottomSheetState class.

Declaration
public BottomSheetState()

BottomSheetState(String, Double, Boolean)

Initializes a new instance of the BottomSheetState class with the specified name and height as a string.

Declaration
public BottomSheetState(string name, double size, bool isPercentage = false)
Parameters
System.String name

The name of the bottom sheet state.

System.Double size

The height of the bottom sheet as a string.

System.Boolean isPercentage

Denotes if the size parameter represents a percentage.

BottomSheetState(String, BottomSheetLength)

Initializes a new instance of the BottomSheetState class with the specified name and height.

Declaration
public BottomSheetState(string name, BottomSheetLength height)
Parameters
System.String name

The name of the bottom sheet state.

BottomSheetLength height

The height of the bottom sheet.

Fields

FullState

Gets a predefined BottomSheetState representing the full state of the bottom sheet.

Declaration
public static readonly BottomSheetState FullState
Field Value
BottomSheetState

FullStateName

The name of the predefined Full state.

Declaration
public static readonly string FullStateName
Field Value
System.String

HiddenState

Gets a predefined BottomSheetState representing the hidden state of the bottom sheet.

Declaration
public static readonly BottomSheetState HiddenState
Field Value
BottomSheetState

HiddenStateName

The name of the predefined Hidden state.

Declaration
public static readonly string HiddenStateName
Field Value
System.String

MinimalState

Gets a predefined BottomSheetState representing the minimal state of the bottom sheet.

Declaration
public static readonly BottomSheetState MinimalState
Field Value
BottomSheetState

MinimalStateName

The name of the predefined Minimal state.

Declaration
public static readonly string MinimalStateName
Field Value
System.String

PartialState

Gets a predefined BottomSheetState representing the partial state of the bottom sheet.

Declaration
public static readonly BottomSheetState PartialState
Field Value
BottomSheetState

PartialStateName

The name of the predefined Partial state.

Declaration
public static readonly string PartialStateName
Field Value
System.String

Properties

Height

Gets or sets the height of the bottom sheet. When used in XAML, it can be set with Height=”90%” for percentage of the total control width or with Height=”500” for an absolute value.

Declaration
public BottomSheetLength Height { get; set; }
Property Value
BottomSheetLength

Name

Gets or sets the name of the bottom sheet state.

Declaration
public string Name { get; set; }
Property Value
System.String

Methods

ToString()

Declaration
public override string ToString()
Returns
System.String

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.