IProvideStarLayoutInfo Interface
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