Inheritance: MvvmCross.iOS.Support.Views.MvxExpandableTableViewSource
示例#1
0
        public override void ViewDidLoad()
        {
            base.ViewDidLoad();

            source = new ExpandableTableSource(TableView)
            {
                UseAnimations   = true,
                AddAnimation    = UITableViewRowAnimation.Left,
                RemoveAnimation = UITableViewRowAnimation.Right
            };

            TableView.RowHeight = 120f;
            TableView.Source    = source;
        }
        public override void ViewDidLoad()
        {
            base.ViewDidLoad();

            var source = new ExpandableTableSource(TableView)
            {
                UseAnimations   = true,
                AddAnimation    = UITableViewRowAnimation.Left,
                RemoveAnimation = UITableViewRowAnimation.Right
            };

            this.AddBindings(new Dictionary <object, string>
            {
                { source, "ItemsSource KittenGroups" }
            });

            TableView.Source = source;
            TableView.ReloadData();
        }
		public override void ViewDidLoad()
		{
			base.ViewDidLoad();

			var source = new ExpandableTableSource(TableView)
			{
				UseAnimations = true,
				AddAnimation = UITableViewRowAnimation.Left,
				RemoveAnimation = UITableViewRowAnimation.Right
			};

			this.AddBindings(new Dictionary<object, string>
				{
					{source, "ItemsSource KittenGroups"}
				});

			TableView.Source = source;
			TableView.ReloadData();
		}