Class
ImageAdornerUI

ImageAdornerUI

Definition

Namespace:Telerik.Windows.Documents.UI.Adorner

Assembly:Telerik.Windows.Controls.RichTextBox.dll

Syntax:

cs-api-definition
public class ImageAdornerUI : UserControl, IInlineSelectionHandler, IComponentConnector

Inheritance: objectImageAdornerUI

Implements: IComponentConnectorIInlineSelectionHandler

Constructors

ImageAdornerUI()

Declaration

cs-api-definition
public ImageAdornerUI()

Properties

CanDrag

Determines whether the image adorner can be dragged by the user.

Declaration

cs-api-definition
public bool CanDrag { get; }

Property Value

bool

CanResize

Gets a value indicating whether the adorner can be resized.

Declaration

cs-api-definition
public bool CanResize { get; set; }

Property Value

bool

CanRotate

Determines whether the image adorner can be rotated.

Declaration

cs-api-definition
public bool CanRotate { get; set; }

Property Value

bool

ImageSelectionAdornerSettings

Represents the settings for the image selection adorner in the UI.

Declaration

cs-api-definition
public ImageSelectionAdornerSettings ImageSelectionAdornerSettings { get; set; }

Property Value

ImageSelectionAdornerSettings

LastMouseDownArgs

Represents the arguments associated with the last mouse down event in the Image Adorner UI.

Declaration

cs-api-definition
public MouseButtonEventArgs LastMouseDownArgs { get; set; }

Property Value

MouseButtonEventArgs

Methods

GetLayoutClip(Size)

Declaration

cs-api-definition
protected override Geometry GetLayoutClip(Size layoutSlotSize)

Parameters

layoutSlotSize

Size

Returns

Geometry

GetUIElement()

Retrieves the UI element associated with the image adorner.

Declaration

cs-api-definition
public UIElement GetUIElement()

Returns

UIElement

The UI element as a generic type T that represents the image adorner.

Implements IInlineSelectionHandler.GetUIElement()

HideSelection()

Hides the selection of the image adorner UI.

Declaration

cs-api-definition
public void HideSelection()

Implements IInlineSelectionHandler.HideSelection()

InitializeComponent()

InitializeComponent

Declaration

cs-api-definition
public void InitializeComponent()

ShouldStartDragging(Inline)

Determines whether dragging should start for the specified inline element.

Declaration

cs-api-definition
public bool ShouldStartDragging(Inline inline)

Parameters

inline

Inline

The inline element to check for drag initiation.

Returns

bool

True if dragging should start; otherwise, false.

ShowInlineSelection(Inline, bool)

Displays an inline selection for the specified inline element.

Declaration

cs-api-definition
public void ShowInlineSelection(Inline inline, bool readOnly)

Parameters

inline

Inline

The inline element to show the selection for.

readOnly

bool

A boolean value indicating whether the inline element is selected.

Implements IInlineSelectionHandler.ShowInlineSelection(Inline, bool)

Events

BlockMoved

Declaration

cs-api-definition
public event EventHandler<BlockMovedEventArgs> BlockMoved

Event Value

EventHandler<BlockMovedEventArgs>

ImageResized

Declaration

cs-api-definition
public event EventHandler<ImageResizedEventArgs> ImageResized

Event Value

EventHandler<ImageResizedEventArgs>

ImageRotated

Declaration

cs-api-definition
public event EventHandler<ImageRotatedEventArgs> ImageRotated

Event Value

EventHandler<ImageRotatedEventArgs>