Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

ContextItemCollectionOptions.PanelCursor Property

Gets or sets a Cursor displayed when the mouse pointer hovers over a panel that contains context items

Namespace: DevExpress.Utils

Assembly: DevExpress.Utils.v24.2.dll

NuGet Packages: DevExpress.Utils, DevExpress.Wpf.Core

#Declaration

public Cursor PanelCursor { get; set; }

#Property Value

Type Default Description
Cursor "Arrow"

A cursor shown when the mouse pointer hovers over a panel that contains context items.

#Property Paths

You can access this nested property as listed below:

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

#Remarks

The code below demonstrates how to show a Hand cursor when the mouse pointer hovers over a panel that contains a RatingContextButton.

using System.Windows.Forms;
// ...
pictureEdit1.Properties.ContextButtonOptions.PanelCursor = Cursors.Hand;

The image below demonstrates the result.

PanelCursor

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

PropertiesPanelCursor

See Also