New to Telerik UI for .NET MAUIStart a free 30-day trial

The RadToolbar is a flexible control for implementation of tool and button strips, needed in most desktop and mobile applications. The individual items of the control are described as a collection of ToolbarItems. The rich collection of ToolbarItems allows to customize every tool or button on the RadToolbar independently according to the specific needs of the application. The control supports horizontal and vertical orientation, overflow menu, panning and scrolling, multi-level navigation and multi-line layout.

Definition

Constructors

Initializes a new instance of the RadToolbar class.

C#
public RadToolbar()

Fields

Identifies the AreScrollButtonsVisible property.

C#
public static readonly BindableProperty AreScrollButtonsVisibleProperty

Identifies the BackNavigationButtonStyle property.

C#
public static readonly BindableProperty BackNavigationButtonStyleProperty

Identifies the BackNavigationButtonTemplate property.

C#
public static readonly BindableProperty BackNavigationButtonTemplateProperty

Identifies the BackNavigationButtonVisibility property.

C#
public static readonly BindableProperty BackNavigationButtonVisibilityProperty

Identifies the IsBackNavigationButtonVisible property.

C#
public static readonly BindableProperty IsBackNavigationButtonVisibleProperty

Identifies the IsOverflowMenuButtonVisible property.

C#
public static readonly BindableProperty IsOverflowMenuButtonVisibleProperty

ItemSpacingProperty

BindableProperty

Identifies the ItemSpacing property.

C#
public static readonly BindableProperty ItemSpacingProperty

LineSpacingProperty

BindableProperty

Identifies the LineSpacing property.

C#
public static readonly BindableProperty LineSpacingProperty

OptionsPanelProperty

BindableProperty

Identifies the OptionsPanel property.

C#
public static readonly BindableProperty OptionsPanelProperty

OrientationProperty

BindableProperty

Identifies the Orientation property.

C#
public static readonly BindableProperty OrientationProperty

Identifies the OverflowMenuButtonStyle property.

C#
public static readonly BindableProperty OverflowMenuButtonStyleProperty

Identifies the OverflowMenuButtonTemplate property.

C#
public static readonly BindableProperty OverflowMenuButtonTemplateProperty

Identifies the OverflowMenuButtonVisibility property.

C#
public static readonly BindableProperty OverflowMenuButtonVisibilityProperty

OverflowModeProperty

BindableProperty

Identifies the OverflowMode property.

C#
public static readonly BindableProperty OverflowModeProperty

Identifies the ScrollBackwardButtonStyle property.

C#
public static readonly BindableProperty ScrollBackwardButtonStyleProperty

Identifies the ScrollBackwardButtonTemplate property.

C#
public static readonly BindableProperty ScrollBackwardButtonTemplateProperty

Identifies the ScrollButtonsVisibility property.

C#
public static readonly BindableProperty ScrollButtonsVisibilityProperty

Identifies the ScrollForwardButtonStyle property.

C#
public static readonly BindableProperty ScrollForwardButtonStyleProperty

Identifies the ScrollForwardButtonTemplate property.

C#
public static readonly BindableProperty ScrollForwardButtonTemplateProperty

Properties

Gets a value indicating whether the scroll buttons are currently visible in the toolbar.

C#
public bool AreScrollButtonsVisible { get; }

Gets or sets the Style applied to the back navigation button in the toolbar. The target type of this style is BackNavigationButtonToolbarItemView.

C#
public Style BackNavigationButtonStyle { get; set; }

Gets or sets the ControlTemplate applied to the back navigation button in the toolbar. The target type of this template is BackNavigationButtonToolbarItemView.

C#
public ControlTemplate BackNavigationButtonTemplate { get; set; }

Gets or sets the visibility mode of the back navigation button in the toolbar. For more information see the ToolbarButtonVisibilityMode type.

C#
public ToolbarButtonVisibilityMode BackNavigationButtonVisibility { get; set; }

Gets a value indicating whether the back navigation button is currently visible in the toolbar.

C#
public bool IsBackNavigationButtonVisible { get; }

Gets a value indicating whether the overflow menu button is currently visible in the toolbar.

C#
public bool IsOverflowMenuButtonVisible { get; }

Gets a collection of ToolbarItems associated with the toolbar.

C#
public IList<ToolbarItem> Items { get; }

