Back to Devexpress

ImageEdit.ShowMenu Property

wpf-devexpress-dot-xpf-dot-editors-dot-imageedit-0b0c8773.md

latest2.5 KB
Original Source

ImageEdit.ShowMenu Property

Gets or sets a value indicating whether the menu is displayed when the mouse pointer is hovered over the image. This is a dependency property.

Namespace : DevExpress.Xpf.Editors

Assembly : DevExpress.Xpf.Core.v25.2.dll

NuGet Package : DevExpress.Wpf.Core

Declaration

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

Property Value

TypeDescription
Boolean

true to show the menu when the mouse pointer is hovered over the image; otherwise, false.

|

Remarks

The editor’s menu is automatically shown when the mouse pointer is hovered over the image, and automatically hidden when the mouse pointer is moved away. An end-user can use this menu to cut, copy, paste, delete, load or save an image.

Set the ShowMenu property to false , to disable the menu.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the ShowMenu property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

wpf-imageedit-edit-images-in-separate-window/CS/ImageEditToEditModeBehavior/MainWindow.xaml#L35

xml
</Grid.RowDefinitions>
<dxe:ImageEdit x:Name="imageEdit" Source="{Binding Source, Mode=TwoWay}" ShowMenu="False"/>
<StackPanel Grid.Row="1" Margin="2" Orientation="Horizontal" HorizontalAlignment="Center">

See Also

ImageEdit Class

ImageEdit Members

DevExpress.Xpf.Editors Namespace