RadToolbar
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
Namespace:Telerik.Maui.Controls
Assembly:Telerik.Maui.Controls.dll
Syntax:
public class RadToolbar : ToolbarContentView, IRadContentView, IContentView, IView, IElement, ITransform, IPadding, ICrossPlatformLayout, IVisualTreeElement
Inheritance: objectRadContentViewRadCompositeContentViewRadBorderContentViewToolbarContentViewRadToolbar...
Derived Classes:
Implements:
Inherited Members
Constructors
Initializes a new instance of the RadToolbar class.
public RadToolbar()
Fields
AreScrollButtonsVisibleProperty
BindableProperty
Identifies the AreScrollButtonsVisible property.
public static readonly BindableProperty AreScrollButtonsVisibleProperty
BackNavigationButtonStyleProperty
BindableProperty
Identifies the BackNavigationButtonStyle property.
public static readonly BindableProperty BackNavigationButtonStyleProperty
BackNavigationButtonTemplateProperty
BindableProperty
Identifies the BackNavigationButtonTemplate property.
public static readonly BindableProperty BackNavigationButtonTemplateProperty
BackNavigationButtonVisibilityProperty
BindableProperty
Identifies the BackNavigationButtonVisibility property.
public static readonly BindableProperty BackNavigationButtonVisibilityProperty
IsBackNavigationButtonVisibleProperty
BindableProperty
Identifies the IsBackNavigationButtonVisible property.
public static readonly BindableProperty IsBackNavigationButtonVisibleProperty
IsOverflowMenuButtonVisibleProperty
BindableProperty
Identifies the IsOverflowMenuButtonVisible property.
public static readonly BindableProperty IsOverflowMenuButtonVisibleProperty
ItemSpacingProperty
BindableProperty
Identifies the ItemSpacing property.
public static readonly BindableProperty ItemSpacingProperty
LineSpacingProperty
BindableProperty
Identifies the LineSpacing property.
public static readonly BindableProperty LineSpacingProperty
OptionsPanelProperty
BindableProperty
Identifies the OptionsPanel property.
public static readonly BindableProperty OptionsPanelProperty
OrientationProperty
BindableProperty
Identifies the Orientation property.
public static readonly BindableProperty OrientationProperty
OverflowMenuButtonStyleProperty
BindableProperty
Identifies the OverflowMenuButtonStyle property.
public static readonly BindableProperty OverflowMenuButtonStyleProperty
OverflowMenuButtonTemplateProperty
BindableProperty
Identifies the OverflowMenuButtonTemplate property.
public static readonly BindableProperty OverflowMenuButtonTemplateProperty
OverflowMenuButtonVisibilityProperty
BindableProperty
Identifies the OverflowMenuButtonVisibility property.
public static readonly BindableProperty OverflowMenuButtonVisibilityProperty
OverflowModeProperty
BindableProperty
Identifies the OverflowMode property.
public static readonly BindableProperty OverflowModeProperty
ScrollBackwardButtonStyleProperty
BindableProperty
Identifies the ScrollBackwardButtonStyle property.
public static readonly BindableProperty ScrollBackwardButtonStyleProperty
ScrollBackwardButtonTemplateProperty
BindableProperty
Identifies the ScrollBackwardButtonTemplate property.
public static readonly BindableProperty ScrollBackwardButtonTemplateProperty
ScrollButtonsVisibilityProperty
BindableProperty
Identifies the ScrollButtonsVisibility property.
public static readonly BindableProperty ScrollButtonsVisibilityProperty
ScrollForwardButtonStyleProperty
BindableProperty
Identifies the ScrollForwardButtonStyle property.
public static readonly BindableProperty ScrollForwardButtonStyleProperty
ScrollForwardButtonTemplateProperty
BindableProperty
Identifies the ScrollForwardButtonTemplate property.
public static readonly BindableProperty ScrollForwardButtonTemplateProperty
Properties
Gets a value indicating whether the scroll buttons are currently visible in the toolbar.
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.
public Style BackNavigationButtonStyle { get; set; }
BackNavigationButtonTemplate
ControlTemplate
Gets or sets the ControlTemplate applied to the back navigation button in the toolbar. The target type of this template is BackNavigationButtonToolbarItemView.
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.
public ToolbarButtonVisibilityMode BackNavigationButtonVisibility { get; set; }
Gets a value indicating whether the back navigation button is currently visible in the toolbar.
public bool IsBackNavigationButtonVisible { get; }
Gets a value indicating whether the overflow menu button is currently visible in the toolbar.
public bool IsOverflowMenuButtonVisible { get; }
Gets a collection of ToolbarItems associated with the toolbar.
public IList<ToolbarItem> Items { get; }
Gets or sets the spacing in pixels between the items in the toolbar.
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.
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.
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.
public ICommand NavigateCommand { get; }
Gets or sets the options panel associated with this toolbar.
public RadToolbarOptionsPanel OptionsPanel { get; set; }
Gets or sets the orientation of the toolbar. For more information see the Orientation type.
public ToolbarOrientation Orientation { get; set; }
Gets a collection of ToolbarItems in the overflow area of the toolbar.
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.
public Style OverflowMenuButtonStyle { get; set; }
OverflowMenuButtonTemplate
ControlTemplate
Gets or sets the ControlTemplate applied to the overflow menu button in the toolbar. The target type of this template is OverflowMenuButtonToolbarItemView.
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.
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.
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.
public Style ScrollBackwardButtonStyle { get; set; }
ScrollBackwardButtonTemplate
ControlTemplate
Gets or sets the ControlTemplate applied to the backward scroll button in the toolbar. The target type of this template is ScrollBackwardButtonToolbarItemView.
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.
public ICommand ScrollBackwardCommand { get; }
Gets or sets the visibility mode of the scroll buttons in the toolbar. For more information see the ToolbarButtonVisibilityMode type.
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.
public Style ScrollForwardButtonStyle { get; set; }
ScrollForwardButtonTemplate
ControlTemplate
Gets or sets the ControlTemplate applied to the forward scroll button in the toolbar. The target type of this template is ScrollForwardButtonToolbarItemView.
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.
public ICommand ScrollForwardCommand { get; }
Gets a collection of ToolbarItems in the strip area of the toolbar.
public IReadOnlyList<ToolbarItem> StripItems { get; }
Methods
protected override Size ArrangeOverride(Rect layoutBounds)
Size
Called when the handler changes.
protected override void OnHandlerChanged()
Overrides:
protected override void OnPropertyChanged(string propertyName = null)
Overrides: