Exemplo n.º 1
0
        public override void LayoutSubviews()
        {
            base.LayoutSubviews();

            OkButton.NextToThisView(this, 5);
            if (OkButton.Superview == null)
            {
                Superview.Add(OkButton);
            }

            DeleteButton.NextToThisView(this, 5)
            .BelowThisView(OkButton, 10);
            if (DeleteButton.Superview == null)
            {
                Superview.Add(DeleteButton);
            }

            EditSignatureButton.NextToThisView(this, 5)
            .BelowThisView(DeleteButton, 10);
            if (EditSignatureButton.Superview == null)
            {
                Superview.Add(EditSignatureButton);
            }
        }