Skip to main content
All docs
V25.1
  • 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.v25.1.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