Search
 
SCRIPT & CODE EXAMPLE
 

CSHARP

c# get buttons row and column in grid

private void Button_Click(object sender, RoutedEventArgs e)
{
   var button = (Button)sender;
   var row = Grid.GetRow(button);
   var column = Grid.GetColumn(button);

   // ...other code.
}
Comment

PREVIOUS NEXT
Code Example
Csharp :: Initalize C# project in VS Code 
Csharp :: hahhaa i hack u 
Csharp :: moment script unity 
Csharp :: add file to combobox c# 
Csharp :: python mokeypatch asser called 
Csharp :: C# JOSN Array Conversion 
Csharp :: version string c# 
Csharp :: download and run exe c# 1 button 
Csharp :: closing main window after clicking on a button that opens another window in wpf 
Csharp :: Make child unaffected by parents rotation Unity 
Csharp :: unity remove all child 
Csharp :: split a datatable based on number of rows 
Csharp :: c# same folder path 
Csharp :: how to destroy bridges animal crossing 
Csharp :: cassandra Keyspaces repository .net 
Csharp :: telerik mvc grid required field 
Csharp :: asp.net render control to string 
Csharp :: linq dynamic order by descending 
Csharp :: how to backup terrain in unity 
Csharp :: visual studio auto generate and setters 
Csharp :: source a listbox by property of object c# 
Csharp :: windows forms link listbox to array 
Csharp :: c# register write value 
Csharp :: how to write an if statement with two checkboxes in c# 
Csharp :: C# Printing Variables and Literals using WriteLine() and Write() 
Csharp :: report background worker 
Csharp :: c# office interop copy slide to another pppt 
Csharp :: nunjuck if exist 
Csharp :: c# int array add number 
Csharp :: call ienumerator unity 
ADD CONTENT
Topic
Content
Source link
Name
2+4 =