VisibleRules

Public Property VisibleRules As Blackbaud.AppFx.BatchUI.DynamicFieldConditionCollection

In the example below, we handle the DefineFieldRules event and add rules into the VisibleRules collection of the FieldRules property. When the transaction type is changed to "Receive," then remove the controls such as the calendar control and checkbox. Any existing data within the control needs to be cleared by some other mechanism such as FieldChangedHandlers that calls upon ClearFieldValue or ValidInContextRules.