protected override void OnElementPropertyChanged(object sender, PropertyChangedEventArgs e) { base.OnElementPropertyChanged(sender, e); if (updatePropertyNames.Contains(e.PropertyName)) { BorderRendererVisual.UpdateBackground(Element, this); } }
protected override void OnElementChanged(ElementChangedEventArgs <BorderView> e) { base.OnElementChanged(e); if (null == e.NewElement) { return; } BorderRendererVisual.UpdateBackground(Element, this); }