RibbonControlSizeDefinition.ImageSize 屬性

定義

取得或設定值,指出如何在控制項顯示影像。

public:
 property System::Windows::Controls::Ribbon::RibbonImageSize ImageSize { System::Windows::Controls::Ribbon::RibbonImageSize get(); void set(System::Windows::Controls::Ribbon::RibbonImageSize value); };
public System.Windows.Controls.Ribbon.RibbonImageSize ImageSize { get; set; }
member this.ImageSize : System.Windows.Controls.Ribbon.RibbonImageSize with get, set
Public Property ImageSize As RibbonImageSize

屬性值

其中一個列舉值,指定如何在控制項中顯示影像。 已註冊的預設值是 Large。 如需可能會影響該值的相關詳細資訊,請參閱 相依性屬性值優先順序

備註

控制項 Ribbon 可以顯示 Large 影像、 Small 影像或影像可以是 Collapsed 。 如果控制項未指定對應至 ImageSize 設定大小的影像,則不會顯示任何影像。

相依性屬性資訊

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

適用於

另請參閱