All docs
V20.1
20.1
19.2
The page you are viewing does not exist in version 19.2. This link will take you to the root page.
19.1
The page you are viewing does not exist in version 19.1. This link will take you to the root page.
18.2
The page you are viewing does not exist in version 18.2. This link will take you to the root page.
18.1
The page you are viewing does not exist in version 18.1. This link will take you to the root page.
17.2
The page you are viewing does not exist in version 17.2. This link will take you to the root page.

ContextItemCollectionOptions Class

Stores a ContextItemCollection's settings. Use the ContextItemCollection.Options property or the control's repository item to access them.

Namespace: DevExpress.Utils

Assembly: DevExpress.Utils.v20.1.dll

Declaration

public class ContextItemCollectionOptions :
    BaseOptions
Public Class ContextItemCollectionOptions
    Inherits BaseOptions

Remarks

You can get and manipulate options for a control's ContextItemCollection in code. To access the ContextItemCollectionOptions object, use the control's repository item. The code below demonstrates how to change TopPanelColor.

using DevExpress.Utils;
using System.Drawing;
// ...
pictureEdit1.Properties.ContextButtonOptions.TopPanelColor = Color.Black;

The image below demonstrates the result.

ContextItemCollection

Alternatively, you can access ContextItemCollectionOptions in a control's Properties window.

ContextItemCollectionOptions

See Also