ClassBottomSheetState
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
BottomSheetState()
Initializes a new instance of the BottomSheetState class.
Declaration
public BottomSheetState()
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
name
The name of the bottom sheet state.
height
The height of the bottom sheet.
BottomSheetState(string, double, bool)
Initializes a new instance of the BottomSheetState class with the specified name and height as a string.
Fields
FullState
Gets a predefined BottomSheetState representing the full state of the bottom sheet.
Declaration
public static readonly BottomSheetState FullState
Field Value
FullStateName
The name of the predefined Full state.
HiddenState
Gets a predefined BottomSheetState representing the hidden state of the bottom sheet.
Declaration
public static readonly BottomSheetState HiddenState
Field Value
HiddenStateName
The name of the predefined Hidden state.
MinimalState
Gets a predefined BottomSheetState representing the minimal state of the bottom sheet.
Declaration
public static readonly BottomSheetState MinimalState
Field Value
MinimalStateName
The name of the predefined Minimal state.
PartialState
Gets a predefined BottomSheetState representing the partial state of the bottom sheet.
Declaration
public static readonly BottomSheetState PartialState
Field Value
PartialStateName
The name of the predefined Partial state.
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