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.1.dll
NuGet Packages: DevExpress.Utils, DevExpress.Wpf.Core
Declaration
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 |
|
CalendarControlBase |
|
ImageSlider |
|
RepositoryItemPictureEdit |
|
SvgImageBox |
|
TileControl |
|
TileView |
|
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.
Alternatively, you can access PanelCursor in a control’s Properties window.
See Also