Class RadLabelElement
Inheritance
Inherited Members
Namespace: Telerik.WinControls.UI
Assembly: Telerik.WinControls.UI.dll
Syntax
public class RadLabelElement : RadItem, INotifyPropertyChanged, ICustomTypeDescriptor, ISupportSystemSkin, IComponent, IDisposable, IBindableComponent, ISupportDrag, ISupportDrop, IShortcutProvider, IStylableElement, IStylableNode
Constructors
RadLabelElement()
Declaration
public RadLabelElement()
Fields
BorderVisibleProperty
DisplayStyleProperty
ImageAlignmentProperty
ImageIndexProperty
ImageKeyProperty
ImageProperty
SvgImageProperty
TextAlignmentProperty
TextImageRelationProperty
Properties
BorderVisible
Declaration
[RadPropertyDefaultValue("BorderVisible", typeof(RadLabelElement))]
public bool BorderVisible { get; set; }
Property Value
System.Boolean
|
Image
Gets or sets the image that is displayed on a button element.
Declaration
[RadPropertyDefaultValue("Image", typeof(RadLabelElement))]
public virtual Image Image { get; set; }
Property Value
System.Drawing.Image
|
ImageAlignment
Gets or sets the alignment of image content on the drawing surface.
Declaration
[RadPropertyDefaultValue("ImageAlignment", typeof(RadLabelElement))]
public virtual ContentAlignment ImageAlignment { get; set; }
Property Value
System.Drawing.ContentAlignment
|
ImageIndex
Gets or sets the image list index value of the image displayed on the button control.
Declaration
[RadPropertyDefaultValue("ImageIndex", typeof(RadLabelElement))]
public virtual int ImageIndex { get; set; }
Property Value
System.Int32
|
ImageKey
Gets or sets the key accessor for the image in the ImageList.
Declaration
[RadPropertyDefaultValue("ImageKey", typeof(RadLabelElement))]
public virtual string ImageKey { get; set; }
Property Value
System.String
|
LabelBorder
Gets the BorderPrimitive responsible for painting the image part of the label.
Declaration
public BorderPrimitive LabelBorder { get; }
Property Value
BorderPrimitive
|
LabelFill
Gets the element responsible for painting the background of the label
Declaration
public FillPrimitive LabelFill { get; }
Property Value
FillPrimitive
|
LabelImage
Gets the image element responsible for painting the image part of the label.
Declaration
public ImagePrimitive LabelImage { get; }
Property Value
ImagePrimitive
|
LabelText
Gets the element responsible for painting the text of the label
Declaration
public TextPrimitive LabelText { get; }
Property Value
TextPrimitive
|
SvgImage
Gets or sets the vector image that is displayed on a button element.
Declaration
[RadPropertyDefaultValue("SvgImage", typeof(RadButtonItem))]
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
|
TextAlignment
Gets or sets the alignment of text content on the drawing surface.
Declaration
[RadPropertyDefaultValue("TextAlignment", typeof(RadLabelElement))]
public virtual ContentAlignment TextAlignment { get; set; }
Property Value
System.Drawing.ContentAlignment
|
TextImageRelation
Gets or sets the position of text and image relative to each other.
Declaration
[RadPropertyDefaultValue("TextImageRelation", typeof(RadLabelElement))]
public virtual TextImageRelation TextImageRelation { get; set; }
Property Value
System.Windows.Forms.TextImageRelation
|
TextWrap
Declaration
[RadPropertyDefaultValue("TextWrap", typeof(TextPrimitive))]
public bool TextWrap { get; set; }
Property Value
System.Boolean
|
UseMnemonic
Declaration
[RadDefaultValue("UseMnemonic", typeof(TextPrimitive))]
[RadDescription("UseMnemonic", typeof(TextPrimitive))]
public bool UseMnemonic { get; set; }
Property Value
System.Boolean
|
Methods
CreateChildElements()
Declaration
protected override void CreateChildElements()
Overrides
MeasureOverride(SizeF)
Declaration
protected override SizeF MeasureOverride(SizeF availableSize)
Parameters
System.Drawing.SizeF
availableSize
|
Returns
System.Drawing.SizeF
|
Overrides
OnPropertyChanged(RadPropertyChangedEventArgs)
Declaration
protected override void OnPropertyChanged(RadPropertyChangedEventArgs e)
Parameters
RadPropertyChangedEventArgs
e
|
Overrides
ShouldSerializeProperty(PropertyDescriptor)
Declaration
public override bool? ShouldSerializeProperty(PropertyDescriptor property)
Parameters
System.ComponentModel.PropertyDescriptor
property
|
Returns
System.Nullable<System.Boolean>
|