Dela via


ISupportStarLayout Interface

Represents an element that controls the star layout.

Namespace:  Microsoft.Windows.Controls.Ribbon.Primitives
Assembly:  RibbonControlsLibrary (in RibbonControlsLibrary.dll)

Syntax

'Declaration
Public Interface ISupportStarLayout
public interface ISupportStarLayout
public interface class ISupportStarLayout
type ISupportStarLayout =  interface end
public interface ISupportStarLayout

The ISupportStarLayout type exposes the following members.

Properties

  Name Description
Public property IsStarLayoutPass Gets a value that indicates whether the current layout pass is after the star layout pass.

Top

Methods

  Name Description
Public method RegisterStarLayoutProvider Registers an element to participate in the star layout.
Public method UnregisterStarLayoutProvider Removes an element from participation in the star layout.

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.

See Also

Reference

Microsoft.Windows.Controls.Ribbon.Primitives Namespace