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 命名空间