wpf-devexpress-dot-xpf-dot-bars-0a6066f2.md
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
public enum BarItemAutoSizeMode
Public Enum BarItemAutoSizeMode
| Name | Description |
|---|---|
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:
Use the BarStaticItem.AutoSizeMode property to specify how the contents of a BarStaticItem‘s link is resized.
See Also