Skip to content

支持Tab键顺序

重写 SupportFeatures 属性,可以让插件单元格支持自定义调整Tab键顺序

C# 示例代码

csharp
        public override SupportFeatures SupportFeatures
        {
            get
            {
                return SupportFeatures.AllowSetTabOrder;
            }
        }

设计器效果

1669904794855-e9abed32-0de9-4626-803f-d16a9ce73d5e.png

提示:

如果需要支持多个特性,可以使用 | 连接多个 SupportFeatures 的枚举值

csharp
public override SupportFeatures SupportFeatures
{
    get
    {
        return SupportFeatures.ShouldCheckDirtyWhenLeavePage | SupportFeatures.AllowSetTabOrder;
    }
}

更新: 2022-12-01 22:59:16
原文: https://www.yuque.com/robert-bh51n/ea8l6c/hwvpbksa4rfohlmd