Hi,
I have a Gridview(Windows From) with CheckBox Column and i have one TextBox outside the Gridview.When user enter the number in TextBox as 2 the Second Row of Gridview CheckBox should be CHECKED.
The followind is my .xaml code
<ListView ItemContainerStyle="{StaticResource CustomListViewItemStyle}" AlternationCount="2" BorderBrush="Black" BorderThickness="1" Name="listviewRePrintDetails" ItemsSource="{Binding}" Background="WhiteSmoke" Margin="0,0,350,5" Grid.ColumnSpan="3">
<ListView.View>
<GridView >
<GridViewColumn Width="50" >
<HeaderedContentControl >
<CheckBox IsChecked="{Binding Path=Value}" HorizontalContentAlignment="Right" HorizontalAlignment="Right" IsThreeState="False"></CheckBox>
</HeaderedContentControl>
<GridViewColumn.CellTemplate >
<DataTemplate >
<CheckBox VerticalAlignment="Center" HorizontalAlignment="Center" IsChecked="{Binding Path=Value}" Width=" 25" IsThreeState="False"></CheckBox>
</DataTemplate>
</GridViewColumn.CellTemplate>
</GridViewColumn>
Syed Shakeer Hussain