New to Telerik UI for WinForms? Start a free 30-day trial

Creates image-editor dialogs and positions them relative to the editor control.

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.UI.dll

Syntax:

C#
public class ImageEditorDialogFactory

Inheritance: objectImageEditorDialogFactory

Constructors

C#
public ImageEditorDialogFactory()

Methods

Creates a dialog using the constructor that accepts an image-editor element, then applies the editor's layout and direction settings.

C#
public virtual ImageEditorBaseDialog CreateDialog(Type type, RadImageEditorElement imageEditorElement)
Parameters:typeType

A dialog type derived from ImageEditorBaseDialog with a public instance constructor that takes exactly one RadImageEditorElement parameter.

imageEditorElementRadImageEditorElement

The editor passed to the dialog constructor and used to determine its placement and text direction.

Returns:

ImageEditorBaseDialog

The initialized dialog positioned relative to the editor control.