summaryrefslogtreecommitdiff
path: root/Xamarin.Forms.Core/Interactivity
diff options
context:
space:
mode:
Diffstat (limited to 'Xamarin.Forms.Core/Interactivity')
-rw-r--r--Xamarin.Forms.Core/Interactivity/BindingCondition.cs6
-rw-r--r--Xamarin.Forms.Core/Interactivity/MultiCondition.cs2
2 files changed, 4 insertions, 4 deletions
diff --git a/Xamarin.Forms.Core/Interactivity/BindingCondition.cs b/Xamarin.Forms.Core/Interactivity/BindingCondition.cs
index 88b7cf36..1d111850 100644
--- a/Xamarin.Forms.Core/Interactivity/BindingCondition.cs
+++ b/Xamarin.Forms.Core/Interactivity/BindingCondition.cs
@@ -12,7 +12,7 @@ namespace Xamarin.Forms
public BindingCondition()
{
- _boundProperty = BindableProperty.CreateAttached("Bound", typeof(object), typeof(DataTrigger), null, propertyChanged: OnBoundPropertyChanged);
+ _boundProperty = BindableProperty.CreateAttached("Bound", typeof(object), typeof(BindingCondition), null, propertyChanged: OnBoundPropertyChanged);
}
public BindingBase Binding
@@ -23,7 +23,7 @@ namespace Xamarin.Forms
if (_binding == value)
return;
if (IsSealed)
- throw new InvalidOperationException("Can not change Binding once the Trigger has been applied.");
+ throw new InvalidOperationException("Can not change Binding once the Condition has been applied.");
_binding = value;
}
}
@@ -36,7 +36,7 @@ namespace Xamarin.Forms
if (_triggerValue == value)
return;
if (IsSealed)
- throw new InvalidOperationException("Can not change Value once the Trigger has been applied.");
+ throw new InvalidOperationException("Can not change Value once the Condition has been applied.");
_triggerValue = value;
}
}
diff --git a/Xamarin.Forms.Core/Interactivity/MultiCondition.cs b/Xamarin.Forms.Core/Interactivity/MultiCondition.cs
index 23ca41c5..1a80190a 100644
--- a/Xamarin.Forms.Core/Interactivity/MultiCondition.cs
+++ b/Xamarin.Forms.Core/Interactivity/MultiCondition.cs
@@ -8,7 +8,7 @@ namespace Xamarin.Forms
public MultiCondition()
{
- _aggregatedStateProperty = BindableProperty.CreateAttached("AggregatedState", typeof(bool), typeof(DataTrigger), false, propertyChanged: OnAggregatedStatePropertyChanged);
+ _aggregatedStateProperty = BindableProperty.CreateAttached("AggregatedState", typeof(bool), typeof(MultiCondition), false, propertyChanged: OnAggregatedStatePropertyChanged);
Conditions = new TriggerBase.SealedList<Condition>();
}