BottomSheetState
Represents the state of a bottom sheet, including its name and height.
Definition
Namespace:Telerik.Maui.Controls.BottomSheet
Assembly:Telerik.Maui.Controls.dll
Syntax:
public class BottomSheetState
Inheritance: objectBottomSheetState
Constructors
Initializes a new instance of the BottomSheetState class.
public BottomSheetState()
Initializes a new instance of the BottomSheetState class with the specified name and height.
public BottomSheetState(string name, BottomSheetLength height)
The name of the bottom sheet state.
heightBottomSheetLengthThe height of the bottom sheet.
Initializes a new instance of the BottomSheetState class with the specified name and height as a string.
Fields
Gets a predefined BottomSheetState representing the full state of the bottom sheet.
public static readonly BottomSheetState FullState
The name of the predefined Full state.
public static readonly string FullStateName
Gets a predefined BottomSheetState representing the hidden state of the bottom sheet.
public static readonly BottomSheetState HiddenState
The name of the predefined Hidden state.
public static readonly string HiddenStateName
Gets a predefined BottomSheetState representing the minimal state of the bottom sheet.
public static readonly BottomSheetState MinimalState
The name of the predefined Minimal state.
public static readonly string MinimalStateName
Gets a predefined BottomSheetState representing the partial state of the bottom sheet.
public static readonly BottomSheetState PartialState
The name of the predefined Partial state.
public static readonly string PartialStateName
Properties
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.
public BottomSheetLength Height { get; set; }