Friday, December 11, 2009

How To Apply EditorState on Property in XAF

Assembly : DevExpress.ExpressApp.ConditionalEditorState;

[EditorStateRule("ServiceTaxApp", "IsServiceTaxApplicable", ViewType.DetailView, "")]

public EditorState EditorSTA(out bool active)

{

active = true;

if (AccountGroups != null && StatutoryConfig != null && StatutoryConfig.IsServiceTaxApplicable)

{

active = !(AccountGroups.IsTaxApplicable(SSType.ServiceTax));

}

return EditorState.Hidden;

}

No comments:

Post a Comment

Mat Table Angular

Mat Table in Angular Mat table is used to display data . its a material designed styled data-table . For using Material Table MatTableMo...