Gets or sets the spacing in pixels between the items in the toolbar.

C#
public double ItemSpacing { get; set; }

Gets or sets the spacing in pixels between the lines of items in the toolbar. This property has effect when the toolbar is in a multi-line wrap overflow mode. For more information see the OverflowMode property.

C#
public double LineSpacing { get; set; }

Gets a command for navigating back to the previous level of the toolbar hierarchy. The previous ToolbarItems stored in the navigation stack from the last invocation of the NavigateCommand are restored in the toolbar.

C#
public ICommand NavigateBackCommand { get; }

Gets a command for navigating to the next level of the toolbar hierarchy. The command accepts a collection of ToolbarItems as a parameter. The existing ToolbarItems in the toolbar are stored in the navigation stack and then replaced with the provided collection of ToolbarItems.

C#
public ICommand NavigateCommand { get; }

Gets or sets the options panel associated with this toolbar.

C#
public RadToolbarOptionsPanel OptionsPanel { get; set; }

Gets or sets the orientation of the toolbar. For more information see the Orientation type.

C#
public ToolbarOrientation Orientation { get; set; }

Gets a collection of ToolbarItems in the overflow area of the toolbar.

C#
public IReadOnlyList<ToolbarItem> OverflowItems { get; }

Gets or sets the Style applied to the overflow menu button in the toolbar. The target type of this style is OverflowMenuButtonToolbarItemView.

C#
public Style OverflowMenuButtonStyle { get; set; }

Gets or sets the ControlTemplate applied to the overflow menu button in the toolbar. The target type of this template is OverflowMenuButtonToolbarItemView.

C#
public ControlTemplate OverflowMenuButtonTemplate { get; set; }

Gets or sets the visibility mode of the overflow menu button in the toolbar. For more information see the ToolbarButtonVisibilityMode type.

C#
public ToolbarButtonVisibilityMode OverflowMenuButtonVisibility { get; set; }

Gets or sets the overflow mode of the toolbar, when the items cannot fit in the available space. For more information see the ToolbarOverflowMode type.

C#
public ToolbarOverflowMode OverflowMode { get; set; }

Gets or sets the Style applied to the backward scroll button in the toolbar. The target type of this style is ScrollBackwardButtonToolbarItemView.

C#
public Style ScrollBackwardButtonStyle { get; set; }

Gets or sets the ControlTemplate applied to the backward scroll button in the toolbar. The target type of this template is ScrollBackwardButtonToolbarItemView.

C#
public ControlTemplate ScrollBackwardButtonTemplate { get; set; }

Gets a command for scrolling the contents of the toolbar in backward direction. This command is applicable when the OverflowMode is set to Scroll.

C#
public ICommand ScrollBackwardCommand { get; }

Gets or sets the visibility mode of the scroll buttons in the toolbar. For more information see the ToolbarButtonVisibilityMode type.

C#
public ToolbarButtonVisibilityMode ScrollButtonsVisibility { get; set; }

Gets or sets the Style applied to the forward scroll button in the toolbar. The target type of this style is ScrollForwardButtonToolbarItemView.

C#
public Style ScrollForwardButtonStyle { get; set; }

Gets or sets the ControlTemplate applied to the forward scroll button in the toolbar. The target type of this template is ScrollForwardButtonToolbarItemView.

C#
public ControlTemplate ScrollForwardButtonTemplate { get; set; }

Gets a command for scrolling the contents of the toolbar in forward direction. This command is applicable when the OverflowMode is set to Scroll.

C#
public ICommand ScrollForwardCommand { get; }

Gets a collection of ToolbarItems in the strip area of the toolbar.

C#
public IReadOnlyList<ToolbarItem> StripItems { get; }

Methods

C#
protected override Size ArrangeOverride(Rect layoutBounds)
Parameters:layoutBoundsRectReturns:

Size

C#
protected override Size MeasureOverride(double widthConstraint, double heightConstraint)
Parameters:widthConstraintdoubleheightConstraintdoubleReturns:

Size

Called when the handler changes.

C#
protected override void OnHandlerChanged()

Overrides: RadContentView.OnHandlerChanged()

C#
protected override void OnPropertyChanged(string propertyName = null)
Parameters:propertyNamestring

Overrides: RadCompositeContentView.OnPropertyChanged(string)