Back to Devexpress

BarItemAutoSizeMode Enum

wpf-devexpress-dot-xpf-dot-bars-0a6066f2.md

latest1.7 KB
Original Source

BarItemAutoSizeMode Enum

Contains values that specify how the contents of a BarStaticItem‘s link is resized.

Namespace : DevExpress.Xpf.Bars

Assembly : DevExpress.Xpf.Core.v25.2.dll

NuGet Package : DevExpress.Wpf.Core

Declaration

csharp
public enum BarItemAutoSizeMode
vb
Public Enum BarItemAutoSizeMode

Members

NameDescription
None

Doesn’t apply the auto-size feature for a bar item link. The item link’s width is specified by the BarStaticItem.ItemWidth property.

| | Content |

Resizes a BarStaticItem’s link, so its width matches that link’s contents width.

| | Fill |

Resizes a specific BarStaticItem’s link so that it consumes the largest possible area of a bar.

To allow the bar to be stretched to the bar container’s width, set the Bar.UseWholeRow property to true.

|

The following properties accept/return BarItemAutoSizeMode values:

Remarks

Use the BarStaticItem.AutoSizeMode property to specify how the contents of a BarStaticItem‘s link is resized.

See Also

DevExpress.Xpf.Bars Namespace