Class ToolbarListItemView
Visual representation of an item in the ListPickerButtonToolbarItemViewContent.
Inheritance
Inherited Members
Namespace: Telerik.Maui.Controls
Assembly: Telerik.Maui.Controls.dll
Syntax
public class ToolbarListItemView : ToolbarContentView, IRadContentView, IContentView, IPadding, ICrossPlatformLayout, IToolStripClickableView, IToolStripSelectableView, IToolStripView, IToolStripElement, IVisualTreeElement, IView, IElement, ITransform
Constructors
ToolbarListItemView()
Declaration
public ToolbarListItemView()
Fields
ContentTemplateProperty
Identifies the ContentTemplate property.
Declaration
public static readonly BindableProperty ContentTemplateProperty
Field Value
Microsoft.Maui.Controls.BindableProperty
|
DisplayMemberPathProperty
Identifies the DisplayMemberPath property.
Declaration
public static readonly BindableProperty DisplayMemberPathProperty
Field Value
Microsoft.Maui.Controls.BindableProperty
|
DisplayStringFormatProperty
Identifies the DisplayStringFormat property.
Declaration
public static readonly BindableProperty DisplayStringFormatProperty
Field Value
Microsoft.Maui.Controls.BindableProperty
|
DisplayValueConverterProperty
Identifies the DisplayValueConverter property.
Declaration
public static readonly BindableProperty DisplayValueConverterProperty
Field Value
Microsoft.Maui.Controls.BindableProperty
|
FontAttributesProperty
Identifies the FontAttributes property.
Declaration
public static readonly BindableProperty FontAttributesProperty
Field Value
Microsoft.Maui.Controls.BindableProperty
|
FontFamilyProperty
Identifies the FontFamily property.
Declaration
public static readonly BindableProperty FontFamilyProperty
Field Value
Microsoft.Maui.Controls.BindableProperty
|
FontSizeProperty
Identifies the FontSize property.
Declaration
public static readonly BindableProperty FontSizeProperty
Field Value
Microsoft.Maui.Controls.BindableProperty
|
HorizontalTextAlignmentProperty
Identifies the HorizontalTextAlignment property.
Declaration
public static readonly BindableProperty HorizontalTextAlignmentProperty
Field Value
Microsoft.Maui.Controls.BindableProperty
|
IsSelectedProperty
Identifies the IsSelected property.
Declaration
public static readonly BindableProperty IsSelectedProperty
Field Value
Microsoft.Maui.Controls.BindableProperty
|
TextColorProperty
Identifies the TextColor property.
Declaration
public static readonly BindableProperty TextColorProperty
Field Value
Microsoft.Maui.Controls.BindableProperty
|
TextDecorationsProperty
Identifies the TextDecorations property.
Declaration
public static readonly BindableProperty TextDecorationsProperty
Field Value
Microsoft.Maui.Controls.BindableProperty
|
VerticalTextAlignmentProperty
Identifies the VerticalTextAlignment property.
Declaration
public static readonly BindableProperty VerticalTextAlignmentProperty
Field Value
Microsoft.Maui.Controls.BindableProperty
|
Properties
ContentTemplate
Gets or sets the Microsoft.Maui.Controls.DataTemplate that defines the visual representation this view. When set to null, the control displays the text representation this view.
Declaration
public DataTemplate ContentTemplate { get; set; }
Property Value
Microsoft.Maui.Controls.DataTemplate
|
DisplayMemberPath
Gets or sets a path to the property used to display the items of the ToolbarListItemView.
Declaration
public string DisplayMemberPath { get; set; }
Property Value
System.String
|
DisplayStringFormat
Gets or sets the string format used to display the items of the ToolbarListItemView.
Declaration
public string DisplayStringFormat { get; set; }
Property Value
System.String
|
DisplayValueConverter
Gets or sets a Microsoft.Maui.Controls.IValueConverter used to display the items of the ToolbarListItemView.
Declaration
public IValueConverter DisplayValueConverter { get; set; }
Property Value
Microsoft.Maui.Controls.IValueConverter
|
FontAttributes
Gets or sets the font attributes of the text. For more information see the FontAttributes type.
Declaration
public FontAttributes FontAttributes { get; set; }
Property Value
Microsoft.Maui.Controls.FontAttributes
|
FontFamily
Gets or sets the font family of the text.
Declaration
public string FontFamily { get; set; }
Property Value
System.String
|
FontSize
Gets or sets the font size of the text.
Declaration
public double FontSize { get; set; }
Property Value
System.Double
|
HorizontalTextAlignment
Gets or sets the horizontal alignment of the text. For more information see the Microsoft.Maui.TextAlignment type.
Declaration
public TextAlignment HorizontalTextAlignment { get; set; }
Property Value
Microsoft.Maui.TextAlignment
|
IsSelected
Gets a value indicating whether the item is selected.
Declaration
public bool IsSelected { get; }
Property Value
System.Boolean
|
TextColor
Gets or sets the color of the text.
Declaration
public Color TextColor { get; set; }
Property Value
Microsoft.Maui.Graphics.Color
|
TextDecorations
Gets or sets the decorations of the text. For more information see the TextDecorations type.
Declaration
public TextDecorations TextDecorations { get; set; }
Property Value
Microsoft.Maui.TextDecorations
|
VerticalTextAlignment
Gets or sets the vertical alignment of the text. For more information see the Microsoft.Maui.TextAlignment type.
Declaration
public TextAlignment VerticalTextAlignment { get; set; }
Property Value
Microsoft.Maui.TextAlignment
|
Methods
ChangeVisualState()
Declaration
protected override void ChangeVisualState()
OnHandlerChanged()
Declaration
protected override void OnHandlerChanged()
Overrides
Events
Clicked
Raised when the item is clicked.
Declaration
public event EventHandler Clicked
Event Type
System.EventHandler
|
IsSelectedChanged
Raised when the IsSelected property has changed.
Declaration
public event EventHandler IsSelectedChanged
Event Type
System.EventHandler
|