Back to Devexpress

ImageEditorOptions.AllowClear Property

windowsforms-devexpress-dot-xtraprinting-dot-preview-dot-imageeditoroptions-8f4e1190.md

latest2.0 KB
Original Source

ImageEditorOptions.AllowClear Property

Indicates whether an end user can remove content from the image editor.

Namespace : DevExpress.XtraPrinting.Preview

Assembly : DevExpress.XtraPrinting.v25.2.dll

NuGet Package : DevExpress.Win.Printing

Declaration

csharp
public bool AllowClear { get; set; }
vb
Public Property AllowClear As Boolean

Property Value

TypeDescription
Boolean

true if the editor allows end users to clear content; otherwise, false.

|

Remarks

When the AllowClear property is set to true, the image editor’s menu contains the item. This item removes all the content the editor contains.

Set the AllowClear property to false to remove the menu item.

Tip

The menu item resets the editor’s content. This item is available only when the Picture Box control’s ImageSource property is originally assigned.

See Also

ImageEditorOptions Class

ImageEditorOptions Members

DevExpress.XtraPrinting.Preview Namespace