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

Represents a toolbar item in the RadToolbar control.

Definition

Namespace:Telerik.Maui.Controls

Assembly:Telerik.Maui.Controls.dll

Syntax:

C#
public class ToolbarItem : Element

Inheritance: objectToolbarItem

Derived Classes: BusyIndicatorToolbarItemEntryToolbarItemGroupToolbarItemLabelToolbarItemPdfViewerNavigateToPageToolbarItemSeparatorToolbarItemSliderToolbarItem...

Constructors

C#
public ToolbarItem()

Fields

ControlTemplateProperty

BindableProperty

Identifies the ControlTemplate property.

C#
public static readonly BindableProperty ControlTemplateProperty

IsEnabledProperty

BindableProperty

Identifies the IsEnabled property.

C#
public static readonly BindableProperty IsEnabledProperty

Identifies the IsInteractionEnabled property.

C#
public static readonly BindableProperty IsInteractionEnabledProperty

IsVisibleProperty

BindableProperty

Identifies the IsVisible property.

C#
public static readonly BindableProperty IsVisibleProperty

PlacementOptionsProperty

BindableProperty

Identifies the PlacementOptions property.

C#
public static readonly BindableProperty PlacementOptionsProperty

StyleProperty

BindableProperty

Identifies the Style property.

C#
public static readonly BindableProperty StyleProperty

Properties

ControlTemplate

ControlTemplate

Gets or sets a ControlTemplate to be applied to the toolbar item. The target type of the template is ToolbarItemView.

C#
public ControlTemplate ControlTemplate { get; set; }

Gets or sets a value indicating whether the toolbar item is enabled.

C#
public bool IsEnabled { get; set; }

Gets a value indicating whether the toolbar item accepts user interaction.

C#
public bool IsInteractionEnabled { get; }

Gets or sets a value indicating whether the toolbar item is visible.

C#
public bool IsVisible { get; set; }

Gets the parent ToolbarItem this toolbar item belongs to.

C#
public ToolbarItem Parent { get; }

Gets or sets the allowed placement options of the toolbar item in the toolbar. For more information see the ToolbarItemPlacementOptions type.

C#
public ToolbarItemPlacementOptions PlacementOptions { get; set; }

Style

Style

Gets or sets a Style to be applied to the toolbar item. The target type of the style is ToolbarItemView.

C#
public Style Style { get; set; }

Gets the RadToolbar this toolbar item is associated with.

C#
public RadToolbar Toolbar { get; }