protected override void OnCreate(Bundle bundle)
        {
            base.OnCreate(bundle);
            dropdown    = new XuniDropDown(this);
            header      = new XuniMaskedTextView(this);
            header.Mask = "00/00/0000";

            calendar                   = new XuniCalendar(this);
            dropdown.Header            = header;
            dropdown.Dropdown          = calendar;
            dropdown.DropDownHeight    = 400;
            dropdown.Animated          = true;
            calendar.SelectionChanged += SelectionChanged;

            this.SetContentView(dropdown);
        }
        protected override void OnCreate(Bundle bundle)
        {
            base.OnCreate(bundle);
            dropdown = new XuniDropDown(this);
		    header = new XuniMaskedTextView(this);
		    header.Mask="00/00/0000";

		    calendar = new XuniCalendar(this);
		    dropdown.Header=header;
		    dropdown.Dropdown=calendar;
			dropdown.DropDownHeight = 400;
		    dropdown.Animated=true;
            calendar.SelectionChanged += SelectionChanged;

		    this.SetContentView(dropdown);
           
         }
예제 #3
0
        public override void ViewDidLoad()
        {
            base.ViewDidLoad();

            DropDown.DropDownHeight    = 300;
            DropDown.DropDownWidth     = DropDown.Frame.Size.Width + 30;
            DropDown.DropDownDirection = XuniDropDownDirection.ForceBelow;
            DropDown.IsAnimated        = true;
            d = DropDown;

            maskedField                 = new XuniMaskedTextField();
            maskedField.Mask            = "00/00/0000";
            maskedField.BackgroundColor = UIColor.Clear;
            maskedField.BorderStyle     = UITextBorderStyle.None;
            DropDown.Header             = maskedField;

            calendar              = new XuniCalendar();
            calendar.Delegate     = new Mydelegate();
            DropDown.DropDownView = calendar;
        }
		public override void ViewDidLoad ()
		{
			base.ViewDidLoad ();

			DropDown.DropDownHeight = 300;
			DropDown.DropDownWidth = DropDown.Frame.Size.Width + 30;
			DropDown.DropDownDirection = XuniDropDownDirection.ForceBelow;
			DropDown.IsAnimated = true;
			d = DropDown;

			maskedField = new XuniMaskedTextField();
			maskedField.Mask = "00/00/0000";
			maskedField.BackgroundColor = UIColor.Clear;
			maskedField.BorderStyle = UITextBorderStyle.None;
			DropDown.Header = maskedField;

			calendar = new XuniCalendar ();
			calendar.Delegate = new Mydelegate();
			DropDown.DropDownView = calendar;

		}