ClassCanvas
Definition
Namespace:Telerik.WinControls.RichTextEditor.UI
Assembly:Telerik.WinControls.RichTextEditor.dll
Syntax:
public class Canvas : Panel, IDisposable, INotifyPropertyChanged, ICustomTypeDescriptor, ISupportSystemSkin, IStylableNode, ISupportDrop
Inheritance: objectDisposableObjectRadObjectRadElementVisualElementUIElementFrameworkElementPanelCanvas
Implements:
Inherited Members
Constructors
Canvas()
Declaration
public Canvas()
Fields
BottomProperty
Declaration
public static readonly RadProperty BottomProperty
Field Value
LeftProperty
Declaration
public static readonly RadProperty LeftProperty
Field Value
RightProperty
Declaration
public static readonly RadProperty RightProperty
Field Value
TopProperty
Declaration
public static readonly RadProperty TopProperty
Field Value
Properties
Methods
ArrangeOverride(SizeF)
Arranges the RadElement to its final location. The element must call the Arrange method of each of its children.
Declaration
protected override SizeF ArrangeOverride(SizeF arrangeSize)
Parameters
arrangeSize
Returns
The rectangle occupied by the element. Usually finalSize. Should you return different size, the Layout system will restart measuring and rearranging the items. That could lead to infinite recursion.
Overrides
Remarks
In this method call to the Arrange method of each child must be made.
CanPaint(IPaintingContext)
Declaration
protected override bool CanPaint(IPaintingContext context)
Parameters
context
Returns
Overrides
HitTest(Point)
Performs hit testing on the element to determine if the specified point lies within its bounds.
MeasureOverride(SizeF)
Measures the space required by the RadElement
Used by the layout system.
Declaration
protected override SizeF MeasureOverride(SizeF availableSize)
Parameters
availableSize
The size that is available to the RadElement. The available size can be infinity (to take the full size of the element)
Returns
The minimum size required by the element to be completely visible. Cannot be infinity.
Overrides
Remarks
In this method call to the Measure method of each child must be made.