แก้ไข

แชร์ผ่าน


IProvideStarLayoutInfo Interface

Definition

Provides the data needed for the star layout.

public interface class IProvideStarLayoutInfo : System::Windows::Controls::Ribbon::Primitives::IProvideStarLayoutInfoBase
public interface IProvideStarLayoutInfo : System.Windows.Controls.Ribbon.Primitives.IProvideStarLayoutInfoBase
type IProvideStarLayoutInfo = interface
    interface IProvideStarLayoutInfoBase
Public Interface IProvideStarLayoutInfo
Implements IProvideStarLayoutInfoBase
Derived
Implements

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.

Properties

StarLayoutCombinations

Gets a collection that contains the non-overlapping star combinations.

TargetElement

Gets the UIElement object that this provider targets.

(Inherited from IProvideStarLayoutInfoBase)

Methods

OnInitializeLayout()

Called before the star allocator is measured.

(Inherited from IProvideStarLayoutInfoBase)
OnStarSizeAllocationCompleted()

Called when space allocation is complete.

Applies to