RibbonGallery.CategoryStyle 屬性

定義

取得或設定套用至針對每個項目 (Item) 所產生之 RibbonGalleryCategory 項目 (Element) 的樣式。

public:
 property System::Windows::Style ^ CategoryStyle { System::Windows::Style ^ get(); void set(System::Windows::Style ^ value); };
public System.Windows.Style CategoryStyle { get; set; }
member this.CategoryStyle : System.Windows.Style with get, set
Public Property CategoryStyle As Style

屬性值

套用至為各項目 (Item) 所產生之容器項目 (Element) 的樣式。 已註冊的預設值是 null。 如需可能會影響該值的相關詳細資訊,請參閱 相依性屬性值優先順序

備註

如果這個屬性值不是 null ,它會覆寫 ItemsControl.ItemContainerStyle 屬性。

相依性屬性資訊

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

適用於