ComponentInfo 类
- 程序集
- ClassIsland.Core.dll
主界面组件属性
[AttributeUsage(AttributeTargets.Class)]
public class ComponentInfo : Attribute
- 继承
-
ComponentInfo
- 继承成员
构造函数
ComponentInfo(string, string, PackIconKind, string)
public ComponentInfo(string guid, string name, PackIconKind icon, string description = "")
参数
ComponentInfo(string, string, string)
public ComponentInfo(string guid, string name, string description = "")
参数
ComponentInfo(string, string, string, string)
public ComponentInfo(string guid, string name, string bitmapIconUri, string description = "")
参数
属性
BitmapIconUri
组件位图图标uri
public string BitmapIconUri { get; }
属性值
ComponentType
组件类型
public Type? ComponentType { get; }
属性值
Description
组件描述
public string Description { get; }
属性值
Empty
空组件信息
public static ComponentInfo Empty { get; }
属性值
Guid
组件GUID
public Guid Guid { get; }
属性值
IsComponentContainer
组件是否是组件容器
public bool IsComponentContainer { get; }
属性值
Name
组件名称
public string Name { get; }
属性值
PackIcon
组件图标
public PackIconKind PackIcon { get; }
属性值
- PackIconKind
SettingsType
设置界面类型
public Type? SettingsType { get; }
属性值
UseBitmapIcon
是否使用位图图标
public bool UseBitmapIcon { get; }