/// <summary>
 /// Called when bindable object is detached to this trigger.
 /// </summary>
 protected override void OnDetach()
 {
     this.Bindable.RemoveBinding(this.localProperty);
     this.Bindable.ClearValue(this.localProperty);
     this.triggerSource = null;
 }
 /// <summary>
 /// Called when a bindable object is attached to this trigger.
 /// </summary>
 protected override void OnAttachTo()
 {
     this.triggerSource = this.GetTypedTriggerSource <DataTrigger>();
     this.Bindable.SetBinding(localProperty, this.triggerSource.Binding.Clone());
     this.CheckIsActive(this.Bindable.GetValue(this.localProperty));
 }