提供星型布局所需的数据。
命名空间: Microsoft.Windows.Controls.Ribbon.Primitives
程序集: RibbonControlsLibrary(在 RibbonControlsLibrary.dll 中)
语法
声明
Public Interface IProvideStarLayoutInfoBase
public interface IProvideStarLayoutInfoBase
public interface class IProvideStarLayoutInfoBase
type IProvideStarLayoutInfoBase = interface end
public interface IProvideStarLayoutInfoBase
IProvideStarLayoutInfoBase 类型公开以下成员。
属性
名称 | 说明 | |
---|---|---|
![]() |
TargetElement | 获取 UIElement 对象,此提供程序以其为目标。 |
页首
方法
名称 | 说明 | |
---|---|---|
![]() |
OnInitializeLayout | 在测量 Star 分配器之前调用。 |
页首
备注
默认情况下,在功能区上布置的面板使用星号调整大小,以显示可用空间中可容纳的可能的最大控件变体。 “星号调整大小”是一种约定,它规定可用空间在需要占用空间的元素之间平均分配。 它因您可以在 XAML 中使用星号 (*) 指定星号调整大小行为而得名。