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
FontSizeProperty
Bindable property for FontSize.
public static readonly BindableProperty FontSizeProperty
Field Value
IconSizeProperty
Bindable property for IconSize.
public static readonly BindableProperty IconSizeProperty
Field Value
ItemPaddingProperty
Bindable property for ItemPadding.
public static readonly BindableProperty ItemPaddingProperty
Field Value
SelectionBackgroundProperty
Bindable property for SelectionBackground.
public static readonly BindableProperty SelectionBackgroundProperty
Field Value
SelectionCornerRadiusProperty
Bindable property for SelectionCornerRadius.
public static readonly BindableProperty SelectionCornerRadiusProperty
Field Value
SpacingProperty
Bindable property for Spacing.
public static readonly BindableProperty SpacingProperty
Field Value
TextColorProperty
Bindable property for TextColor.
public static readonly BindableProperty TextColorProperty
Field Value
Properties
FontFamily
Gets or sets the entry label font family.
public string? FontFamily { get; set; }
Property Value
FontSize
Gets or sets the entry label font size.
public double FontSize { get; set; }
Property Value
IconSize
Gets or sets the icon size (both dimensions). The icon renders untinted.
public double IconSize { get; set; }
Property Value
ItemPadding
Gets or sets the padding inside the entry row (inside the selection highlight).
public Thickness ItemPadding { get; set; }
Property Value
SelectionBackground
Gets or sets the highlight brush painted while the root is selected.
public Brush? SelectionBackground { get; set; }
Property Value
SelectionCornerRadius
Gets or sets the corner radius of the selection highlight.
public double SelectionCornerRadius { get; set; }
Property Value
Spacing
Gets or sets the gap between the icon and the label.
public double Spacing { get; set; }
Property Value
TextColor
Gets or sets the entry label color.
public Color TextColor { get; set; }