Class ImageAndTextLayoutPanel
Represents a panel with two children an image element and a text element
Inherited Members
Namespace: Telerik.WinControls.Layouts
Assembly: Telerik.WinControls.dll
Syntax
public class ImageAndTextLayoutPanel : LayoutPanel, IDisposable, INotifyPropertyChanged, ICustomTypeDescriptor, ISupportSystemSkin, IStylableNode
Constructors
ImageAndTextLayoutPanel()
Declaration
public ImageAndTextLayoutPanel()
Fields
DisplayStyleProperty
ImageAlignmentProperty
IsImagePrimitiveProperty
IsTextPrimitiveProperty
TextAlignmentProperty
TextImageRelationProperty
Properties
DisplayStyle
Gets or sets a value indicating the DisplayStyle: None, Image, Text and ImageAndText.
Declaration
[RadPropertyDefaultValue("DisplayStyle", typeof(ImageAndTextLayoutPanel))]
public DisplayStyle DisplayStyle { get; set; }
Property Value
DisplayStyle
|
ImageAlignment
Gets or sets a value indicating the image alignment.
Declaration
[RadPropertyDefaultValue("ImageAlignment", typeof(ImageAndTextLayoutPanel))]
public ContentAlignment ImageAlignment { get; set; }
Property Value
System.Drawing.ContentAlignment
|
TextAlignment
Gets or sets a value indicating text alignment.
Declaration
[RadPropertyDefaultValue("TextAlignment", typeof(ImageAndTextLayoutPanel))]
public ContentAlignment TextAlignment { get; set; }
Property Value
System.Drawing.ContentAlignment
|
TextImageRelation
Gets or sets a value indicating the TextImageRelation: ImageAboveText, ImageBeforeText, Overlay, TextAboveImage, and TextBeforeImage.
Declaration
[RadPropertyDefaultValue("TextImageRelation", typeof(ImageAndTextLayoutPanel))]
public TextImageRelation TextImageRelation { get; set; }
Property Value
System.Windows.Forms.TextImageRelation
|
Methods
ArrangeOverride(SizeF)
Declaration
protected override SizeF ArrangeOverride(SizeF finalSize)
Parameters
System.Drawing.SizeF
finalSize
|
Returns
System.Drawing.SizeF
|
Overrides
DisposeManagedResources()
Declaration
protected override void DisposeManagedResources()
Overrides
MeasureOverride(SizeF)
Declaration
protected override SizeF MeasureOverride(SizeF availableSize)
Parameters
System.Drawing.SizeF
availableSize
|
Returns
System.Drawing.SizeF
|
Overrides
OnChildrenChanged(RadElement, ItemsChangeOperation)
Declaration
protected override void OnChildrenChanged(RadElement child, ItemsChangeOperation changeOperation)
Parameters
RadElement
child
|
ItemsChangeOperation
changeOperation
|
Overrides
OnLoaded()
OnPropertyChanged(RadPropertyChangedEventArgs)
Declaration
protected override void OnPropertyChanged(RadPropertyChangedEventArgs e)
Parameters
RadPropertyChangedEventArgs
e
|