其他分享
首页 > 其他分享> > xaf--属性定义,关联属性立刻生效

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

标签:...,Hide,eXpressApp,--,DevExpress,Editors,IsMarried,xaf,属性
来源: https://www.cnblogs.com/lishidefengchen/p/15853440.html