Back to Devexpress

RecentItemBase.Padding Property

windowsforms-devexpress-dot-xtrabars-dot-ribbon-dot-recentitembase-7e6f26b2.md

latest2.0 KB
Original Source

RecentItemBase.Padding Property

Gets or sets the distance between the item content and this item’s borders.

Namespace : DevExpress.XtraBars.Ribbon

Assembly : DevExpress.XtraBars.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
[DXCategory("Layout")]
public Padding Padding { get; set; }
vb
<DXCategory("Layout")>
Public Property Padding As Padding

Property Value

TypeDescription
Padding

A Padding structure that is the distance between item content and this item’s borders.

|

Remarks

The Padding property specifies paddings for individual elements. You can also set paddings that will be applied to all Recent Item Control elements of the desired type (tabs, pin items, labels etc.). To do this, use the RecentItemControl.PaddingLabelItem, RecentItemControl.PaddingButtonItem, RecentItemControl.PaddingRecentItem and RecentItemControl.PaddingTabItem properties.

See Also

RecentItemBase Class

RecentItemBase Members

DevExpress.XtraBars.Ribbon Namespace