ContextItemCollectionOptions.ItemCursor Property
Gets or sets a cursor type for ContextItem interaction.
Namespace: DevExpress.Utils
Assembly: DevExpress.Utils.v20.2.dll
NuGet Packages: DevExpress.Utils, DevExpress.Wpf.Core
Declaration
Property Value
Type | Default | Description |
---|---|---|
Cursor | "Arrow" | A cursor type for ContextItem interaction. |
Property Paths
You can access this nested property as listed below:
Remarks
The code below demonstrates how to show a Hand cursor during ContextItem interaction.
using System.Windows.Forms;
// ...
pictureEdit1.Properties.ContextButtonOptions.ItemCursor = Cursors.Hand;
The image below demonstrates the result.
Alternatively, you can access ItemCursor in a control’s Properties window.
See Also