コード例 #1
0
        protected override void OnDetached()
        {
            var view = Control ?? Container;

            view.Layer.MasksToBounds = _DefaultMaskToBounds;
            view.BackgroundColor     = _DefaultBackgroundColor;
            _BorderLayer?.RemoveFromSuperLayer();
            _BorderLayer = null;

            TapGestureCollector.Delete(_view, TapAction);
            LongTapGestureCollector.Delete(_view, LongTapAction);
            _layer?.Dispose();
            _layer = null;
        }
コード例 #2
0
 protected override void OnDetached()
 {
     TapGestureCollector.Delete(_view, TapAction);
     // LongTapGestureCollector.Delete(_view, LongTapAction);
 }