Class ScaffoldBottomSheet
- Namespace
- Nalu
- Assembly
- Nalu.Maui.Scaffold.dll
Attached presentation properties declared on a sheet CONTENT view — the view states how it prefers to be presented, right where it is defined (XAML-friendly, styleable). Call-site ScaffoldBottomSheetOptions override per property: a set option wins over the attached value, which wins over the built-in default.
public static class ScaffoldBottomSheet
- Inheritance
-
ScaffoldBottomSheet
- Inherited Members
Fields
AllowPullDownToCloseProperty
Attached counterpart of AllowPullDownToClose.
public static readonly BindableProperty AllowPullDownToCloseProperty
Field Value
CloseOnBackProperty
Attached counterpart of CloseOnBack.
public static readonly BindableProperty CloseOnBackProperty
Field Value
CloseOnScrimTapProperty
Attached counterpart of CloseOnScrimTap.
public static readonly BindableProperty CloseOnScrimTapProperty
Field Value
DetentsProperty
Attached counterpart of Detents.
public static readonly BindableProperty DetentsProperty
Field Value
InitialDetentProperty
Attached counterpart of InitialDetent.
public static readonly BindableProperty InitialDetentProperty
Field Value
MaxWidthProperty
Attached counterpart of MaxWidth.
public static readonly BindableProperty MaxWidthProperty
Field Value
ScrimProperty
Attached counterpart of Scrim.
public static readonly BindableProperty ScrimProperty
Field Value
ShowDragHandleProperty
Attached counterpart of ShowDragHandle.
public static readonly BindableProperty ShowDragHandleProperty
Field Value
Methods
GetAllowPullDownToClose(BindableObject)
Gets the attached pull-down policy.
public static bool? GetAllowPullDownToClose(BindableObject view)
Parameters
viewBindableObject
Returns
- bool?
GetCloseOnBack(BindableObject)
Gets the attached back dismissal policy.
public static bool? GetCloseOnBack(BindableObject view)
Parameters
viewBindableObject
Returns
- bool?
GetCloseOnScrimTap(BindableObject)
Gets the attached scrim-tap dismissal policy.
public static bool? GetCloseOnScrimTap(BindableObject view)
Parameters
viewBindableObject
Returns
- bool?
GetDetents(BindableObject)
Gets the attached detents.
public static ScaffoldSheetDetent[]? GetDetents(BindableObject view)
Parameters
viewBindableObject
Returns
GetInitialDetent(BindableObject)
Gets the attached initial detent index.
public static int? GetInitialDetent(BindableObject view)
Parameters
viewBindableObject
Returns
- int?
GetMaxWidth(BindableObject)
Gets the attached maximum sheet width.
public static double? GetMaxWidth(BindableObject view)
Parameters
viewBindableObject
Returns
GetScrim(BindableObject)
Gets the attached scrim brush.
public static Brush? GetScrim(BindableObject view)
Parameters
viewBindableObject
Returns
GetShowDragHandle(BindableObject)
Gets the attached drag-handle visibility.
public static bool? GetShowDragHandle(BindableObject view)
Parameters
viewBindableObject
Returns
- bool?
SetAllowPullDownToClose(BindableObject, bool?)
Sets the attached pull-down policy.
public static void SetAllowPullDownToClose(BindableObject view, bool? value)
Parameters
viewBindableObjectvaluebool?
SetCloseOnBack(BindableObject, bool?)
Sets the attached back dismissal policy.
public static void SetCloseOnBack(BindableObject view, bool? value)
Parameters
viewBindableObjectvaluebool?
SetCloseOnScrimTap(BindableObject, bool?)
Sets the attached scrim-tap dismissal policy.
public static void SetCloseOnScrimTap(BindableObject view, bool? value)
Parameters
viewBindableObjectvaluebool?
SetDetents(BindableObject, ScaffoldSheetDetent[]?)
Sets the attached detents.
public static void SetDetents(BindableObject view, ScaffoldSheetDetent[]? value)
Parameters
viewBindableObjectvalueScaffoldSheetDetent[]
SetInitialDetent(BindableObject, int?)
Sets the attached initial detent index.
public static void SetInitialDetent(BindableObject view, int? value)
Parameters
viewBindableObjectvalueint?
SetMaxWidth(BindableObject, double?)
Sets the attached maximum sheet width.
public static void SetMaxWidth(BindableObject view, double? value)
Parameters
viewBindableObjectvaluedouble?
SetScrim(BindableObject, Brush?)
Sets the attached scrim brush.
public static void SetScrim(BindableObject view, Brush? value)
Parameters
viewBindableObjectvalueBrush
SetShowDragHandle(BindableObject, bool?)
Sets the attached drag-handle visibility.
public static void SetShowDragHandle(BindableObject view, bool? value)
Parameters
viewBindableObjectvaluebool?