Class ScaffoldFlyoutOptions
- Namespace
- Nalu
- Assembly
- Nalu.Maui.Scaffold.dll
Styling of a scaffold drawer side (FlyoutStartOptions / FlyoutEndOptions). Scaffold-level only by design — drawer styling is chrome, not page content. Values apply when the drawer is next opened; the defaults reproduce the presenters' original metrics.
public sealed class ScaffoldFlyoutOptions : BindableObject, INotifyPropertyChanged
- Inheritance
-
ScaffoldFlyoutOptions
- Implements
- Inherited Members
Fields
MaximumWidthProperty
Bindable property for MaximumWidth.
public static readonly BindableProperty MaximumWidthProperty
Field Value
ScrimProperty
Bindable property for Scrim.
public static readonly BindableProperty ScrimProperty
Field Value
WidthProperty
Bindable property for Width.
public static readonly BindableProperty WidthProperty
Field Value
WidthRatioProperty
Bindable property for WidthRatio.
public static readonly BindableProperty WidthRatioProperty
Field Value
Properties
MaximumWidth
Gets or sets the cap applied to the ratio-based width, in device-independent units. Defaults to 360.
public double MaximumWidth { get; set; }
Property Value
Scrim
Gets or sets the scrim brush behind the open drawer (gradients supported). Null (the default) uses the built-in translucent black.
public Brush? Scrim { get; set; }
Property Value
Width
Gets or sets the explicit drawer width in device-independent units; it wins over the ratio-based sizing when zero or positive. Defaults to -1 (ratio-based).
public double Width { get; set; }
Property Value
WidthRatio
Gets or sets the drawer width as a fraction of the window width, used while Width is negative. Defaults to 0.85.
public double WidthRatio { get; set; }