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

相关文章:

  • 2018-05-06
  • 2021-07-22
  • 2021-09-23
  • 2021-09-26
  • 2021-12-10
  • 2022-02-16
猜你喜欢
  • 2022-12-23
  • 2021-10-10
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案