Table of Contents

Class ScaffoldFlyoutMenuItemView

Namespace
Nalu
Assembly
Nalu.Maui.Scaffold.dll

The default drawer entry row: icon (when set) + title, with a subtle pill highlight while the root is selected. Binding context = the ScaffoldRoot; style it with <Style TargetType="nalu:ScaffoldFlyoutMenuItemView">.

public sealed class ScaffoldFlyoutMenuItemView : Grid, INotifyPropertyChanged, IEffectControlProvider, IToolTipElement, IContextFlyoutElement, IAnimatable, IViewController, IVisualElementController, IElementController, IGestureController, IGestureRecognizers, IPropertyMapperView, IHotReloadableView, IReplaceableView, IBindableLayout, IVisualTreeElement, IGridLayout, ILayout, IView, IElement, ITransform, IContainer, IList<IView>, ICollection<IView>, IEnumerable<IView>, IEnumerable, ISafeAreaView, IPadding, ICrossPlatformLayout
Inheritance
ScaffoldFlyoutMenuItemView
Implements
Inherited Members
Extension Methods

Constructors

ScaffoldFlyoutMenuItemView()

Initializes the default drawer entry row.

public ScaffoldFlyoutMenuItemView()

Fields

FontFamilyProperty

Bindable property for FontFamily.

public static readonly BindableProperty FontFamilyProperty

Field Value

BindableProperty

FontSizeProperty

Bindable property for FontSize.

public static readonly BindableProperty FontSizeProperty

Field Value

BindableProperty

IconSizeProperty

Bindable property for IconSize.

public static readonly BindableProperty IconSizeProperty

Field Value

BindableProperty

ItemPaddingProperty

Bindable property for ItemPadding.

public static readonly BindableProperty ItemPaddingProperty

Field Value

BindableProperty

SelectionBackgroundProperty

Bindable property for SelectionBackground.

public static readonly BindableProperty SelectionBackgroundProperty

Field Value

BindableProperty

SelectionCornerRadiusProperty

Bindable property for SelectionCornerRadius.

public static readonly BindableProperty SelectionCornerRadiusProperty

Field Value

BindableProperty

SpacingProperty

Bindable property for Spacing.

public static readonly BindableProperty SpacingProperty

Field Value

BindableProperty

TextColorProperty

Bindable property for TextColor.

public static readonly BindableProperty TextColorProperty

Field Value

BindableProperty

Properties

FontFamily

Gets or sets the entry label font family.

public string? FontFamily { get; set; }

Property Value

string

FontSize

Gets or sets the entry label font size.

public double FontSize { get; set; }

Property Value

double

IconSize

Gets or sets the icon size (both dimensions). The icon renders untinted.

public double IconSize { get; set; }

Property Value

double

ItemPadding

Gets or sets the padding inside the entry row (inside the selection highlight).

public Thickness ItemPadding { get; set; }

Property Value

Thickness

SelectionBackground

Gets or sets the highlight brush painted while the root is selected.

public Brush? SelectionBackground { get; set; }

Property Value

Brush

SelectionCornerRadius

Gets or sets the corner radius of the selection highlight.

public double SelectionCornerRadius { get; set; }

Property Value

double

Spacing

Gets or sets the gap between the icon and the label.

public double Spacing { get; set; }

Property Value

double

TextColor

Gets or sets the entry label color.

public Color TextColor { get; set; }

Property Value

Color