MonoTouch.Dialog.DialogViewController.Selected C# (CSharp) Method

Selected() public method

public Selected ( NSIndexPath indexPath ) : void
indexPath NSIndexPath
return void
		public virtual void Selected (NSIndexPath indexPath)
		{
			var section = root.Sections [indexPath.Section];
			var element = section.Elements [indexPath.Row];

			element.Selected (this, tableView, indexPath);
		}
		

Usage Example

示例#1
0
            public override void RowSelected(UITableView tableView, NSIndexPath indexPath)
            {
                var onSelection = Container.OnSelection;

                if (onSelection != null)
                {
                    onSelection(indexPath);
                }
                Container.Selected(indexPath);
            }
All Usage Examples Of MonoTouch.Dialog.DialogViewController::Selected