Skip to main content

ContextItemCollectionOptions.FarPanelPadding Property

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

Namespace: DevExpress.Utils

Assembly: DevExpress.Utils.v24.2.dll

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:

Object Type Path to FarPanelPadding
CameraControl
.ContextButtonOptions .FarPanelPadding
CalendarControlBase
.ContextButtonOptions .FarPanelPadding
ImageSlider
.ContextButtonOptions .FarPanelPadding
RepositoryItemPictureEdit
.ContextButtonOptions .FarPanelPadding
SvgImageBox
.ContextButtonOptions .FarPanelPadding
TileControl
.ContextButtonOptions .FarPanelPadding
TileView
.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