protected UseFullLinkCell(IntPtr handle)
     : base(handle)
 {
     UseFullLinkView = new UseFullLinkView();
     Add(UseFullLinkView);
     this.DelayBind(OnCreateBinding);
     this.SubviewsDoNotTranslateAutoresizingMaskIntoConstraints();
     this.AddConstraints(UseFullLinkView.FullHeightOf(this, 2));
     this.AddConstraints(UseFullLinkView.WithSameWidth(this));
 }
Example #2
0
        void Initialize()
        {
            UseFullLinkView = new UseFullLinkView();
            Add(UseFullLinkView);
            this.SubviewsDoNotTranslateAutoresizingMaskIntoConstraints();
            this.AddConstraints(UseFullLinkView.FullHeightOf(this, 2));
            this.AddConstraints(UseFullLinkView.WithSameWidth(this));

            var tapGestureRecognizer = new UITapGestureRecognizer(OnTapped);

            this.AddGestureRecognizer(tapGestureRecognizer);
        }