ClassImageEditorCanvasElement
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.UI.dll
Syntax:
public class ImageEditorCanvasElement : LightVisualElement, INotifyPropertyChanged, ICustomTypeDescriptor, ISupportSystemSkin, IBindableComponent, IComponent, IDisposable, ISupportDrag, ISupportDrop, IShortcutProvider, IStylableElement, IStylableNode, IPrimitiveElement, IShapedElement, IFillElement, IBorderElement, IBoxStyle, IBoxElement, IDrawFillElement, IImageElement, ITextPrimitive, ITextProvider
Inheritance: objectDisposableObjectRadObjectRadElementVisualElementRadComponentElementRadItemUIItemBaseLightVisualElementImageEditorCanvasElement
Implements:
Inherited Members
Constructors
ImageEditorCanvasElement(RadImageEditorElement)
Declaration
public ImageEditorCanvasElement(RadImageEditorElement imageEditorElement)
Parameters
imageEditorElement
Fields
Properties
AcceptButton
Declaration
public RadButtonElement AcceptButton { get; }
Property Value
CancelButton
Declaration
public RadButtonElement CancelButton { get; }
Property Value
RelativeCropRect
Declaration
protected RectangleF RelativeCropRect { get; set; }
Property Value
Methods
ArrangeOverride(SizeF)
Arranges the content and child elements within the final allocated space, positioning text, images, and child elements.
ChangeResizeCursor(Point)
Declaration
protected virtual void ChangeResizeCursor(Point location)
Parameters
location
CreateChildElements()
Called by the element when constructed. Allows inheritors to build the element tree.
Declaration
protected override void CreateChildElements()
Overrides
GetResizeType(Point)
Declaration
protected virtual ResizeType GetResizeType(Point location)
Parameters
location
Returns
HideAcceptAndCancelButtons()
Declaration
public virtual void HideAcceptAndCancelButtons()
MeasureOverride(SizeF)
Measures the desired size of the element by calculating the space needed for content, padding, and borders.
MoveCropRectangle(Point)
Declaration
protected virtual void MoveCropRectangle(Point location)
Parameters
location
OnMouseDown(MouseEventArgs)
Called when a mouse button is pressed down over the item.
Declaration
protected override void OnMouseDown(MouseEventArgs e)
Parameters
e
The mouse event arguments.
Overrides
OnMouseMove(MouseEventArgs)
Called when the mouse moves over the item, handling highlight and border highlight effects.
Declaration
protected override void OnMouseMove(MouseEventArgs e)
Parameters
e
The mouse event arguments.
Overrides
OnMouseUp(MouseEventArgs)
Called when a mouse button is released over the item.
Declaration
protected override void OnMouseUp(MouseEventArgs e)
Parameters
e
The mouse event arguments.
Overrides
OnMouseWheel(MouseEventArgs)
Raises the MouseWheel event.
Declaration
protected override void OnMouseWheel(MouseEventArgs e)
Parameters
e
The mouse event arguments.
Overrides
PaintElement(IGraphics, float, SizeF)
Performs the main painting operation for the element, rendering fill, content, and border in the correct order.
Declaration
protected override void PaintElement(IGraphics graphics, float angle, SizeF scale)
Parameters
graphics
The graphics context used for rendering.
angle
The rotation angle to apply during painting.
scale
The scaling factor to apply during painting.
Overrides
ResetMouseAndFlags()
Declaration
protected virtual void ResetMouseAndFlags()
ResizeCropRect(Point)
Declaration
protected virtual void ResizeCropRect(Point location)
Parameters
location
ShowAcceptAndCancelButtons()
Declaration
public virtual void ShowAcceptAndCancelButtons()
StartCrop()
Declaration
public virtual void StartCrop()
StartDrawing(ShapeInfo)
Declaration
public virtual void StartDrawing(ShapeInfo shapeInfo)
Parameters
shapeInfo
StartPan()
Declaration
public virtual void StartPan()
StopAllOperations()
Declaration
public virtual void StopAllOperations()
StopDrawing()
Declaration
public virtual void StopDrawing()
StopPan()
Declaration
public virtual void StopPan()