LabelToolbarItemView
Visual representation of a label in the RadToolbar control. The label can display a text and optionally an image next to it.
Definition
Namespace:Telerik.Maui.Controls
Assembly:Telerik.Maui.Controls.dll
Syntax:
public class LabelToolbarItemView : ToolbarItemView, IRadContentView, IContentView, IPadding, ICrossPlatformLayout, IVisualTreeElement, IView, IElement, ITransform
Inheritance: objectRadContentViewRadCompositeContentViewRadBorderContentViewToolbarContentViewToolbarItemViewLabelToolbarItemView...
Derived Classes:
Implements:
Inherited Members
Constructors
public LabelToolbarItemView()
Fields
ActualImageSourceProperty
BindableProperty
Identifies the ActualImageSource property.
public static readonly BindableProperty ActualImageSourceProperty
DisplayOptionsProperty
BindableProperty
Identifies the DisplayOptions property.
public static readonly BindableProperty DisplayOptionsProperty
FontAttributesProperty
BindableProperty
Identifies the FontAttributes property.
public static readonly BindableProperty FontAttributesProperty
FontFamilyProperty
BindableProperty
Identifies the FontFamily property.
public static readonly BindableProperty FontFamilyProperty
FontSizeProperty
BindableProperty
Identifies the FontSize property.
public static readonly BindableProperty FontSizeProperty
HorizontalContentOptionsProperty
BindableProperty
Identifies the HorizontalContentOptions property.
public static readonly BindableProperty HorizontalContentOptionsProperty
HorizontalTextAlignmentProperty
BindableProperty
Identifies the HorizontalTextAlignment property.
public static readonly BindableProperty HorizontalTextAlignmentProperty
ImageAspectProperty
BindableProperty
Identifies the ImageAspect property.
public static readonly BindableProperty ImageAspectProperty
ImageHeightProperty
BindableProperty
Identifies the ImageHeight property.
public static readonly BindableProperty ImageHeightProperty
ImagePositionProperty
BindableProperty
Identifies the ImagePosition property.
public static readonly BindableProperty ImagePositionProperty
ImageSourceProperty
BindableProperty
Identifies the ImageSource property.
public static readonly BindableProperty ImageSourceProperty
ImageSpacingProperty
BindableProperty
Identifies the ImageSpacing property.
public static readonly BindableProperty ImageSpacingProperty
ImageWidthProperty
BindableProperty
Identifies the ImageWidth property.
public static readonly BindableProperty ImageWidthProperty
TextColorProperty
BindableProperty
Identifies the TextColor property.
public static readonly BindableProperty TextColorProperty
TextDecorationsProperty
BindableProperty
Identifies the TextDecorations property.
public static readonly BindableProperty TextDecorationsProperty
TextProperty
BindableProperty
Identifies the Text property.
public static readonly BindableProperty TextProperty
VerticalContentOptionsProperty
BindableProperty
Identifies the VerticalContentOptions property.
public static readonly BindableProperty VerticalContentOptionsProperty
VerticalTextAlignmentProperty
BindableProperty
Identifies the VerticalTextAlignment property.
public static readonly BindableProperty VerticalTextAlignmentProperty
Properties
ActualImageSource
ImageSource
Gets the actual ImageSource used to display the image in the toolbar item. This property is intended to work in combination with the FontImageSource type. When a FontImageSource is specified and no color is explicitly assigned to it, this property contains the modified FontImageSource to match the value of the current TextColor of the toolbar item. When the TextColor changes, the color of the FontImageSource is updated automatically. This is useful for changing the color of the image during visual state transitions, without having to provide different images for each possible visual state.
public ImageSource ActualImageSource { get; }
Gets or sets the display options of the toolbar item. For more information see the ToolbarItemDisplayOptions type.
public ToolbarItemDisplayOptions DisplayOptions { get; set; }
FontAttributes
FontAttributes
Gets or sets the font attributes of the text to display in the toolbar item. For more information see the FontAttributes type.
public FontAttributes FontAttributes { get; set; }
Gets or sets the font family of the text to display in the toolbar item.
public string FontFamily { get; set; }
Gets or sets the font size of the text to display in the toolbar item.
[TypeConverter(typeof(FontSizeConverter))]
public double FontSize { get; set; }
HorizontalContentOptions
LayoutOptions
Gets or sets the horizontal alignment options of the content displayed in the toolbar item. For more information see the LayoutOptions type.
public LayoutOptions HorizontalContentOptions { get; set; }
HorizontalTextAlignment
TextAlignment
Gets or sets the horizontal alignment of the text to display in the toolbar item. For more information see the TextAlignment type.
public TextAlignment HorizontalTextAlignment { get; set; }
ImageAspect
Aspect
Gets or sets the aspect ratio of the image to display in the toolbar item. For more information see the Aspect type.
public Aspect ImageAspect { get; set; }
Gets or sets the height in pixels of the image to display in the toolbar item.
public double ImageHeight { get; set; }
Gets or sets the position of the image relative to the text in the toolbar item. For more information see the ToolbarItemImagePosition type.
public ToolbarItemImagePosition ImagePosition { get; set; }
ImageSource
ImageSource
Gets or sets the source of the image to display in the toolbar item. For more information see the ImageSource type.
public ImageSource ImageSource { get; set; }
Gets or sets the spacing in pixels between the image and the text in the toolbar item.
public double ImageSpacing { get; set; }
Gets or sets the width in pixels of the image to display in the toolbar item.
public double ImageWidth { get; set; }
TextColor
Color
Gets or sets the color of the text to display in the toolbar item.
public Color TextColor { get; set; }
TextDecorations
TextDecorations
Gets or sets the decorations of the text to display in the toolbar item. For more information see the TextDecorations type.
public TextDecorations TextDecorations { get; set; }
VerticalContentOptions
LayoutOptions
Gets or sets the vertical alignment options of the content displayed in the toolbar item. For more information see the LayoutOptions type.
public LayoutOptions VerticalContentOptions { get; set; }
VerticalTextAlignment
TextAlignment
Gets or sets the vertical alignment of the text to display in the toolbar item. For more information see the TextAlignment type.
public TextAlignment VerticalTextAlignment { get; set; }