public static DataTriggerCondition Register(FrameworkElement element, IExpressionProvider expressionProvider, object value) { DataTriggerCondition condition = new DataTriggerCondition(element, expressionProvider, value); condition.Register(); return(condition); }
public override IDataTriggerCondition CreateDataTriggerCondition(FrameworkElement element) { if (Binding == null) { throw new Granular.Exception("DataTrigger.Binding cannot be null"); } return(DataTriggerCondition.Register(element, Binding, Value)); }
public static DataTriggerCondition Register(FrameworkElement element, IExpressionProvider expressionProvider, object value) { DataTriggerCondition condition = new DataTriggerCondition(element, expressionProvider, value); condition.Register(); return condition; }