Class LayoutControlItem
Represents an item of Rad
Inheritance
Inherited Members
Namespace: Telerik.WinControls.UI
Assembly: Telerik.WinControls.UI.dll
Syntax
public class LayoutControlItem : LayoutControlItemBase, INotifyPropertyChanged, ICustomTypeDescriptor, ISupportSystemSkin, IComponent, IDisposable, IBindableComponent, ISupportDrag, ISupportDrop, IShortcutProvider, IStylableElement, IStylableNode, IPrimitiveElement, IShapedElement, IFillElement, IBorderElement, IBoxStyle, IBoxElement, IImageElement, ITextPrimitive, ITextProvider
Constructors
LayoutControlItem()
Declaration
public LayoutControlItem()
Properties
AssociatedControl
Gets or sets the control associated with this item.
Declaration
public Control AssociatedControl { get; set; }
Property Value
System.
|
AssociatedControlName
Declaration
public string AssociatedControlName { get; set; }
Property Value
System.
|
ControlVerticalAlignment
Gets or sets the position of the text of the item.
Declaration
public RadVerticalAlignment ControlVerticalAlignment { get; set; }
Property Value
TextFixedSize
Gets or sets the fixed size of the text part which will be used when TextSizeMode is set to fixed.
Declaration
public int TextFixedSize { get; set; }
Property Value
System.
|
TextMaxSize
Gets or sets the maximum size of the text part.
Declaration
public int TextMaxSize { get; set; }
Property Value
System.
|
TextMinSize
Gets or sets the minimum size of the text part.
Declaration
public int TextMinSize { get; set; }
Property Value
System.
|
TextPosition
Gets or sets the position of the text of the item.
Declaration
public virtual LayoutItemTextPosition TextPosition { get; set; }
Property Value
TextProportionalSize
Gets or sets the proportional size of the text part which will be used when TextSizeMode is set to proportional.
Declaration
public float TextProportionalSize { get; set; }
Property Value
System.
|
TextSizeMode
Gets or sets the way in which the text part will be sized - proportionally or fixed-size.
Declaration
public LayoutItemTextSizeMode TextSizeMode { get; set; }
Property Value
Methods
ArrangeOverride(SizeF)
Declaration
protected override SizeF ArrangeOverride(SizeF finalSize)
Parameters
System.
|
Returns
System.
|
Overrides
CreateChildElements()
Declaration
protected override void CreateChildElements()
Overrides
GetAlignedControlRectangle(Rectangle)
Declaration
protected virtual Rectangle GetAlignedControlRectangle(Rectangle controlArrangeRect)
Parameters
System.
|
Returns
System.
|
GetControlRectangle(RectangleF)
Gets the rectangle in which the associated control will be arranged.
Declaration
protected virtual Rectangle GetControlRectangle(RectangleF clientRect)
Parameters
System. The client area of the item. |
Returns
System. The arrange rectangle of the control. |
GetTextRectangle(RectangleF)
Gets the rectangle in which the text part will be arranged.
Declaration
protected virtual RectangleF GetTextRectangle(RectangleF clientRect)
Parameters
System. The client area of the item. |
Returns
System. The arrange rectangle of the text part. |
MeasureOverride(SizeF)
Declaration
protected override SizeF MeasureOverride(SizeF availableSize)
Parameters
System.
|
Returns
System.
|
Overrides
OnLoaded()
OnNotifyPropertyChanged(PropertyChangedEventArgs)
Declaration
protected override void OnNotifyPropertyChanged(PropertyChangedEventArgs e)
Parameters
System.
|
Overrides
OnNotifyPropertyChanged(String)
Declaration
protected override void OnNotifyPropertyChanged(string propertyName)
Parameters
System.
|
Overrides
OnParentChanged(RadElement)
Declaration
protected override void OnParentChanged(RadElement previousParent)
Parameters
Rad
|
Overrides
OnPropertyChanged(RadPropertyChangedEventArgs)
Declaration
protected override void OnPropertyChanged(RadPropertyChangedEventArgs e)
Parameters
Overrides
SetAssociatedControl(Control)
Declaration
protected virtual void SetAssociatedControl(Control value)
Parameters
System.
|
UpdateControlBounds()
Updates the bounds of the associated control.
Declaration
public void UpdateControlBounds()