Home Forums WPF controls Xceed DataGrid for WPF setting row Number to checkbox Tag

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • User (Old forums)
    Member
    Post count: 23064
    #26474 |

    Hi ,

    I have struck with a problem. I have my first column header as checkbox. When i click on the header checkbox i need to check all the checkbox in the rows. I want to assign row number as Tag to the row checkboxes while binding is there any way to assign the row number to row check boxes?

    I tried like below

    <CheckBox x:Name=”chkRow” ToolTip=”{Binding RelativeSource={RelativeSource Self}, Path=ItemIndex, Converter={StaticResource IntegerConverter}}” DockPanel.Dock=”Left” Checked=”onChecked” />

    Please help me in this issue.

    Thanks,
    Vasu

    Imported from legacy forums. Posted by vasudeva rao (had 1895 views)

    Xceed Support
    Member
    Post count: 5658

    Take a look at the “Styling row selectors” example in the documentation for an example of how to retrieve a row’s visual index.

    Imported from legacy forums. Posted by Jenny [Xceed] (had 3189 views)

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.