Table of Contents

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

BindableProperty

ActiveTabFontFamilyProperty

Bindable property for ActiveTabFontFamily.

public static readonly BindableProperty ActiveTabFontFamilyProperty

Field Value

BindableProperty

ActiveTabForegroundColorProperty

Bindable property for ActiveTabForegroundColor.

public static readonly BindableProperty ActiveTabForegroundColorProperty

Field Value

BindableProperty

ActiveTabPaddingProperty

Bindable property for ActiveTabPadding.

public static readonly BindableProperty ActiveTabPaddingProperty

Field Value

BindableProperty

ActiveTabStrokeProperty

Bindable property for ActiveTabStroke.

public static readonly BindableProperty ActiveTabStrokeProperty

Field Value

BindableProperty

ActiveTabStrokeShapeProperty

Bindable property for ActiveTabStrokeShape.

public static readonly BindableProperty ActiveTabStrokeShapeProperty

Field Value

BindableProperty

ActiveTabStrokeThicknessProperty

Bindable property for ActiveTabStrokeThickness.

public static readonly BindableProperty ActiveTabStrokeThicknessProperty

Field Value

BindableProperty

BarBackgroundProperty

Bindable property for BarBackground.

public static readonly BindableProperty BarBackgroundProperty

Field Value

BindableProperty

BarMarginProperty

Bindable property for BarMargin.

public static readonly BindableProperty BarMarginProperty

Field Value

BindableProperty

BarPaddingProperty

Bindable property for BarPadding.

public static readonly BindableProperty BarPaddingProperty

Field Value

BindableProperty

BarShadowProperty

Bindable property for BarShadow.

public static readonly BindableProperty BarShadowProperty

Field Value

BindableProperty

BarStrokeProperty

Bindable property for BarStroke.

public static readonly BindableProperty BarStrokeProperty

Field Value

BindableProperty

BarStrokeShapeProperty

Bindable property for BarStrokeShape.

public static readonly BindableProperty BarStrokeShapeProperty

Field Value

BindableProperty

BarStrokeThicknessProperty

Bindable property for BarStrokeThickness.

public static readonly BindableProperty BarStrokeThicknessProperty

Field Value

BindableProperty

ScrollPaddingProperty

Bindable property for ScrollPadding.

public static readonly BindableProperty ScrollPaddingProperty

Field Value

BindableProperty

TabBackgroundProperty

Bindable property for TabBackground.

public static readonly BindableProperty TabBackgroundProperty

Field Value

BindableProperty

TabFontFamilyProperty

Bindable property for TabFontFamily.

public static readonly BindableProperty TabFontFamilyProperty

Field Value

BindableProperty

TabForegroundColorProperty

Bindable property for TabForegroundColor.

public static readonly BindableProperty TabForegroundColorProperty

Field Value

BindableProperty

TabPaddingProperty

Bindable property for TabPadding.

public static readonly BindableProperty TabPaddingProperty

Field Value

BindableProperty

TabStrokeProperty

Bindable property for TabStroke.

public static readonly BindableProperty TabStrokeProperty

Field Value

BindableProperty

TabStrokeShapeProperty

Bindable property for TabStrokeShape.

public static readonly BindableProperty TabStrokeShapeProperty

Field Value

BindableProperty

TabStrokeThicknessProperty

Bindable property for TabStrokeThickness.

public static readonly BindableProperty TabStrokeThicknessProperty

Field Value

BindableProperty

Properties

ActiveTabBackground

Gets or sets the background brush for active tab buttons.

[TypeConverter(typeof(BrushTypeConverter))]
public Brush? ActiveTabBackground { get; set; }

Property Value

Brush

ActiveTabFontFamily

Gets or sets the font family for active tab button labels.

public string? ActiveTabFontFamily { get; set; }

Property Value

string

ActiveTabForegroundColor

Gets or sets the foreground color for active tab buttons.

public Color ActiveTabForegroundColor { get; set; }

Property Value

Color

ActiveTabPadding

Gets or sets the padding for active tab buttons.

[TypeConverter(typeof(ThicknessTypeConverter))]
public Thickness ActiveTabPadding { get; set; }

Property Value

Thickness

ActiveTabStroke

Gets or sets the stroke brush for active tab buttons.

[TypeConverter(typeof(BrushTypeConverter))]
public Brush? ActiveTabStroke { get; set; }

Property Value

Brush

ActiveTabStrokeShape

Gets or sets the stroke shape for active tab buttons.

[TypeConverter(typeof(StrokeShapeTypeConverter))]
public IShape? ActiveTabStrokeShape { get; set; }

Property Value

IShape

ActiveTabStrokeThickness

Gets or sets the stroke thickness for active tab buttons.

public double ActiveTabStrokeThickness { get; set; }

Property Value

double

BarBackground

Gets or sets the background brush for the tab bar container.

[TypeConverter(typeof(BrushTypeConverter))]
public Brush? BarBackground { get; set; }

Property Value

Brush

BarMargin

Gets or sets the margin for the tab bar container.

[TypeConverter(typeof(ThicknessTypeConverter))]
public Thickness BarMargin { get; set; }

Property Value

Thickness

BarPadding

Gets or sets the padding for the tab bar container.

[TypeConverter(typeof(ThicknessTypeConverter))]
public Thickness BarPadding { get; set; }

Property Value

Thickness

BarShadow

Gets or sets the shadow for the tab bar container.

public Shadow? BarShadow { get; set; }

Property Value

Shadow

BarStroke

Gets or sets the stroke brush for the tab bar container.

[TypeConverter(typeof(BrushTypeConverter))]
public Brush? BarStroke { get; set; }

Property Value

Brush

BarStrokeShape

Gets or sets the stroke shape for the tab bar container.

[TypeConverter(typeof(StrokeShapeTypeConverter))]
public IShape? BarStrokeShape { get; set; }

Property Value

IShape

BarStrokeThickness

Gets or sets the stroke thickness for the tab bar container.

public double BarStrokeThickness { get; set; }

Property Value

double

ScrollPadding

Gets or sets the padding for the scroll view container.

[TypeConverter(typeof(ThicknessTypeConverter))]
public Thickness ScrollPadding { get; set; }

Property Value

Thickness

TabBackground

Gets or sets the background brush for tab buttons.

[TypeConverter(typeof(BrushTypeConverter))]
public Brush? TabBackground { get; set; }

Property Value

Brush

TabFontFamily

Gets or sets the font family for tab button labels.

public string? TabFontFamily { get; set; }

Property Value

string

TabForegroundColor

Gets or sets the foreground color for tab buttons.

public Color TabForegroundColor { get; set; }

Property Value

Color

TabPadding

Gets or sets the padding for tab buttons.

[TypeConverter(typeof(ThicknessTypeConverter))]
public Thickness TabPadding { get; set; }

Property Value

Thickness

TabStroke

Gets or sets the stroke brush for tab buttons.

[TypeConverter(typeof(BrushTypeConverter))]
public Brush? TabStroke { get; set; }

Property Value

Brush

TabStrokeShape

Gets or sets the stroke shape for tab buttons.

[TypeConverter(typeof(StrokeShapeTypeConverter))]
public IShape? TabStrokeShape { get; set; }

Property Value

IShape

TabStrokeThickness

Gets or sets the stroke thickness for tab buttons.

public double TabStrokeThickness { get; set; }

Property Value

double

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.