xaf--属性定义,关联属性立刻生效

using DevExpress.ExpressApp.ConditionalAppearance;
using DevExpress.ExpressApp.Editors;
//...
[ImmediatePostData]
public bool IsMarried {
    // ...
}
[Appearance("Single", Visibility = ViewItemVisibility.Hide, Criteria = "!IsMarried", Context="DetailView")]
public string SpouseName {
    // ...
}

How to: Disable and Hide Property Editors Based on a Business Rule | eXpressApp Framework | DevExpress Documentation

ImmediatePostDataAttribute Class | eXpressApp Framework | DevExpress Documentation

上一篇:闲话 数学家


下一篇:解决Newtonsoft.Json版本问题