IProvideStarLayoutInfo Interface
Provides the data needed for the star layout.
Namespace: Microsoft.Windows.Controls.Ribbon.Primitives
Assembly: RibbonControlsLibrary (in RibbonControlsLibrary.dll)
Syntax
'Declaration
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
The IProvideStarLayoutInfo type exposes the following members.
Properties
Name | Description | |
---|---|---|
![]() |
StarLayoutCombinations | Gets a collection that contains the non-overlapping star combinations. |
![]() |
TargetElement | Gets the UIElement object that this provider targets. (Inherited from IProvideStarLayoutInfoBase.) |
Top
Methods
Name | Description | |
---|---|---|
![]() |
OnInitializeLayout | Called before the star allocator is measured. (Inherited from IProvideStarLayoutInfoBase.) |
![]() |
OnStarSizeAllocationCompleted | Called when space allocation is complete. |
Top
Remarks
By default, the panels that lay out the ribbon use star sizing to show the largest possible control variation that can fit in the available space. Star sizing is a convention where the available space is divided evenly between the elements that need to occupy the space. The name derives from the fact that you specify star sizing by using an asterisk (*) in XAML.