wpf-devexpress-dot-xpf-dot-editors-dot-imageedit-0b0c8773.md
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
public bool ShowMenu { get; set; }
Public Property ShowMenu As Boolean
| Type | Description |
|---|---|
| Boolean |
true to show the menu when the mouse pointer is hovered over the image; otherwise, false.
|
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
</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