skip navigation
  • Product Bundles

    DevCraft

    All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with:

    • NEW: Design Kits for Figma
    • Online Training
    • Document Processing Library
    • Embedded Reporting for web and desktop

    Web

    Kendo UI UI for Angular UI for Vue UI for jQuery KendoReact UI for Blazor UI for ASP.NET Core UI for ASP.NET MVC UI for ASP.NET AJAX

    Mobile

    UI for .NET MAUI

    Document Management

    Telerik Document Processing

    Desktop

    UI for .NET MAUI UI for WinUI UI for WinForms UI for WPF

    Reporting

    Telerik Reporting Telerik Report Server

    Testing & Mocking

    Test Studio Telerik JustMock

    CMS

    Sitefinity

    AI Productivity Tools

    AI Coding Assistants

    UI/UX Tools

    ThemeBuilder Design System Kit Templates and Building Blocks

    Debugging

    Fiddler Fiddler Everywhere Fiddler Classic Fiddler Everywhere Reporter FiddlerCore

    Free Tools

    KendoReact Free VB.NET to C# Converter Testing Framework
    View all products
  • Overview
  • Demos
    • What's New
    • Roadmap
    • Release History
  • Support and Learning

    • Support and Learning Hub
    • Resources Hub
    • .NET MAUI Tutorials and Learning
    • First Steps
    • Submit a Ticket
    • FAQs

    Docs & Resources

    • Docs
    • Demos
    • Migrate to .NET MAUI
    • Forums
    • Videos
    • Blogs

    Productivity and Design Tools

    • Visual Studio Templates
    • Embedded Reporting
  • Pricing
  • Shopping cart
    • Account Overview
    • Your Licenses
    • Downloads
    • Support Center
    • Forum Profile
    • Payment Methods
    • Edit Profile
    • Log out
  • Login
  • Contact Us
  • Try now

Class LabelToolbarItemView

Visual representation of a label in the RadToolbar control. The label can display a text and optionally an image next to it.

Inheritance
System.Object
RadContentView
RadCompositeContentView
RadBorderContentView
ToolbarContentView
ToolbarItemView
LabelToolbarItemView
ButtonToolbarItemView
Inherited Members
ToolbarItemView.OrientationProperty
ToolbarItemView.PlacementLocationProperty
ToolbarItemView.ToolbarProperty
ToolbarItemView.Orientation
ToolbarItemView.PlacementLocation
ToolbarItemView.Toolbar
RadBorderContentView.BackgroundColorProperty
RadBorderContentView.BackgroundProperty
RadBorderContentView.BorderColorProperty
RadBorderContentView.BorderBrushProperty
RadBorderContentView.BorderThicknessProperty
RadBorderContentView.CornerRadiusProperty
RadBorderContentView.ContentPaddingProperty
RadBorderContentView.BackgroundColor
RadBorderContentView.Background
RadBorderContentView.BorderColor
RadBorderContentView.BorderBrush
RadBorderContentView.BorderThickness
RadBorderContentView.CornerRadius
RadBorderContentView.ContentPadding
RadCompositeContentView.StyleProperty
RadCompositeContentView.ControlTemplateProperty
RadCompositeContentView.OnApplyTemplate()
RadCompositeContentView.OnBindingContextChanged()
RadCompositeContentView.OnPropertyChanged(String)
RadCompositeContentView.Style
RadCompositeContentView.ControlTemplate
RadContentView.ActualStyleClassProperty
RadContentView.OnChildAdded(Element)
RadContentView.OnChildRemoved(Element, Int32)
RadContentView.OnHandlerChanged()
RadContentView.ActualStyleClass
Namespace: Telerik.Maui.Controls
Assembly: Telerik.Maui.Controls.dll

Syntax

public class LabelToolbarItemView : ToolbarItemView, IRadContentView, IContentView, IPadding, ICrossPlatformLayout, IToolStripView, IToolStripElement, IVisualTreeElement, IView, IElement, ITransform

Constructors

LabelToolbarItemView()

Declaration
public LabelToolbarItemView()

Fields

ActualImageSourceProperty

Identifies the ActualImageSource property.

Declaration
public static readonly BindableProperty ActualImageSourceProperty
Field Value
Microsoft.Maui.Controls.BindableProperty

DisplayOptionsProperty

Identifies the DisplayOptions property.

Declaration
public static readonly BindableProperty DisplayOptionsProperty
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

HorizontalContentOptionsProperty

Identifies the HorizontalContentOptions property.

Declaration
public static readonly BindableProperty HorizontalContentOptionsProperty
Field Value
Microsoft.Maui.Controls.BindableProperty

HorizontalTextAlignmentProperty

Identifies the HorizontalTextAlignment property.

Declaration
public static readonly BindableProperty HorizontalTextAlignmentProperty
Field Value
Microsoft.Maui.Controls.BindableProperty

ImageAspectProperty

Identifies the ImageAspect property.

Declaration
public static readonly BindableProperty ImageAspectProperty
Field Value
Microsoft.Maui.Controls.BindableProperty

ImageHeightProperty

Identifies the ImageHeight property.

Declaration
public static readonly BindableProperty ImageHeightProperty
Field Value
Microsoft.Maui.Controls.BindableProperty

ImagePositionProperty

Identifies the ImagePosition property.

Declaration
public static readonly BindableProperty ImagePositionProperty
Field Value
Microsoft.Maui.Controls.BindableProperty

ImageSourceProperty

Identifies the ImageSource property.

Declaration
public static readonly BindableProperty ImageSourceProperty
Field Value
Microsoft.Maui.Controls.BindableProperty

ImageSpacingProperty

