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

ContextItemCollectionOptions.NearPanelColor Property

Gets or sets a Color for a control’s near panel that contains context items.

Namespace: DevExpress.Utils

Assembly: DevExpress.Utils.v20.2.dll

NuGet Packages: DevExpress.Utils, DevExpress.Wpf.Core

Declaration

[XtraSerializableProperty]
public Color NearPanelColor { get; set; }

Property Value

Type Description
Color

A near panel’s color.

Property Paths

You can access this nested property as listed below:

Show 49 property paths
Object Type Path to NearPanelColor
AccordionControl
.ContextButtonsOptions .NearPanelColor
TileBar
.ContextButtonOptions .NearPanelColor
BaseCheckedListBoxControl
.ContextButtonOptions .NearPanelColor
BaseDateControl
.ContextButtonOptions .NearPanelColor
BaseImageListBoxControl
.ContextButtonOptions .NearPanelColor
BaseListBoxControl
.ContextButtonOptions .NearPanelColor
CameraControl
.ContextButtonOptions .NearPanelColor
CheckedListBoxControl
.ContextButtonOptions .NearPanelColor
CalendarControl
.ContextButtonOptions .NearPanelColor
CalendarControlBase
.ContextButtonOptions .NearPanelColor
ImageSlider
.ContextButtonOptions .NearPanelColor
DateControl
.ContextButtonOptions .NearPanelColor
ImageListBoxControl
.ContextButtonOptions .NearPanelColor
ListBoxControl
.ContextButtonOptions .NearPanelColor
RepositoryItemBaseSpinEdit
.ContextButtonOptions .NearPanelColor
RepositoryItemBlobBaseEdit
.ContextButtonOptions .NearPanelColor
RepositoryItemBreadCrumbEdit
.ContextButtonOptions .NearPanelColor
RepositoryItemCalcEdit
.ContextButtonOptions .NearPanelColor
RepositoryItemCheckedComboBoxEdit
.ContextButtonOptions .NearPanelColor
RepositoryItemColorEdit
.ContextButtonOptions .NearPanelColor
RepositoryItemColorPickEdit
.ContextButtonOptions .NearPanelColor
RepositoryItemComboBox
.ContextButtonOptions .NearPanelColor
RepositoryItemDateEdit
.ContextButtonOptions .NearPanelColor
RepositoryItemDateTimeOffsetEdit
.ContextButtonOptions .NearPanelColor
RepositoryItemFontEdit
.ContextButtonOptions .NearPanelColor
RepositoryItemGridLookUpEdit
.ContextButtonOptions .NearPanelColor
RepositoryItemGridLookUpEditBase
.ContextButtonOptions .NearPanelColor
RepositoryItemImageComboBox
.ContextButtonOptions .NearPanelColor
RepositoryItemImageEdit
.ContextButtonOptions .NearPanelColor
RepositoryItemLookUpEdit
.ContextButtonOptions .NearPanelColor
RepositoryItemLookUpEditBase
.ContextButtonOptions .NearPanelColor
RepositoryItemMemoExEdit
.ContextButtonOptions .NearPanelColor
RepositoryItemMRUEdit
.ContextButtonOptions .NearPanelColor
RepositoryItemPictureEdit
.ContextButtonOptions .NearPanelColor
RepositoryItemPopupBase
.ContextButtonOptions .NearPanelColor
RepositoryItemPopupBaseAutoSearchEdit
.ContextButtonOptions .NearPanelColor
RepositoryItemPopupContainerEdit
.ContextButtonOptions .NearPanelColor
RepositoryItemPopupGalleryEdit
.ContextButtonOptions .NearPanelColor
RepositoryItemSearchControl
.ContextButtonOptions .NearPanelColor
RepositoryItemSearchLookUpEdit
.ContextButtonOptions .NearPanelColor
RepositoryItemSpinEdit
.ContextButtonOptions .NearPanelColor
RepositoryItemTimeEdit
.ContextButtonOptions .NearPanelColor
RepositoryItemTimeSpanEdit
.ContextButtonOptions .NearPanelColor
RepositoryItemTreeListLookUpEdit
.ContextButtonOptions .NearPanelColor
SvgImageBox
.ContextButtonOptions .NearPanelColor
TileControl
.ContextButtonOptions .NearPanelColor
TileViewOptionsKanban
DateNavigator
.ContextButtonOptions .NearPanelColor
ResourcesCheckedListBoxControl
.ContextButtonOptions .NearPanelColor

Remarks

The code below demonstrates how to change NearPanelColor.

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

The image below demonstrates the result.

NearPanelColor

Alternatively, you can access NearPanelColor in a control’s Properties window.

PropertiesNearPanelColor

See Also