ClassRadToolbar
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
RadToolbar()
Initializes a new instance of the RadToolbar class.
Declaration
public RadToolbar()
Fields
AreScrollButtonsVisibleProperty
Identifies the AreScrollButtonsVisible property.
Declaration
public static readonly BindableProperty AreScrollButtonsVisibleProperty
Field Value
BindableProperty
BackNavigationButtonStyleProperty
Identifies the BackNavigationButtonStyle property.
Declaration
public static readonly BindableProperty BackNavigationButtonStyleProperty
Field Value
BindableProperty
BackNavigationButtonTemplateProperty
Identifies the BackNavigationButtonTemplate property.
Declaration
public static readonly BindableProperty BackNavigationButtonTemplateProperty
Field Value
BindableProperty
BackNavigationButtonVisibilityProperty
Identifies the BackNavigationButtonVisibility property.
Declaration
public static readonly BindableProperty BackNavigationButtonVisibilityProperty
Field Value
BindableProperty
IsBackNavigationButtonVisibleProperty
Identifies the IsBackNavigationButtonVisible property.
Declaration
public static readonly BindableProperty IsBackNavigationButtonVisibleProperty
Field Value
BindableProperty
IsOverflowMenuButtonVisibleProperty
Identifies the IsOverflowMenuButtonVisible property.
Declaration
public static readonly BindableProperty IsOverflowMenuButtonVisibleProperty
Field Value
BindableProperty
ItemSpacingProperty
Identifies the ItemSpacing property.
Declaration
public static readonly BindableProperty ItemSpacingProperty
Field Value
BindableProperty
LineSpacingProperty
Identifies the LineSpacing property.
Declaration
public static readonly BindableProperty LineSpacingProperty
Field Value
BindableProperty
OptionsPanelProperty
Identifies the OptionsPanel property.
Declaration
public static readonly BindableProperty OptionsPanelProperty
Field Value
BindableProperty
OrientationProperty
Identifies the Orientation property.
Declaration
public static readonly BindableProperty OrientationProperty
Field Value
BindableProperty
OverflowMenuButtonStyleProperty
Identifies the OverflowMenuButtonStyle property.
Declaration
public static readonly BindableProperty OverflowMenuButtonStyleProperty
Field Value
BindableProperty
OverflowMenuButtonTemplateProperty
Identifies the OverflowMenuButtonTemplate property.
Declaration
public static readonly BindableProperty OverflowMenuButtonTemplateProperty
Field Value
BindableProperty
OverflowMenuButtonVisibilityProperty
Identifies the OverflowMenuButtonVisibility property.
Declaration
public static readonly BindableProperty OverflowMenuButtonVisibilityProperty
Field Value
BindableProperty
OverflowModeProperty
Identifies the OverflowMode property.
Declaration
public static readonly BindableProperty OverflowModeProperty
Field Value
BindableProperty
ScrollBackwardButtonStyleProperty
Identifies the ScrollBackwardButtonStyle property.
Declaration
public static readonly BindableProperty ScrollBackwardButtonStyleProperty
Field Value
BindableProperty
ScrollBackwardButtonTemplateProperty
Identifies the ScrollBackwardButtonTemplate property.
Declaration
public static readonly BindableProperty ScrollBackwardButtonTemplateProperty
Field Value
BindableProperty
ScrollButtonsVisibilityProperty
Identifies the ScrollButtonsVisibility property.
Declaration
public static readonly BindableProperty ScrollButtonsVisibilityProperty
Field Value
BindableProperty
ScrollForwardButtonStyleProperty
Identifies the ScrollForwardButtonStyle property.
Declaration
public static readonly BindableProperty ScrollForwardButtonStyleProperty
Field Value
BindableProperty
ScrollForwardButtonTemplateProperty
Identifies the ScrollForwardButtonTemplate property.
Declaration
public static readonly BindableProperty ScrollForwardButtonTemplateProperty
Field Value
BindableProperty
Properties
AreScrollButtonsVisible
Gets a value indicating whether the scroll buttons are currently visible in the toolbar.
BackNavigationButtonStyle
Gets or sets the Style applied to the back navigation button in the toolbar. The target type of this style is BackNavigationButtonToolbarItemView.
Declaration
public Style BackNavigationButtonStyle { get; set; }
Property Value
Style
BackNavigationButtonTemplate
Gets or sets the ControlTemplate applied to the back navigation button in the toolbar. The target type of this template is BackNavigationButtonToolbarItemView.
Declaration
public ControlTemplate BackNavigationButtonTemplate { get; set; }
Property Value
ControlTemplate
BackNavigationButtonVisibility
Gets or sets the visibility mode of the back navigation button in the toolbar. For more information see the ToolbarButtonVisibilityMode type.
Declaration
public ToolbarButtonVisibilityMode BackNavigationButtonVisibility { get; set; }
Property Value
IsBackNavigationButtonVisible
Gets a value indicating whether the back navigation button is currently visible in the toolbar.
Declaration
public bool IsBackNavigationButtonVisible { get; }
Property Value
IsOverflowMenuButtonVisible
Gets a value indicating whether the overflow menu button is currently visible in the toolbar.
ItemSpacing
Gets or sets the spacing in pixels between the items in the toolbar.
Items
Gets a collection of ToolbarItems associated with the toolbar.
Declaration
public IList<ToolbarItem> Items { get; }
Property Value
LineSpacing
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.
NavigateBackCommand
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.
NavigateCommand
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.
OptionsPanel
Gets or sets the options panel associated with this toolbar.
Declaration
public RadToolbarOptionsPanel OptionsPanel { get; set; }
Property Value
Orientation
Gets or sets the orientation of the toolbar. For more information see the Orientation type.
Declaration
public ToolbarOrientation Orientation { get; set; }
Property Value
OverflowItems
Gets a collection of ToolbarItems in the overflow area of the toolbar.
Declaration
public IReadOnlyList<ToolbarItem> OverflowItems { get; }
Property Value
OverflowMenuButtonStyle
Gets or sets the Style applied to the overflow menu button in the toolbar. The target type of this style is OverflowMenuButtonToolbarItemView.
Declaration
public Style OverflowMenuButtonStyle { get; set; }
Property Value
Style
OverflowMenuButtonTemplate
Gets or sets the ControlTemplate applied to the overflow menu button in the toolbar. The target type of this template is OverflowMenuButtonToolbarItemView.
Declaration
public ControlTemplate OverflowMenuButtonTemplate { get; set; }
Property Value
ControlTemplate
OverflowMenuButtonVisibility
Gets or sets the visibility mode of the overflow menu button in the toolbar. For more information see the ToolbarButtonVisibilityMode type.
Declaration
public ToolbarButtonVisibilityMode OverflowMenuButtonVisibility { get; set; }
Property Value
OverflowMode
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.
Declaration
public ToolbarOverflowMode OverflowMode { get; set; }
Property Value
ScrollBackwardButtonStyle
Gets or sets the Style applied to the backward scroll button in the toolbar. The target type of this style is ScrollBackwardButtonToolbarItemView.
Declaration
public Style ScrollBackwardButtonStyle { get; set; }
Property Value
Style
ScrollBackwardButtonTemplate
Gets or sets the ControlTemplate applied to the backward scroll button in the toolbar. The target type of this template is ScrollBackwardButtonToolbarItemView.
Declaration
public ControlTemplate ScrollBackwardButtonTemplate { get; set; }
Property Value
ControlTemplate
ScrollBackwardCommand
Gets a command for scrolling the contents of the toolbar in backward direction. This command is applicable when the OverflowMode is set to Scroll.
Declaration
public ICommand ScrollBackwardCommand { get; }
Property Value
ScrollButtonsVisibility
Gets or sets the visibility mode of the scroll buttons in the toolbar. For more information see the ToolbarButtonVisibilityMode type.
Declaration
public ToolbarButtonVisibilityMode ScrollButtonsVisibility { get; set; }
Property Value
ScrollForwardButtonStyle
Gets or sets the Style applied to the forward scroll button in the toolbar. The target type of this style is ScrollForwardButtonToolbarItemView.
Declaration
public Style ScrollForwardButtonStyle { get; set; }
Property Value
Style
ScrollForwardButtonTemplate
Gets or sets the ControlTemplate applied to the forward scroll button in the toolbar. The target type of this template is ScrollForwardButtonToolbarItemView.
Declaration
public ControlTemplate ScrollForwardButtonTemplate { get; set; }
Property Value
ControlTemplate
ScrollForwardCommand
Gets a command for scrolling the contents of the toolbar in forward direction. This command is applicable when the OverflowMode is set to Scroll.
StripItems
Gets a collection of ToolbarItems in the strip area of the toolbar.
Declaration
public IReadOnlyList<ToolbarItem> StripItems { get; }
Property Value
Methods
ArrangeOverride(Rect)
Declaration
protected override Size ArrangeOverride(Rect layoutBounds)
Parameters
layoutBounds
Rect
Returns
Size
OnHandlerChanged()
Called when the handler changes.
Declaration
protected override void OnHandlerChanged()
Overrides
OnPropertyChanged(string)
Declaration
protected override void OnPropertyChanged(string propertyName = null)
Parameters
propertyName
Overrides