Identifies the ImageSpacing property.

Declaration
public static readonly BindableProperty ImageSpacingProperty
Field Value
Microsoft.Maui.Controls.BindableProperty

ImageWidthProperty

Identifies the ImageWidth property.

Declaration
public static readonly BindableProperty ImageWidthProperty
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

TextProperty

Identifies the Text property.

Declaration
public static readonly BindableProperty TextProperty
Field Value
Microsoft.Maui.Controls.BindableProperty

VerticalContentOptionsProperty

Identifies the VerticalContentOptions property.

Declaration
public static readonly BindableProperty VerticalContentOptionsProperty
Field Value
Microsoft.Maui.Controls.BindableProperty

VerticalTextAlignmentProperty

Identifies the VerticalTextAlignment property.

Declaration
public static readonly BindableProperty VerticalTextAlignmentProperty
Field Value
Microsoft.Maui.Controls.BindableProperty

Properties

ActualImageSource

Gets the actual ImageSource used to display the image in the toolbar item. This property is intended to work in combination with the Microsoft.Maui.Controls.FontImageSource type. When a Microsoft.Maui.Controls.FontImageSource is specified and no color is explicitly assigned to it, this property contains the modified Microsoft.Maui.Controls.FontImageSource to match the value of the current TextColor of the toolbar item. When the TextColor changes, the color of the Microsoft.Maui.Controls.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.

Declaration
public ImageSource ActualImageSource { get; }
Property Value
Microsoft.Maui.Controls.ImageSource

DisplayOptions

Gets or sets the display options of the toolbar item. For more information see the ToolbarItemDisplayOptions type.

Declaration
public ToolbarItemDisplayOptions DisplayOptions { get; set; }
Property Value
ToolbarItemDisplayOptions

FontAttributes

Gets or sets the font attributes of the text to display in the toolbar item. 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 to display in the toolbar item.

Declaration
public string FontFamily { get; set; }
Property Value
System.String

FontSize

Gets or sets the font size of the text to display in the toolbar item.

Declaration
public double FontSize { get; set; }
Property Value
System.Double

HorizontalContentOptions

Gets or sets the horizontal alignment options of the content displayed in the toolbar item. For more information see the Microsoft.Maui.Controls.LayoutOptions type.

Declaration
public LayoutOptions HorizontalContentOptions { get; set; }
Property Value
Microsoft.Maui.Controls.LayoutOptions

HorizontalTextAlignment

Gets or sets the horizontal alignment of the text to display in the toolbar item. For more information see the Microsoft.Maui.TextAlignment type.

Declaration
public TextAlignment HorizontalTextAlignment { get; set; }
Property Value
Microsoft.Maui.TextAlignment

ImageAspect

Gets or sets the aspect ratio of the image to display in the toolbar item. For more information see the Microsoft.Maui.Aspect type.

Declaration
public Aspect ImageAspect { get; set; }
Property Value
Microsoft.Maui.Aspect

ImageHeight

Gets or sets the height in pixels of the image to display in the toolbar item.

Declaration
public double ImageHeight { get; set; }
Property Value
System.Double

ImagePosition

Gets or sets the position of the image relative to the text in the toolbar item. For more information see the ToolbarItemImagePosition type.

Declaration
public ToolbarItemImagePosition ImagePosition { get; set; }
Property Value
ToolbarItemImagePosition

ImageSource

Gets or sets the source of the image to display in the toolbar item. For more information see the ImageSource type.

Declaration
public ImageSource ImageSource { get; set; }
Property Value
Microsoft.Maui.Controls.ImageSource

ImageSpacing

Gets or sets the spacing in pixels between the image and the text in the toolbar item.

Declaration
public double ImageSpacing { get; set; }
Property Value
System.Double

ImageWidth

Gets or sets the width in pixels of the image to display in the toolbar item.

Declaration
public double ImageWidth { get; set; }
Property Value
System.Double

Text

Gets or sets the text to display in the toolbar item.

Declaration
public string Text { get; set; }
Property Value
System.String

TextColor

Gets or sets the color of the text to display in the toolbar item.

Declaration
public Color TextColor { get; set; }
Property Value
Microsoft.Maui.Graphics.Color

TextDecorations

Gets or sets the decorations of the text to display in the toolbar item. For more information see the TextDecorations type.

Declaration
public TextDecorations TextDecorations { get; set; }
Property Value
Microsoft.Maui.TextDecorations

VerticalContentOptions

Gets or sets the vertical alignment options of the content displayed in the toolbar item. For more information see the Microsoft.Maui.Controls.LayoutOptions type.

Declaration
public LayoutOptions VerticalContentOptions { get; set; }
Property Value
Microsoft.Maui.Controls.LayoutOptions

VerticalTextAlignment

Gets or sets the vertical alignment of the text to display in the toolbar item. For more information see the Microsoft.Maui.TextAlignment type.

Declaration
public TextAlignment VerticalTextAlignment { get; set; }
Property Value
Microsoft.Maui.TextAlignment

Extension Methods

AndroidTypeConversionExtensions.ToJavaObject(Object)
Sample Applications
  • Controls Samples App
  • Crypto Tracker App
Support Resources
  • .NET MAUI SDKBrowser App
Community
  • Forums
  • Blogs
  • Feedback Portal
  • YouTube Channel

Copyright © 2018 Progress Software Corporation and/or its subsidiaries or affiliates.
All Rights Reserved.

Progress, Telerik, and certain product names used herein are trademarks or registered trademarks of Progress Software Corporation and/or one of its subsidiaries or affiliates in the U.S. and/or other countries. See Trademarks for appropriate markings.