定义一些常量,这些常量指定如何调整 Ribbon 中元素的大小。
命名空间: Microsoft.Windows.Controls.Ribbon
程序集: RibbonControlsLibrary(在 RibbonControlsLibrary.dll 中)
语法
声明
Public Enumeration RibbonControlLengthUnitType
public enum RibbonControlLengthUnitType
public enum class RibbonControlLengthUnitType
type RibbonControlLengthUnitType
public enum RibbonControlLengthUnitType
成员
成员名称 | 说明 | |
---|---|---|
Auto | 未指定调整大小的方法。 | |
Pixel | 元素大小为以像素表示的固定值。 | |
Item | 大小是固定的值,用子元素的数目来表示。 | |
Star | 元素大小为可用空间的加权比例。 |