Back to Devexpress

TileNavPane.DefaultButtonPadding Property

windowsforms-devexpress-dot-xtrabars-dot-navigation-dot-tilenavpane-a733bd84.md

latest1.9 KB
Original Source

TileNavPane.DefaultButtonPadding Property

Returns the default amount of space around NavElements rendered as buttons in the nav bar.

Namespace : DevExpress.XtraBars.Navigation

Assembly : DevExpress.XtraBars.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
public static Padding DefaultButtonPadding { get; }
vb
Public Shared ReadOnly Property DefaultButtonPadding As Padding

Property Value

TypeDescription
Padding

A Padding object that specifies the amount of space around buttons in the nav bar. The default value is Padding(12).

|

Remarks

The DefaultButtonPadding property returns the default amount of space around buttons in the nav bar. To customize button padding for all buttons in the nav bar, use the TileNavPane.ButtonPadding property. You can also override this setting for a particular NavElement with the NavElement.Padding property.

See Also

ButtonPadding

Padding

TileNavPane Class

TileNavPane Members

DevExpress.XtraBars.Navigation Namespace