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
public ImageEditorCanvasElement(RadImageEditorElement imageEditorElement)
Fields
protected Point mouseCurrentLocation
protected Point mouseDownLocation
protected Point mouseLastLocation
protected bool movingCropRect
protected bool resizingCropRect
Properties
public RadButtonElement AcceptButton { get; }
public RadButtonElement CancelButton { get; }
public Size CropHandlesSize { get; set; }
public bool IsCropping { get; protected set; }
protected RectangleF RelativeCropRect { get; set; }
Methods
Arranges the content and child elements within the final allocated space, positioning text, images, and child elements.
Called by the element when constructed. Allows inheritors to build the element tree.
protected override void CreateChildElements()
Overrides:
public virtual void HideAcceptAndCancelButtons()
Measures the desired size of the element by calculating the space needed for content, padding, and borders.
Called when a mouse button is pressed down over the item.
protected override void OnMouseDown(MouseEventArgs e)
The mouse event arguments.
Overrides:
Called when the mouse moves over the item, handling highlight and border highlight effects.
protected override void OnMouseMove(MouseEventArgs e)
The mouse event arguments.
Overrides:
Called when a mouse button is released over the item.
protected override void OnMouseUp(MouseEventArgs e)
The mouse event arguments.
Overrides:
Raises the MouseWheel event.
protected override void OnMouseWheel(MouseEventArgs e)
The mouse event arguments.
Overrides:
Performs the main painting operation for the element, rendering fill, content, and border in the correct order.
protected virtual void ResetMouseAndFlags()
public virtual void ShowAcceptAndCancelButtons()
public virtual void StartCrop()
public virtual void StartPan()
public virtual void StopAllOperations()
public virtual void StopDrawing()
public virtual void StopPan()