UniformGrid How we Can Handle the different heights element in the Uniform Grid i have created one method but it not giving the right output
public class CustomUniformGrid : UniformGrid
{
protected override Size MeasureOverride(Size availableSize)
{
// Calculate the number of rows and columns
int columns = Columns;
int rows = Rows;