Skip to main content

ImageEditorOptions.AllowDraw Property

Indicates whether an end user can draw in the image editor.

Namespace: DevExpress.Xpf.Printing

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

NuGet Package: DevExpress.Wpf.Printing

Declaration

public bool AllowDraw { get; set; }

Property Value

Type Description
Boolean

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

Property Paths

You can access this nested property as listed below:

Object Type Path to AllowDraw
ImageInplaceEditorInfo
.Options .AllowDraw

Remarks

When the AllowDraw property is set to true, end users can draw in the editor. This also adds the Brush Options Menu Item item to the editor’s menu. The menu item provides the brush size and color options.

Brush Options

Set the AllowDraw property to false to prohibit end users from drawing and to remove the Brush Options Menu Item menu item.

See Also