MonoTouch.Dialog.Section.InsertVisual C# (CSharp) Метод

InsertVisual() приватный Метод

private InsertVisual ( int idx, UITableViewRowAnimation anim, int count ) : void
idx int
anim UITableViewRowAnimation
count int
Результат void
		void InsertVisual (int idx, UITableViewRowAnimation anim, int count)
		{
			var root = Parent as RootElement;
			
			if (root == null || root.TableView == null)
				return;
			
			int sidx = root.IndexOf (this);
			var paths = new NSIndexPath [count];
			for (int i = 0; i < count; i++)
				paths [i] = NSIndexPath.FromRowSection (idx+i, sidx);
			
			root.TableView.InsertRows (paths, anim);
		}