This question is locked. New answers and comments are not allowed.
Excuse me,please.
There is a CheckBox in the Cell of the GridView. Like this:
<grid:GridViewDataColumn x:Name="CheckBoxToSelectDocument" Header="" Width="30" IsReadOnly="True">
<grid:GridViewDataColumn.CellTemplate>
<DataTemplate>
<CheckBox IsChecked="{Binding CheckBox1}" VerticalAlignment="Top" />
</DataTemplate>
</grid:GridViewDataColumn.CellTemplate>
</grid:GridViewDataColumn>
But the VerticalAlignment of the checkbox is still in the center of the GridViewCell.
How Can I make the VerticalAlignment to be Top ?
Thank you in advance !
There is a CheckBox in the Cell of the GridView. Like this:
<grid:GridViewDataColumn x:Name="CheckBoxToSelectDocument" Header="" Width="30" IsReadOnly="True">
<grid:GridViewDataColumn.CellTemplate>
<DataTemplate>
<CheckBox IsChecked="{Binding CheckBox1}" VerticalAlignment="Top" />
</DataTemplate>
</grid:GridViewDataColumn.CellTemplate>
</grid:GridViewDataColumn>
But the VerticalAlignment of the checkbox is still in the center of the GridViewCell.
How Can I make the VerticalAlignment to be Top ?
Thank you in advance !