Table of Contents

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

BindableProperty

CloseOnBackProperty

Attached counterpart of CloseOnBack.

public static readonly BindableProperty CloseOnBackProperty

Field Value

BindableProperty

CloseOnScrimTapProperty

Attached counterpart of CloseOnScrimTap.

public static readonly BindableProperty CloseOnScrimTapProperty

Field Value

BindableProperty

DetentsProperty

Attached counterpart of Detents.

public static readonly BindableProperty DetentsProperty

Field Value

BindableProperty

InitialDetentProperty

Attached counterpart of InitialDetent.

public static readonly BindableProperty InitialDetentProperty

Field Value

BindableProperty

MaxWidthProperty

Attached counterpart of MaxWidth.

public static readonly BindableProperty MaxWidthProperty

Field Value

BindableProperty

ScrimProperty

Attached counterpart of Scrim.

public static readonly BindableProperty ScrimProperty

Field Value

BindableProperty

ShowDragHandleProperty

Attached counterpart of ShowDragHandle.

public static readonly BindableProperty ShowDragHandleProperty

Field Value

BindableProperty

Methods

GetAllowPullDownToClose(BindableObject)

Gets the attached pull-down policy.

public static bool? GetAllowPullDownToClose(BindableObject view)

Parameters

view BindableObject

Returns

bool?

GetCloseOnBack(BindableObject)

Gets the attached back dismissal policy.

public static bool? GetCloseOnBack(BindableObject view)

Parameters

view BindableObject

Returns

bool?

GetCloseOnScrimTap(BindableObject)

Gets the attached scrim-tap dismissal policy.

public static bool? GetCloseOnScrimTap(BindableObject view)

Parameters

view BindableObject

Returns

bool?

GetDetents(BindableObject)

Gets the attached detents.

public static ScaffoldSheetDetent[]? GetDetents(BindableObject view)

Parameters

view BindableObject

Returns

ScaffoldSheetDetent[]

GetInitialDetent(BindableObject)

Gets the attached initial detent index.

public static int? GetInitialDetent(BindableObject view)

Parameters

view BindableObject

Returns

int?

GetMaxWidth(BindableObject)

Gets the attached maximum sheet width.

public static double? GetMaxWidth(BindableObject view)

Parameters

view BindableObject

Returns

double?

GetScrim(BindableObject)

Gets the attached scrim brush.

public static Brush? GetScrim(BindableObject view)

Parameters

view BindableObject

Returns

Brush

GetShowDragHandle(BindableObject)

Gets the attached drag-handle visibility.

public static bool? GetShowDragHandle(BindableObject view)

Parameters

view BindableObject

Returns

bool?

SetAllowPullDownToClose(BindableObject, bool?)

Sets the attached pull-down policy.

public static void SetAllowPullDownToClose(BindableObject view, bool? value)

Parameters

view BindableObject
value bool?

SetCloseOnBack(BindableObject, bool?)

Sets the attached back dismissal policy.

public static void SetCloseOnBack(BindableObject view, bool? value)

Parameters

view BindableObject
value bool?

SetCloseOnScrimTap(BindableObject, bool?)

Sets the attached scrim-tap dismissal policy.

public static void SetCloseOnScrimTap(BindableObject view, bool? value)

Parameters

view BindableObject
value bool?

SetDetents(BindableObject, ScaffoldSheetDetent[]?)

Sets the attached detents.

public static void SetDetents(BindableObject view, ScaffoldSheetDetent[]? value)

Parameters

view BindableObject
value ScaffoldSheetDetent[]

SetInitialDetent(BindableObject, int?)

Sets the attached initial detent index.

public static void SetInitialDetent(BindableObject view, int? value)

Parameters

view BindableObject
value int?

SetMaxWidth(BindableObject, double?)

Sets the attached maximum sheet width.

public static void SetMaxWidth(BindableObject view, double? value)

Parameters

view BindableObject
value double?

SetScrim(BindableObject, Brush?)

Sets the attached scrim brush.

public static void SetScrim(BindableObject view, Brush? value)

Parameters

view BindableObject
value Brush

SetShowDragHandle(BindableObject, bool?)

Sets the attached drag-handle visibility.

public static void SetShowDragHandle(BindableObject view, bool? value)

Parameters

view BindableObject
value bool?