Exemplo n.º 1
0
 void IStyle.UnApply(BindableObject bindable)
 {
     UnApplyCore(bindable, BasedOn ?? GetBasedOnResource(bindable));
     bindable.RemoveDynamicResource(_basedOnResourceProperty);
     lock (_targets)
     {
         _targets.RemoveAll(wr => wr != null && wr.TryGetTarget(out BindableObject target) && target == bindable);
     }
 }