Hosts the raster image editor in the themed dialog used by RadPictureBox's image-editing workflow.
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.UI.dll
Syntax:
public class PictureBoxImageEditorDialog : RadForm, IDropTarget, ISynchronizeInvoke, IWin32Window, IBindableComponent, IComponent, IDisposable, IContainerControl, IComponentTreeHandler, ILayoutHandler, ISupportInitializeNotification, ISupportInitialize, INotifyPropertyChanged, IAnalyticsProvider, ISupportRootUIAutomation
Inheritance: objectMarshalByRefObjectComponentControlScrollableControlContainerControlFormRadFormControlBaseRadFormPictureBoxImageEditorDialog...
Implements:
Inherited Members
Constructors
Creates the image editor dialog and initializes its localized title and action buttons.
public PictureBoxImageEditorDialog()
Properties
Gets the Cancel button.
public RadButton CancelButton { get; }
Gets the RadImageEditor control responsible for the image editing.
public RadImageEditor ImageEditor { get; }
Methods
Clean up any resources being used.
protected override void Dispose(bool disposing)
true if managed resources should be disposed; otherwise, false.
Overrides:
Sets the dialog title and OK/Cancel captions from the active PictureBox localization provider.
protected virtual void LocalizeStrings()
Closes any auxiliary dialog still open from the image editor when this form closes.
Adjusts available vertical space and action-button positions for short Material-themed dialogs.
Loads the selected image for editing and applies the owning PictureBox's form ownership and theme to this dialog.
public void PrepareDialog(Image selectedImage, RadPictureBoxElement owner)
The image whose pixels are opened in the editor.
ownerRadPictureBoxElementThe PictureBox element that supplies the dialog's owner form and theme.