示例#1
0
 public void SetParameter(UIElementDataListColumnDataRuleAbstract dataRule)
 {
     FormElementDataListColumnDataRulesDev.RelationEnumDev rule = dataRule as FormElementDataListColumnDataRulesDev.RelationEnumDev;
     if (rule == null)
     {
         Debug.Assert(false, "FormElementDataColumnDataRuleAbstract 参数不正确");
         throw new ArgumentException();
     }
     this.SelectedId = rule.EnumId;
 }
示例#2
0
 public UIElementDataListColumnDataRuleAbstract GetParameter()
 {
     FormElementDataListColumnDataRulesDev.RelationEnumDev dataRule = new FormElementDataListColumnDataRulesDev.RelationEnumDev();
     dataRule.EnumId = this.SelectedId;
     return(dataRule);
 }