Exemple #1
0
        public override void ViewWillAppear(bool animated)
        {
            base.ViewWillAppear(animated);

            KeyboardAdjustManager.Activate( );

            // setup the values
            JoinGroupView.DisplayView(GroupTitle, Distance, MeetingTime, GroupID);

            // force the cell phone field to update itself so it contains proper formatting
            CellPhoneTextField.Delegate.ShouldChangeCharacters(CellPhoneTextField, new NSRange(CellPhoneTextField.Text.Length, 0), "");
        }
Exemple #2
0
        public override void LayoutChanged( )
        {
            base.LayoutChanged( );

            ScrollView.Bounds = View.Bounds;

            nfloat controlBottom = JoinGroupView.GetControlBottom( ) + (View.Bounds.Height * .25f);

            ScrollView.ContentSize = new CGSize(0, (nfloat)Math.Max(controlBottom, View.Bounds.Height * 1.05f));

            RectangleF joinBounds = new RectangleF(0, 0, (float)View.Bounds.Width, (float)ScrollView.ContentSize.Height);

            JoinGroupView.LayoutChanged(joinBounds);
        }
Exemple #3
0
        public override void TouchesEnded(NSSet touches, UIEvent evt)
        {
            base.TouchesEnded(touches, evt);

            JoinGroupView.TouchesEnded( );
        }