Skip to main content

ContextItemCollectionOptions.ItemCursor Property

Gets or sets a cursor type for ContextItem interaction.

Namespace: DevExpress.Utils

Assembly: DevExpress.Utils.v24.2.dll

Declaration

public Cursor ItemCursor { get; set; }

Property Value

Type Default Description
Cursor "Arrow"

A cursor type for ContextItem interaction.

Property Paths

You can access this nested property as listed below:

Object Type Path to ItemCursor
CameraControl
.ContextButtonOptions .ItemCursor
CalendarControlBase
.ContextButtonOptions .ItemCursor
ImageSlider
.ContextButtonOptions .ItemCursor
RepositoryItemPictureEdit
.ContextButtonOptions .ItemCursor
SvgImageBox
.ContextButtonOptions .ItemCursor
TileControl
.ContextButtonOptions .ItemCursor
TileView
.ContextButtonOptions .ItemCursor

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.

ItemCursor

Alternatively, you can access ItemCursor in a control’s Properties window.

PropertiesItemCursor

See Also