共用方式為


RibbonTab.GroupSizeReductionOrder 屬性

定義

取得或設定 RibbonGroup 名稱的集合,它會指定功能區縮減大小時,要套用群組大小定義的順序。

public:
 property System::Collections::Specialized::StringCollection ^ GroupSizeReductionOrder { System::Collections::Specialized::StringCollection ^ get(); void set(System::Collections::Specialized::StringCollection ^ value); };
[System.ComponentModel.TypeConverter(typeof(System.Windows.Controls.Ribbon.StringCollectionConverter))]
public System.Collections.Specialized.StringCollection GroupSizeReductionOrder { get; set; }
[<System.ComponentModel.TypeConverter(typeof(System.Windows.Controls.Ribbon.StringCollectionConverter))>]
member this.GroupSizeReductionOrder : System.Collections.Specialized.StringCollection with get, set
Public Property GroupSizeReductionOrder As StringCollection

屬性值

RibbonGroup 名稱的集合,它會指定 Ribbon 縮減大小時,要套用群組大小定義的順序。 已註冊的預設值是 null。 如需可能會影響該值的相關詳細資訊,請參閱 相依性屬性值優先順序

屬性

範例

下列範例示範如何指定 GroupSizeReductionOrder

<ribbon:RibbonTab Header="Home"   
    GroupSizeReductionOrder="Clipboard, Insert, Insert, Paragraph, Clipboard, Editing, Font, Clipboard" >  
    <ribbon:RibbonGroup Header="Clipboard" Name="Clipboard" SmallImageSource="Images/Paste16.png">  
        ...    
    </ribbon:RibbonGroup>  
    <ribbon:RibbonGroup Header="Font" Name="Font" SmallImageSource="Images\FontColor16.png">  
        ...  
    </ribbon:RibbonGroup>  
    <ribbon:RibbonGroup Header="Paragraph" Name="Paragraph" SmallImageSource="Images/AlignLeft16.png">  
        ...  
    </ribbon:RibbonGroup>  
    <ribbon:RibbonGroup Header="Insert" Name="Insert" SmallImageSource="Images/InsertPicture16.png">  
        ...  
    </ribbon:RibbonGroup>  
    <ribbon:RibbonGroup Header="Editing" Name="Editing" SmallImageSource="Images/Find16.png">  
        ...  
    </ribbon:RibbonGroup>  
</ribbon:RibbonTab>  

備註

相依性屬性資訊

識別碼欄位 GroupSizeReductionOrderProperty
設定為 的中繼資料屬性 true

適用於

另請參閱