Class
PictureBoxImageEditedEventArgs

Contains information about the original, the edited image and the editing dialog.

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.UI.dll

Syntax:

cs-api-definition
public class PictureBoxImageEditedEventArgs

Inheritance: objectPictureBoxImageEditedEventArgs

Constructors

PictureBoxImageEditedEventArgs(Image, PictureBoxImageEditorDialog)

Initializes a new instance of the PictureBoxImageEditedEventArgs class.

Declaration

cs-api-definition
public PictureBoxImageEditedEventArgs(Image unmodifiedImage, PictureBoxImageEditorDialog dialog)

Parameters

unmodifiedImage

Image

The unmodified image.

dialog

PictureBoxImageEditorDialog

The image editor dialog.

Properties

Dialog

Gets the image editor dialog.

Declaration

cs-api-definition
public PictureBoxImageEditorDialog Dialog { get; }

Property Value

PictureBoxImageEditorDialog

Handled

If [true] the image will not be changed after the event(the unmodified image will remain) and you should manually update the image applying to RadPictureBoxElement. If [false] the NewImage will be applied to RadPictureBoxElement.

Declaration

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

Property Value

bool

ImageEditor

Gets the RadImageEditor that is responsible for image editing.

Declaration

cs-api-definition
public RadImageEditor ImageEditor { get; }

Property Value

RadImageEditor

NewImage

Gets or sets the modified image that will be applied to the RadPictureBoxElement.

Declaration

cs-api-definition
public Bitmap NewImage { get; set; }

Property Value

Bitmap

UnmodifiedImage

Gets the unmodified image that was displayed in the RadPictureBoxElement before the editing dialog was shown.

Declaration

cs-api-definition
public Image UnmodifiedImage { get; }

Property Value

Image