protected override void OnAttached()
        {
            Common.Effects.EntryLineColorEffect effect = (Common.Effects.EntryLineColorEffect) this.Element.Effects.First(e => e is Common.Effects.EntryLineColorEffect);

            this.control = (EditText)this.Control;
            this.originalBackgroundTintList = this.control.BackgroundTintList;

            this.UpdateLineColor(effect.Color);
        }
Exemple #2
0
        protected override void OnAttached()
        {
            Common.Effects.EntryLineColorEffect effect = (Common.Effects.EntryLineColorEffect) this.Element.Effects.First(e => e is Common.Effects.EntryLineColorEffect);

            this.control              = (UITextField)this.Control;
            this.previousBorderColor  = this.control.Layer.BorderColor;
            this.previousCornerRadius = this.control.Layer.CornerRadius;
            this.previousBorderWidth  = this.control.Layer.BorderWidth;

            this.UpdateLineColor(effect.Color);
        }