Skip to content

服务端命令选择属性

此特性为活字格V9.0.100.0新增功能

csharp
    public class MyPluginCellType : CellType
    {
        [ServerCommandNameProperty]
        public string MyProperty { get; set; }
    }

在设计器中效果如下

1693549187992-770573f9-546b-4607-b92b-76dcd9f26ea3.png

注意,标注ServerCommandNameProperty的属性类型必须是 string

更新: 2023-11-02 09:47:35
原文: https://www.yuque.com/robert-bh51n/ea8l6c/xhchzl2f90gfai45