Class RootRadElement
Inheritance
Inherited Members
Namespace: Telerik.WinControls
Assembly: Telerik.WinControls.dll
Syntax
public class RootRadElement : RadItem, INotifyPropertyChanged, ICustomTypeDescriptor, ISupportSystemSkin, IComponent, IDisposable, IBindableComponent, ISupportDrag, ISupportDrop, IShortcutProvider, IStylableElement, IStylableNode
Constructors
RootRadElement()
Declaration
public RootRadElement()
Fields
ApplyShapeToControlProperty
AutoSizeChangedEvent
Tunnels when the AutoSize property of RadControl changes in order to notify any children that should take special actions.
Declaration
public static readonly RoutedEvent AutoSizeChangedEvent
Field Value
RoutedEvent
|
ControlBoundsProperty
ControlDefaultSizeProperty
OnRoutedImageListChanged
RootLayoutResumedEvent
Tunnels when the layout has been resumed in order to notify any children that should take special actions in this case - like RadHostItem.
Declaration
public static RoutedEvent RootLayoutResumedEvent
Field Value
RoutedEvent
|
RootLayoutSuspendedEvent
Tunnels when the layout has been suspended in order to notify any children that should take special actions in this case - like RadHostItem.
Declaration
public static RoutedEvent RootLayoutSuspendedEvent
Field Value
RoutedEvent
|
StretchChangedEvent
Tunnels when some of the stretch properties (horizontal or vertical) has changed in order to notify any children that should take special actions.
Declaration
public static readonly RoutedEvent StretchChangedEvent
Field Value
RoutedEvent
|
UsePaintCacheProperty
Properties
Alignment
Declaration
public override ContentAlignment Alignment { get; set; }
Property Value
System.Drawing.ContentAlignment
|
Overrides
AngleTransform
Declaration
public override float AngleTransform { get; set; }
Property Value
System.Single
|
Overrides
ApplyShapeToControl
Gets or sets value indicating whether the shape set to the root element would be applied as a region to the RadControl that contains the element.
Declaration
[RadPropertyDefaultValue("ApplyShapeToControl", typeof(RootRadElement))]
public bool ApplyShapeToControl { get; set; }
Property Value
System.Boolean
|
AutoSizeMode
Declaration
public override RadAutoSizeMode AutoSizeMode { get; set; }
Property Value
RadAutoSizeMode
|
Overrides
ControlBounds
Gets or sets a value corresponding to the bounding rectangle of the owning Control.
Declaration
[RadPropertyDefaultValue("ControlBounds", typeof(RootRadElement))]
public virtual Rectangle ControlBounds { get; set; }
Property Value
System.Drawing.Rectangle
|
ControlDefaultSize
When set, replaces the default control size.
Declaration
[RadPropertyDefaultValue("ControlDefaultSize", typeof(RootRadElement))]
public Size ControlDefaultSize { get; set; }
Property Value
System.Drawing.Size
|
DisableControlSizeSet
This property is used internally!
Declaration
public bool DisableControlSizeSet { get; set; }
Property Value
System.Boolean
|
FlipText
Declaration
public override bool FlipText { get; set; }
Property Value
System.Boolean
|
Overrides
ForeColor
Gets or sets the forecolor. Color type represents an ARGB color.
Declaration
public override Color ForeColor { get; set; }
Property Value
System.Drawing.Color
|
Overrides
IsElementVisible
Declaration
public override bool IsElementVisible { get; }
Property Value
System.Boolean
|
Overrides
KeyTip
Declaration
public override string KeyTip { get; set; }
Property Value
System.String
|
Overrides
Margin
Declaration
public override Padding Margin { get; set; }
Property Value
System.Windows.Forms.Padding
|
Overrides
MaxSize
Get or sets the maximum size to apply on an element when layout is calculated.
Declaration
public override Size MaxSize { get; set; }
Property Value
System.Drawing.Size
|
Overrides
MinSize
Get or sets the minimum size to apply on an element when layout is calculated.
Declaration
public override Size MinSize { get; set; }
Property Value
System.Drawing.Size
|
Overrides
Padding
Declaration
public override Padding Padding { get; set; }
Property Value
System.Windows.Forms.Padding
|
Overrides
RightToLeft
Declaration
public override bool RightToLeft { get; set; }
Property Value
System.Boolean
|
Overrides
Text
Declaration
public override string Text { get; set; }
Property Value
System.String
|
Overrides
TextOrientation
Declaration
public override Orientation TextOrientation { get; set; }
Property Value
System.Windows.Forms.Orientation
|
Overrides
ToolTipText
Declaration
public override string ToolTipText { get; set; }
Property Value
System.String
|
Overrides
UseCompatibleTextRendering
Determines whether to use compatible text rendering engine (GDI+) or not (GDI).
Declaration
public override bool UseCompatibleTextRendering { get; set; }
Property Value
System.Boolean
|
Overrides
UsePaintCache
Declaration
[RadPropertyDefaultValue("UsePaintCache", typeof(RootRadElement))]
public bool UsePaintCache { get; set; }
Property Value
System.Boolean
|
Methods
ArrangeCore(RectangleF)
Declaration
protected override void ArrangeCore(RectangleF finalRect)
Parameters
System.Drawing.RectangleF
finalRect
|
Overrides
ArrangeOverride(SizeF)
Declaration
protected override SizeF ArrangeOverride(SizeF finalSize)
Parameters
System.Drawing.SizeF
finalSize
|
Returns
System.Drawing.SizeF
|
Overrides
CoerceValue(RadPropertyValue, Object)
Declaration
protected override object CoerceValue(RadPropertyValue propVal, object baseValue)
Parameters
RadPropertyValue
propVal
|
System.Object
baseValue
|
Returns
System.Object
|
Overrides
DisposeManagedResources()
Declaration
protected override void DisposeManagedResources()
Overrides
DpiScaleChanged(SizeF)
Declaration
public override void DpiScaleChanged(SizeF scaleFactor)
Parameters
System.Drawing.SizeF
scaleFactor
|
Overrides
GetArrangeRect(RectangleF)
Declaration
protected override RectangleF GetArrangeRect(RectangleF proposed)
Parameters
System.Drawing.RectangleF
proposed
|
Returns
System.Drawing.RectangleF
|
Overrides
GetInheritedValue(RadProperty)
Declaration
protected override object GetInheritedValue(RadProperty property)
Parameters
RadProperty
property
|
Returns
System.Object
|
Overrides
InitializeFields()
MeasureCore(SizeF)
Declaration
protected override SizeF MeasureCore(SizeF availableSize)
Parameters
System.Drawing.SizeF
availableSize
|
Returns
System.Drawing.SizeF
|
Overrides
MeasureOverride(SizeF)
Declaration
protected override SizeF MeasureOverride(SizeF availableSize)
Parameters
System.Drawing.SizeF
availableSize
|
Returns
System.Drawing.SizeF
|
Overrides
NotifyControlImageListChanged()
This method is used internally.
Declaration
public void NotifyControlImageListChanged()
OnBoundsChanged(RadPropertyChangedEventArgs)
Declaration
protected override void OnBoundsChanged(RadPropertyChangedEventArgs e)
Parameters
RadPropertyChangedEventArgs
e
|
Overrides
OnControlDefaultSizeChanged(RadPropertyChangedEventArgs)
Declaration
protected virtual void OnControlDefaultSizeChanged(RadPropertyChangedEventArgs e)
Parameters
RadPropertyChangedEventArgs
e
|
OnDisplayPropertyChanged(RadPropertyChangedEventArgs)
Declaration
protected override void OnDisplayPropertyChanged(RadPropertyChangedEventArgs e)
Parameters
RadPropertyChangedEventArgs
e
|
Overrides
OnDpiScaleFactorChanged()
Declaration
protected virtual void OnDpiScaleFactorChanged()
OnLayoutPropertyChanged(RadPropertyChangedEventArgs)
Declaration
protected override void OnLayoutPropertyChanged(RadPropertyChangedEventArgs e)
Parameters
RadPropertyChangedEventArgs
e
|
Overrides
OnLoaded()
OnLocationChanged(RadPropertyChangedEventArgs)
Declaration
protected override void OnLocationChanged(RadPropertyChangedEventArgs e)
Parameters
RadPropertyChangedEventArgs
e
|
Overrides
OnPropertyChanged(RadPropertyChangedEventArgs)
Declaration
protected override void OnPropertyChanged(RadPropertyChangedEventArgs e)
Parameters
RadPropertyChangedEventArgs
e
|
Overrides
OnPropertyChanging(RadPropertyChangingEventArgs)
Declaration
protected override void OnPropertyChanging(RadPropertyChangingEventArgs args)
Parameters
RadPropertyChangingEventArgs
args
|
Overrides
Paint(IGraphics, Rectangle)
Paints the RootElement and its element tree. Intended for use by RadControl inheritors.
Declaration
public void Paint(IGraphics graphics, Rectangle clipRectangle)
Parameters
IGraphics
graphics
IGrpahics object to be used to paint elements |
System.Drawing.Rectangle
clipRectangle
Clipping rectangle to be painted. Only those elements from the tree which intersect with this rectangle will be painted. |
Paint(IGraphics, Rectangle, Boolean)
Paints the RootElement and its element tree. Intended for use by RadControl inheritors.
Declaration
public void Paint(IGraphics graphics, Rectangle clipRectangle, bool useRelativeTransformation)
Parameters
IGraphics
graphics
IGrpahics object to be used to paint elements |
System.Drawing.Rectangle
clipRectangle
Clipping rectangle to be painted. Only those elements from the tree which intersect with this rectangle will be painted. |
System.Boolean
useRelativeTransformation
|
PaintControlShadow()
Declaration
public void PaintControlShadow()
Parent_Paint(Object, PaintEventArgs)
Declaration
protected void Parent_Paint(object sender, PaintEventArgs e)
Parameters
System.Object
sender
|
System.Windows.Forms.PaintEventArgs
e
|
PerformLayoutTransformation(ref RadMatrix)
Declaration
protected override bool PerformLayoutTransformation(ref RadMatrix matrix)
Parameters
RadMatrix
matrix
|
Returns
System.Boolean
|
Overrides
SaveCurrentStretchModeAsDefault()
This method is used internally.
Declaration
public void SaveCurrentStretchModeAsDefault()
ShouldSerializeProperty(PropertyDescriptor)
Declaration
public override bool? ShouldSerializeProperty(PropertyDescriptor property)
Parameters
System.ComponentModel.PropertyDescriptor
property
|
Returns
System.Nullable<System.Boolean>
|
Overrides
Events
DpiScaleFactorChanged
Declaration
public event EventHandler DpiScaleFactorChanged
Event Type
System.EventHandler
|