Skip to main content
A newer version of this page is available. .

GridOptionsMenu Class

Provides menu options for Grid Views.

Namespace: DevExpress.XtraGrid.Views.Grid

Assembly: DevExpress.XtraGrid.v17.2.dll

Declaration

public class GridOptionsMenu :
    ViewBaseOptions

The following members accept/return GridOptionsMenu objects:

Remarks

The GridOptionsMenu class provides a set of Boolean properties specifying the context menus availability to end-users. Note that each property specifies whether specific menu types can be invoked. In some cases, however, you will need greater control over context menus. For instance, you may need to prohibit a particular column’s Column Header Context Menu. Handle the GridView.PopupMenuShowing event for this purpose.

GridOptionsMenu class instances can be accessed via the GridView.OptionsMenu property of Grid Views, Banded Grid Views and Advanced Banded Grid Views.

See Also