Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

xamarin forms find the grid.row property of an element

var button = (Button)sender;
var row = Grid.GetRow(button);
var grid = button.Parent as Grid;
//assuming the image is in column 1
var image = grid.Children.Where(c => Grid.GetRow(c) == row && Grid.GetColumn(c)==1);
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #xamarin #forms #find #property #element
ADD COMMENT
Topic
Name
4+1 =