ContextItemCollectionOptions.ItemCursor Property
In This Article
Gets or sets a cursor type for ContextItem interaction.
Namespace: DevExpress.Utils
Assembly: DevExpress.Utils.v24.2.dll
NuGet Packages: DevExpress.Utils, DevExpress.Wpf.Core
#Declaration
#Property Value
Type | Default | Description |
---|---|---|
Cursor | "Arrow" | A cursor type for Context |
#Property Paths
You can access this nested property as listed below:
Object Type | Path to Item |
---|---|
Camera |
|
Calendar |
|
Image |
|
Repository |
|
Svg |
|
Tile |
|
Tile |
|
#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