ContextItemCollectionOptions.PanelCursor Property
In This Article
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
#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 Panel |
---|---|
Camera |
|
Calendar |
|
Image |
|
Repository |
|
Svg |
|
Tile |
|
Tile |
|
#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