Hello,
I have a GridView what has two columns. The first column is a GridViewDataColumn with a custom CellTemplate. The second column is also a GridViewDataColumn with a custom CellTemplate.
My first column is a variable height column. It expands as needed based upon the data in it. The problem is, the content in the second column is always vertically centered. In reality, I want this content to be vertically aligned against the top. The DataTemplate is only a StackPanel with a ComboBox in it.
How do I get the content of my second column to be vertically centered against the top? Please note, I have set the StackPanel, ComboBox VerticalAlignment="Top" property and this did not work.
Thank you
I have a GridView what has two columns. The first column is a GridViewDataColumn with a custom CellTemplate. The second column is also a GridViewDataColumn with a custom CellTemplate.
My first column is a variable height column. It expands as needed based upon the data in it. The problem is, the content in the second column is always vertically centered. In reality, I want this content to be vertically aligned against the top. The DataTemplate is only a StackPanel with a ComboBox in it.
How do I get the content of my second column to be vertically centered against the top? Please note, I have set the StackPanel, ComboBox VerticalAlignment="Top" property and this did not work.
Thank you