RibbonGroup.Icon 屬性

適用於版本2

取得群組的 32x32 圖示。

命名空間:  Microsoft.WebMatrix.Extensibility
組件:  Microsoft.WebMatrix.Extensibility (在 Microsoft.WebMatrix.Extensibility.dll 中)

語法

'宣告
Public Property Icon As ImageSource 
    Get 
    Private Set
'用途
Dim instance As RibbonGroup 
Dim value As ImageSource 

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

屬性值

型別:System.Windows.Media.ImageSource
群組的 32x32 圖示。

備註

只有在群組由於空間限制而摺疊時,才會顯示群組的圖示。

請參閱

參考

RibbonGroup 類別

Microsoft.WebMatrix.Extensibility 命名空間