示例#1
0
        protected override void OnElementPropertyChanged(object sender, PropertyChangedEventArgs e)
        {
            base.OnElementPropertyChanged(sender, e);

            if (updatePropertyNames.Contains(e.PropertyName))
            {
                BorderRendererVisual.UpdateBackground(Element, this);
            }
        }
示例#2
0
        protected override void OnElementChanged(ElementChangedEventArgs <BorderView> e)
        {
            base.OnElementChanged(e);

            if (null == e.NewElement)
            {
                return;
            }

            BorderRendererVisual.UpdateBackground(Element, this);
        }