RibbonGalleryCategoriesPanel.OnInitializeLayout 方法

在布局传递开始时调用。

命名空间:  Microsoft.Windows.Controls.Ribbon.Primitives
程序集:  RibbonControlsLibrary(在 RibbonControlsLibrary.dll 中)

语法

声明
Public Sub OnInitializeLayout
public void OnInitializeLayout()
public:
virtual void OnInitializeLayout() sealed
abstract OnInitializeLayout : unit -> unit 
override OnInitializeLayout : unit -> unit 
public final function OnInitializeLayout()

实现

IProvideStarLayoutInfoBase.OnInitializeLayout()

备注

此方法使 RibbonGalleryCategoriesPanel 中的元素测量值无效。

.NET Framework 安全性

请参见

参考

RibbonGalleryCategoriesPanel 类

Microsoft.Windows.Controls.Ribbon.Primitives 命名空间