System.Windows.Forms.ToolStripPanel.PointToRow C# (CSharp) Method

PointToRow() public method

public PointToRow ( Point clientLocation ) : System.Windows.Forms.ToolStripPanelRow
clientLocation Point
return System.Windows.Forms.ToolStripPanelRow
		public ToolStripPanelRow PointToRow (Point clientLocation)
		{
			foreach (ToolStripPanelRow row in this.rows)
				if (row.Bounds.Contains (clientLocation))
					return row;
					
			return null;
		}
		#endregion