次の方法で共有


RibbonMenuButton.SmallImage プロパティ

v2 に適用されます。

ボタンの 16x16 画像を取得または設定します。

名前空間:  Microsoft.WebMatrix.Extensibility
アセンブリ:  Microsoft.WebMatrix.Extensibility (Microsoft.WebMatrix.Extensibility.dll)

構文

'宣言
Public Property SmallImage As ImageSource 
    Get 
    Private Set
'使用
Dim instance As RibbonMenuButton 
Dim value As ImageSource 

value = instance.SmallImage
public ImageSource SmallImage { get; private set; }
public:
property ImageSource^ SmallImage {
    ImageSource^ get ();
    private: void set (ImageSource^ value);
}
member SmallImage : ImageSource with get, private set
function get SmallImage () : ImageSource 
private function set SmallImage (value : ImageSource)

プロパティ値

型: System.Windows.Media.ImageSource
ボタンの 16x16 画像。

関連項目

参照

RibbonMenuButton クラス

Microsoft.WebMatrix.Extensibility 名前空間