menu

Xamarin.Forms

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class SfLabel - Xamarin.Forms API Reference | Syncfusion

    Show / Hide Table of Contents

    Class SfLabel

    A customized Xamarin.Forms.View that displays text in single-line as well as multi-lines.

    Inheritance
    System.Object
    SfLabel
    Namespace: Syncfusion.SfDataGrid.XForms
    Assembly: Syncfusion.SfDataGrid.XForms.dll
    Syntax
    public class SfLabel : Label

    Constructors

    SfLabel()

    Initializes a new instance of the SfLabel class.

    Declaration
    public SfLabel()

    Fields

    ClipProperty

    Identifies the Clip Xamarin.Forms.BindableProperty.

    Declaration
    public static readonly BindableProperty ClipProperty
    Field Value
    Type
    Xamarin.Forms.BindableProperty
    Remarks

    This Xamarin.Forms.BindableProperty is read-only.

    TextProperty

    Identifies the Text Xamarin.Forms.BindableProperty.

    Declaration
    public static readonly BindableProperty TextProperty
    Field Value
    Type
    Xamarin.Forms.BindableProperty
    Remarks

    This Xamarin.Forms.BindableProperty is read-only.

    Properties

    Clip

    Gets or sets the clip value of the SfLabel.

    Declaration
    public Rectangle Clip { get; set; }
    Property Value
    Type Description
    Xamarin.Forms.Rectangle

    The clip value of the SfLabel.

    Text

    Gets or sets the text of the SfLabel.

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

    The text of the SfLabel.

    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved