protected override void OnAttached() { _effect = (FloatingLabelEntryLineEffect)Element.Effects.FirstOrDefault(m => m is FloatingLabelEntryLineEffect); _nativeView = Control as FloatingLabelEntryNativeView; if (_effect != null && _nativeView != null) { _nativeView.PlaceholderRectSet += HandlePlaceholderRectSet; } }
protected override void OnAttached() { _effect = (EntryLineEffect)Element.Effects.FirstOrDefault(m => m is EntryLineEffect); _nativeView = Control as FloatingLabelEntryNativeView; if (_effect != null && _nativeView != null) { _nativeView.PlaceholderRectSet += (sender, e) => AddLine(); _lineColor = _effect.LineColor; _lineHeight = _effect.LineHeight; } }