Cirrious.MvvmCross.Dialog.Touch.Dialog.Elements.Element.Selected C# (CSharp) Method

Selected() public method

Invoked when the given element has been selected by the user.
public Selected ( DialogViewController dvc, UITableView tableView, NSIndexPath path ) : void
dvc DialogViewController /// The where the selection took place ///
tableView UITableView /// The that contains the element. ///
path NSIndexPath /// The that contains the Section and Row for the element. ///
return void
		public virtual void Selected (DialogViewController dvc, UITableView tableView, NSIndexPath path)
		{
            if (Tapped != null)
                Tapped();
            if (SelectedCommand != null)
                SelectedCommand.Execute(null);
            if (ShouldDeselectAfterTouch)
			    tableView.DeselectRow (path, true);
		}