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