Class
DropDownButtonToolbarItemView

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:

cs-api-definition
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

DropDownButtonToolbarItemView()

Creates a new instance of the DropDownButtonToolbarItemView class.

Declaration

cs-api-definition
public DropDownButtonToolbarItemView()

Fields

DropDownContentStyleProperty

Identifies the DropDownContentStyle property.

Declaration

cs-api-definition
public static readonly BindableProperty DropDownContentStyleProperty

Field Value

BindableProperty

DropDownContentTemplateProperty

Identifies the DropDownContentTemplate property.

Declaration

cs-api-definition
public static readonly BindableProperty DropDownContentTemplateProperty

Field Value

BindableProperty

DropDownHorizontalOffsetProperty

Identifies the DropDownHorizontalOffset property.

Declaration

cs-api-definition
public static readonly BindableProperty DropDownHorizontalOffsetProperty

Field Value

BindableProperty

DropDownIndicatorSpacingProperty

Identifies the DropDownIndicatorSpacing property.

Declaration

cs-api-definition
public static readonly BindableProperty DropDownIndicatorSpacingProperty

Field Value

BindableProperty

DropDownIndicatorStyleProperty

Identifies the DropDownIndicatorStyle property.

Declaration

cs-api-definition
public static readonly BindableProperty DropDownIndicatorStyleProperty

Field Value

BindableProperty

DropDownIndicatorTemplateProperty

Identifies the DropDownIndicatorTemplate property.

Declaration

cs-api-definition
public static readonly BindableProperty DropDownIndicatorTemplateProperty

Field Value

BindableProperty

DropDownPlacementProperty

Identifies the DropDownPlacement property.

Declaration

cs-api-definition
public static readonly BindableProperty DropDownPlacementProperty

Field Value

BindableProperty

DropDownVerticalOffsetProperty

Identifies the DropDownVerticalOffset property.

Declaration

cs-api-definition
public static readonly BindableProperty DropDownVerticalOffsetProperty

Field Value

BindableProperty

IsDropDownIndicatorVisibleProperty

Identifies the IsDropDownIndicatorVisible property.

Declaration

cs-api-definition
public static readonly BindableProperty IsDropDownIndicatorVisibleProperty

Field Value

BindableProperty

IsOpenProperty

Identifies the IsOpen property.

Declaration

cs-api-definition
public static readonly BindableProperty IsOpenProperty

Field Value

BindableProperty

Properties

DropDownContentStyle

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

Declaration

cs-api-definition
public Style DropDownContentStyle { get; set; }

Property Value

Style

DropDownContentTemplate

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

Declaration

cs-api-definition
public ControlTemplate DropDownContentTemplate { get; set; }

Property Value

ControlTemplate

DropDownHorizontalOffset

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

Declaration

cs-api-definition
public double DropDownHorizontalOffset { get; set; }

Property Value

double

DropDownIndicatorSpacing

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

Declaration

cs-api-definition
public double DropDownIndicatorSpacing { get; set; }

Property Value

double

DropDownIndicatorStyle

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

Declaration

cs-api-definition
public Style DropDownIndicatorStyle { get; set; }

Property Value

Style

DropDownIndicatorTemplate

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

Declaration

cs-api-definition
public ControlTemplate DropDownIndicatorTemplate { get; set; }

Property Value

ControlTemplate

DropDownPlacement

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

Declaration

cs-api-definition
public PlacementMode DropDownPlacement { get; set; }

Property Value

PlacementMode

DropDownVerticalOffset

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

Declaration

cs-api-definition
public double DropDownVerticalOffset { get; set; }

Property Value

double

IsDropDownIndicatorVisible

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

Declaration

cs-api-definition
public bool IsDropDownIndicatorVisible { get; set; }

Property Value

bool

IsOpen

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

Declaration

cs-api-definition
public bool IsOpen { get; set; }

Property Value

bool

ToggleCommand

Gets a command to toggle the drop-down.

Declaration

cs-api-definition
public ICommand ToggleCommand { get; }

Property Value

ICommand

Methods

ChangeVisualState()

Declaration

cs-api-definition
protected override void ChangeVisualState()

Overrides ButtonToolbarItemView.ChangeVisualState()

OnPropertyChanged(string)

Declaration

cs-api-definition
protected override void OnPropertyChanged(string propertyName = null)

Parameters

propertyName

string

Overrides RadCompositeContentView.OnPropertyChanged(string)

Events

IsOpenChanged

Raised when the IsOpen property has changed.

Declaration

cs-api-definition
public event EventHandler IsOpenChanged

Event Value

EventHandler