Class RadLabel
Inherited Members
Namespace: Telerik.WinControls.UI
Assembly: Telerik.WinControls.UI.dll
Syntax
public class RadLabel : RadControl, INotifyPropertyChanged, ISupportInitializeNotification, ISupportInitialize, IComponentTreeHandler, ILayoutHandler, IPCHost, IAnalyticsProvider
Constructors
RadLabel()
Declaration
public RadLabel()
Properties
AutoSize
Gets or sets a value indicating whether the control is automatically resized to display its entire contents.
Declaration
public override bool AutoSize { get; set; }
Property Value
System.Boolean
|
Overrides
BorderVisible
Gets or sets a value indicating whether the border is visible
Declaration
public bool BorderVisible { get; set; }
Property Value
System.Boolean
|
DefaultSize
Declaration
protected override Size DefaultSize { get; }
Property Value
System.Drawing.Size
|
Image
Declaration
public Image Image { get; set; }
Property Value
System.Drawing.Image
|
ImageAlignment
Gets or sets the alignment of image content on the drawing surface.
Declaration
public ContentAlignment ImageAlignment { get; set; }
Property Value
System.Drawing.ContentAlignment
|
ImageIndex
Declaration
public int ImageIndex { get; set; }
Property Value
System.Int32
|
ImageKey
Declaration
public virtual string ImageKey { get; set; }
Property Value
System.String
|
LabelElement
Gets the instance of RadLabelElement wrapped by this control. RadLabelElement is the main element in the hierarchy tree and encapsulates the actual functionality of RadLabel.
Declaration
public RadLabelElement LabelElement { get; }
Property Value
RadLabelElement
|
SvgImage
Gets or sets the Svg Image.
Declaration
public RadSvgImage SvgImage { get; set; }
Property Value
RadSvgImage
|
SvgImageXml
Gets or sets the Svg Image as string.
Declaration
public string SvgImageXml { get; set; }
Property Value
System.String
|
TabStop
Declaration
public bool TabStop { get; set; }
Property Value
System.Boolean
|
TextAlignment
Gets or sets the alignment of text content on the drawing surface.
Declaration
public ContentAlignment TextAlignment { get; set; }
Property Value
System.Drawing.ContentAlignment
|
TextImageRelation
Gets or sets the position of text and image relative to each other.
Declaration
public TextImageRelation TextImageRelation { get; set; }
Property Value
System.Windows.Forms.TextImageRelation
|
TextWrap
true if the text should wrap to the available layout rectangle otherwise, false. The default is true
Declaration
public bool TextWrap { get; set; }
Property Value
System.Boolean
|
UseMnemonic
If true, the first character preceded by an ampersand will be used as the label's mnemonic key
Declaration
public bool UseMnemonic { get; set; }
Property Value
System.Boolean
|
Methods
CreateAccessibilityInstance()
Declaration
protected override AccessibleObject CreateAccessibilityInstance()
Returns
System.Windows.Forms.AccessibleObject
|
CreateChildItems(RadElement)
Declaration
protected override void CreateChildItems(RadElement parent)
Parameters
RadElement
parent
|
Overrides
CreateLabelElement()
CreateRootElement()
OnNotifyPropertyChanged(String)
Declaration
protected override void OnNotifyPropertyChanged(string propertyName)
Parameters
System.String
propertyName
|
Overrides
OnTextChanged(EventArgs)
Declaration
protected override void OnTextChanged(EventArgs e)
Parameters
System.EventArgs
e
|
ProcessMnemonic(Char)
Declaration
protected override bool ProcessMnemonic(char charCode)
Parameters
System.Char
charCode
|
Returns
System.Boolean
|
Overrides
ResetBackColorThemeOverrides()
Declaration
protected override void ResetBackColorThemeOverrides()
Overrides
ResetForeColorThemeOverrides()
Declaration
protected override void ResetForeColorThemeOverrides()
Overrides
SetBackColorThemeOverrides()
Declaration
protected override void SetBackColorThemeOverrides()
Overrides
SetForeColorThemeOverrides()
Declaration
protected override void SetForeColorThemeOverrides()