Skip to main content

ContextItemCollectionOptions.BottomPanelPadding Property

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

Namespace: DevExpress.Utils

Assembly: DevExpress.Utils.v24.1.dll

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

Declaration

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

Property Value

Type Description
Padding

Bottom panel padding.

Property Paths

You can access this nested property as listed below:

Object Type Path to BottomPanelPadding
CameraControl
.ContextButtonOptions .BottomPanelPadding
CalendarControlBase
.ContextButtonOptions .BottomPanelPadding
ImageSlider
.ContextButtonOptions .BottomPanelPadding
RepositoryItemPictureEdit
.ContextButtonOptions .BottomPanelPadding
SvgImageBox
.ContextButtonOptions .BottomPanelPadding
TileControl
.ContextButtonOptions .BottomPanelPadding
TileView
.ContextButtonOptions .BottomPanelPadding

Remarks

The code below demonstrates how to increase BottomPanelPadding above and below the RatingContextButton.

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

The image below demonstrates the result.

BottomPanelPadding

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

PropertiesBottomPanelPadding

See Also