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

ContextItemCollectionOptions.FarPanelPadding Property

Gets or sets Padding for context items inside the far panel.

Namespace: DevExpress.Utils

Assembly: DevExpress.Utils.v20.2.dll

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

Declaration

[XtraSerializableProperty]
public virtual Padding FarPanelPadding { get; set; }

Property Value

Type Description
Padding

Far panel padding.

Property Paths

You can access this nested property as listed below:

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

Remarks

The code below demonstrates how to increase FarPanelPadding to the right and to the left of the RatingContextButton.

using System.Windows.Forms;
// ...
pictureEdit1.Properties.ContextButtonOptions.FarPanelPadding = new Padding(10, 0, 10, 0);

The image below demonstrates the result.

FarPanelPadding

Alternatively, you can access FarPanelPadding in the control’s Properties window.

PropertiesFarPanelPadding

See Also