Appearance
角色选择属性
此特性为活字格V9.0.100.0新增功能
csharp
public class MyPluginCommand : Command
{
[RoleSelectorProperty]
public List<string> Roles { get; set; }
}在设计器中效果如下

注意,标注RoleSelectorProperty的属性类型必须是 List<string>
更新: 2023-11-02 09:47:21
原文: https://www.yuque.com/robert-bh51n/ea8l6c/skvpw51bwfyzgzzc