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

Visual representation of a button displaying a drop-down panel in the RadToolbar control.

Definition

Namespace:Telerik.Maui.Controls

Assembly:Telerik.Maui.Controls.dll

Syntax:

C#
public class DropDownButtonToolbarItemView : ButtonToolbarItemView, IRadContentView, IContentView, IPadding, ICrossPlatformLayout, IVisualTreeElement, IView, IElement, ITransform

Inheritance: objectRadContentViewRadCompositeContentViewRadBorderContentViewToolbarContentViewToolbarItemViewLabelToolbarItemViewButtonToolbarItemViewDropDownButtonToolbarItemView...

Derived Classes: DropDownListButtonToolbarItemViewOptionsButtonToolbarItemView

Implements: IContentViewICrossPlatformLayoutIElementIPaddingIRadContentViewITransformIViewIVisualTreeElement...

Inherited Members ButtonToolbarItemView.CommandPropertyButtonToolbarItemView.CommandParameterPropertyButtonToolbarItemView.CommandButtonToolbarItemView.CommandParameterButtonToolbarItemView.ClickedLabelToolbarItemView.TextPropertyLabelToolbarItemView.TextColorPropertyLabelToolbarItemView.FontFamilyPropertyLabelToolbarItemView.FontSizePropertyLabelToolbarItemView.FontAttributesPropertyLabelToolbarItemView.TextDecorationsPropertyLabelToolbarItemView.HorizontalTextAlignmentPropertyLabelToolbarItemView.VerticalTextAlignmentPropertyLabelToolbarItemView.ImageSourcePropertyLabelToolbarItemView.ImageAspectPropertyLabelToolbarItemView.ImagePositionPropertyLabelToolbarItemView.ImageWidthPropertyLabelToolbarItemView.ImageHeightPropertyLabelToolbarItemView.ImageSpacingPropertyLabelToolbarItemView.DisplayOptionsPropertyLabelToolbarItemView.HorizontalContentOptionsPropertyLabelToolbarItemView.VerticalContentOptionsPropertyLabelToolbarItemView.ActualImageSourcePropertyLabelToolbarItemView.TextLabelToolbarItemView.TextColorLabelToolbarItemView.FontFamilyLabelToolbarItemView.FontSizeLabelToolbarItemView.FontAttributesLabelToolbarItemView.TextDecorationsLabelToolbarItemView.HorizontalTextAlignmentLabelToolbarItemView.VerticalTextAlignmentLabelToolbarItemView.ImageSourceLabelToolbarItemView.ImageAspectLabelToolbarItemView.ImagePositionLabelToolbarItemView.ImageWidthLabelToolbarItemView.ImageHeightLabelToolbarItemView.ImageSpacingLabelToolbarItemView.DisplayOptionsLabelToolbarItemView.HorizontalContentOptionsLabelToolbarItemView.VerticalContentOptionsLabelToolbarItemView.ActualImageSourceToolbarItemView.OrientationPropertyToolbarItemView.PlacementLocationPropertyToolbarItemView.ToolbarPropertyToolbarItemView.OrientationToolbarItemView.PlacementLocationToolbarItemView.ToolbarRadBorderContentView.BackgroundColorPropertyRadBorderContentView.BackgroundPropertyRadBorderContentView.BorderColorPropertyRadBorderContentView.BorderBrushPropertyRadBorderContentView.BorderThicknessPropertyRadBorderContentView.CornerRadiusPropertyRadBorderContentView.ContentPaddingPropertyRadBorderContentView.BackgroundColorRadBorderContentView.BackgroundRadBorderContentView.BorderColorRadBorderContentView.BorderBrushRadBorderContentView.BorderThicknessRadBorderContentView.CornerRadiusRadBorderContentView.ContentPaddingRadCompositeContentView.StylePropertyRadCompositeContentView.ControlTemplatePropertyRadCompositeContentView.OnApplyTemplate()RadCompositeContentView.OnBindingContextChanged()RadCompositeContentView.StyleRadCompositeContentView.ControlTemplateRadContentView.ActualStyleClassPropertyRadContentView.OnChildAdded(Element)RadContentView.OnChildRemoved(Element, int)RadContentView.OnHandlerChanged()...

Constructors

Creates a new instance of the DropDownButtonToolbarItemView class.

C#
public DropDownButtonToolbarItemView()

Fields

Identifies the DropDownContentStyle property.

C#
public static readonly BindableProperty DropDownContentStyleProperty

Identifies the DropDownContentTemplate property.

C#
public static readonly BindableProperty DropDownContentTemplateProperty

Identifies the DropDownHorizontalOffset property.

C#
public static readonly BindableProperty DropDownHorizontalOffsetProperty

Identifies the DropDownIndicatorSpacing property.

C#
public static readonly BindableProperty DropDownIndicatorSpacingProperty

Identifies the DropDownIndicatorStyle property.

C#
public static readonly BindableProperty DropDownIndicatorStyleProperty

Identifies the DropDownIndicatorTemplate property.

C#
public static readonly BindableProperty DropDownIndicatorTemplateProperty

Identifies the DropDownPlacement property.

C#
public static readonly BindableProperty DropDownPlacementProperty

Identifies the DropDownVerticalOffset property.

C#
public static readonly BindableProperty DropDownVerticalOffsetProperty

Identifies the IsDropDownIndicatorVisible property.

C#
public static readonly BindableProperty IsDropDownIndicatorVisibleProperty

IsOpenProperty

BindableProperty

Identifies the IsOpen property.

C#
public static readonly BindableProperty IsOpenProperty

Properties

Gets or sets the Style of the drop-down content. The target type of this style is DropDownButtonToolbarItemViewContent.

C#
public Style DropDownContentStyle { get; set; }

Gets or sets the ControlTemplate of the drop-down content. The target type of this template is DropDownButtonToolbarItemViewContent.

C#
public ControlTemplate DropDownContentTemplate { get; set; }

Gets or sets the horizontal offset in pixels of the drop-down from the button.

C#
public double DropDownHorizontalOffset { get; set; }

Gets or sets the spacing in pixels between the drop-down indicator and the button content.

C#
public double DropDownIndicatorSpacing { get; set; }

Gets or sets the Style of the drop-down indicator. The target type of this style is DropDownButtonToolbarItemViewIndicator.

C#
public Style DropDownIndicatorStyle { get; set; }

Gets or sets the ControlTemplate of the drop-down indicator. The target type of this template is DropDownButtonToolbarItemViewIndicator.

C#
public ControlTemplate DropDownIndicatorTemplate { get; set; }

Gets or sets the placement mode of the drop-down relative to the button. For more information see the PlacementMode type.

C#
public PlacementMode DropDownPlacement { get; set; }

Gets or sets the vertical offset in pixels of the drop-down from the button.

C#
public double DropDownVerticalOffset { get; set; }

Gets or sets a value indicating whether the drop-down indicator is visible in the button.

C#
public bool IsDropDownIndicatorVisible { get; set; }

Gets or sets a value indicating whether the drop-down is currently open.

C#
public bool IsOpen { get; set; }

Gets a command to toggle the drop-down.

C#
public ICommand ToggleCommand { get; }

Methods

C#
protected override void ChangeVisualState()

Overrides: ButtonToolbarItemView.ChangeVisualState()

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

Overrides: RadCompositeContentView.OnPropertyChanged(string)

Events

Raised when the IsOpen property has changed.

C#
public event EventHandler IsOpenChanged