Skip to main content
All docs
V26.1
  • ImageEditorOptions.AllowClear Property

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

    Namespace: DevExpress.Xpf.Printing

    Assembly: DevExpress.Xpf.Printing.v26.1.dll

    NuGet Package: DevExpress.Wpf.Printing

    Declaration

    public bool AllowClear { get; set; }

    Property Value

    Type Description
    Boolean

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

    Property Paths

    You can access this nested property as listed below:

    Object Type Path to AllowClear
    ImageInplaceEditorInfo
    .Options .AllowClear

    Remarks

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

    Image and Signature Predefined Editor

    Set the AllowClear property to false to remove the Clear Menu Item menu item.

    Tip

    The Reset Icon 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