Class NaluTabBar
- Namespace
- Nalu
- Assembly
- Nalu.Maui.Navigation.dll
A default tab bar implementation for NaluShell to be used with TabBarViewProperty on a TabBar node.
[XamlFilePath("NaluTabBar.xaml")]
public class NaluTabBar : 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
-
NaluTabBar
- Implements
- Inherited Members
Constructors
NaluTabBar()
Initializes a new instance of the NaluTabBar class.
public NaluTabBar()
Fields
ActiveTabBackgroundProperty
Bindable property for ActiveTabBackground.
public static readonly BindableProperty ActiveTabBackgroundProperty
Field Value
ActiveTabFontFamilyProperty
Bindable property for ActiveTabFontFamily.
public static readonly BindableProperty ActiveTabFontFamilyProperty
Field Value
ActiveTabForegroundColorProperty
Bindable property for ActiveTabForegroundColor.
public static readonly BindableProperty ActiveTabForegroundColorProperty
Field Value
ActiveTabPaddingProperty
Bindable property for ActiveTabPadding.
public static readonly BindableProperty ActiveTabPaddingProperty
Field Value
ActiveTabStrokeProperty
Bindable property for ActiveTabStroke.
public static readonly BindableProperty ActiveTabStrokeProperty
Field Value
ActiveTabStrokeShapeProperty
Bindable property for ActiveTabStrokeShape.
public static readonly BindableProperty ActiveTabStrokeShapeProperty
Field Value
ActiveTabStrokeThicknessProperty
Bindable property for ActiveTabStrokeThickness.
public static readonly BindableProperty ActiveTabStrokeThicknessProperty
Field Value
BarBackgroundProperty
Bindable property for BarBackground.
public static readonly BindableProperty BarBackgroundProperty
Field Value
BarMarginProperty
Bindable property for BarMargin.
public static readonly BindableProperty BarMarginProperty
Field Value
BarPaddingProperty
Bindable property for BarPadding.
public static readonly BindableProperty BarPaddingProperty
Field Value
BarShadowProperty
Bindable property for BarShadow.
public static readonly BindableProperty BarShadowProperty
Field Value
BarStrokeProperty
Bindable property for BarStroke.
public static readonly BindableProperty BarStrokeProperty
Field Value
BarStrokeShapeProperty
Bindable property for BarStrokeShape.
public static readonly BindableProperty BarStrokeShapeProperty
Field Value
BarStrokeThicknessProperty
Bindable property for BarStrokeThickness.
public static readonly BindableProperty BarStrokeThicknessProperty
Field Value
ScrollPaddingProperty
Bindable property for ScrollPadding.
public static readonly BindableProperty ScrollPaddingProperty
Field Value
TabBackgroundProperty
Bindable property for TabBackground.
public static readonly BindableProperty TabBackgroundProperty
Field Value
TabFontFamilyProperty
Bindable property for TabFontFamily.
public static readonly BindableProperty TabFontFamilyProperty
Field Value
TabForegroundColorProperty
Bindable property for TabForegroundColor.
public static readonly BindableProperty TabForegroundColorProperty
Field Value
TabPaddingProperty
Bindable property for TabPadding.
public static readonly BindableProperty TabPaddingProperty
Field Value
TabStrokeProperty
Bindable property for TabStroke.
public static readonly BindableProperty TabStrokeProperty
Field Value
TabStrokeShapeProperty
Bindable property for TabStrokeShape.
public static readonly BindableProperty TabStrokeShapeProperty
Field Value
TabStrokeThicknessProperty
Bindable property for TabStrokeThickness.
public static readonly BindableProperty TabStrokeThicknessProperty
Field Value
Properties
ActiveTabBackground
Gets or sets the background brush for active tab buttons.
[TypeConverter(typeof(BrushTypeConverter))]
public Brush? ActiveTabBackground { get; set; }
Property Value
ActiveTabFontFamily
Gets or sets the font family for active tab button labels.
public string? ActiveTabFontFamily { get; set; }
Property Value
ActiveTabForegroundColor
Gets or sets the foreground color for active tab buttons.
public Color ActiveTabForegroundColor { get; set; }
Property Value
ActiveTabPadding
Gets or sets the padding for active tab buttons.
[TypeConverter(typeof(ThicknessTypeConverter))]
public Thickness ActiveTabPadding { get; set; }
Property Value
ActiveTabStroke
Gets or sets the stroke brush for active tab buttons.
[TypeConverter(typeof(BrushTypeConverter))]
public Brush? ActiveTabStroke { get; set; }
Property Value
ActiveTabStrokeShape
Gets or sets the stroke shape for active tab buttons.
[TypeConverter(typeof(StrokeShapeTypeConverter))]
public IShape? ActiveTabStrokeShape { get; set; }
Property Value
ActiveTabStrokeThickness
Gets or sets the stroke thickness for active tab buttons.
public double ActiveTabStrokeThickness { get; set; }
Property Value
BarBackground
Gets or sets the background brush for the tab bar container.
[TypeConverter(typeof(BrushTypeConverter))]
public Brush? BarBackground { get; set; }
Property Value
BarMargin
Gets or sets the margin for the tab bar container.
[TypeConverter(typeof(ThicknessTypeConverter))]
public Thickness BarMargin { get; set; }
Property Value
BarPadding
Gets or sets the padding for the tab bar container.
[TypeConverter(typeof(ThicknessTypeConverter))]
public Thickness BarPadding { get; set; }
Property Value
BarShadow
Gets or sets the shadow for the tab bar container.
public Shadow? BarShadow { get; set; }
Property Value
BarStroke
Gets or sets the stroke brush for the tab bar container.
[TypeConverter(typeof(BrushTypeConverter))]
public Brush? BarStroke { get; set; }
Property Value
BarStrokeShape
Gets or sets the stroke shape for the tab bar container.
[TypeConverter(typeof(StrokeShapeTypeConverter))]
public IShape? BarStrokeShape { get; set; }
Property Value
BarStrokeThickness
Gets or sets the stroke thickness for the tab bar container.
public double BarStrokeThickness { get; set; }
Property Value
ScrollPadding
Gets or sets the padding for the scroll view container.
[TypeConverter(typeof(ThicknessTypeConverter))]
public Thickness ScrollPadding { get; set; }
Property Value
TabBackground
Gets or sets the background brush for tab buttons.
[TypeConverter(typeof(BrushTypeConverter))]
public Brush? TabBackground { get; set; }
Property Value
TabFontFamily
Gets or sets the font family for tab button labels.
public string? TabFontFamily { get; set; }
Property Value
TabForegroundColor
Gets or sets the foreground color for tab buttons.
public Color TabForegroundColor { get; set; }
Property Value
TabPadding
Gets or sets the padding for tab buttons.
[TypeConverter(typeof(ThicknessTypeConverter))]
public Thickness TabPadding { get; set; }
Property Value
TabStroke
Gets or sets the stroke brush for tab buttons.
[TypeConverter(typeof(BrushTypeConverter))]
public Brush? TabStroke { get; set; }
Property Value
TabStrokeShape
Gets or sets the stroke shape for tab buttons.
[TypeConverter(typeof(StrokeShapeTypeConverter))]
public IShape? TabStrokeShape { get; set; }
Property Value
TabStrokeThickness
Gets or sets the stroke thickness for tab buttons.
public double TabStrokeThickness { get; set; }
Property Value
Methods
CreateLayoutManager()
Creates a manager object that can measure this layout and arrange its children.
protected override ILayoutManager CreateLayoutManager()
Returns
- ILayoutManager
An object that implements ILayoutManager that manages this layout.