RibbonMenuItem.ImageSource 屬性

定義

取得或設定顯示在控制項上的影像。

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

屬性值

顯示在控制項上的影像。 已註冊的預設值是 null。 如需可能會影響該值的相關詳細資訊,請參閱 相依性屬性值優先順序

備註

相依性屬性資訊

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

適用於

另請參閱