Studio for Silverlight

mutiple checkbox on the treeview note

  •  joey219 said 11 months, 1 week ago:

    Hi

    How can I build a treeview with three checkboxes on each note?
    e.g.

    Note checkbox1 checkbox2 checkbox3

    RootNote [v] [v] [v]
    BranchNote [v] [v] [v]
    BranchNote [v] [v] [v]
    BranchNote [v] [v] [v]
    BranchNote [v] [v] [v]
    BranchNote [v] [v] [v]

    Many thanks,

    Hong

  •  C1_UpkarS64p said 11 months ago:

    Are you using a bound C1TreeView or an unbound one?
    You can simply place the required content as C1TreeViewItems’ header.

    <c1:C1TreeViewItem IsExpanded="True">
      <c1:C1TreeViewItem.Header>
    <StackPanel>
    <TextBlock Text="Root"/>
    <CheckBox/>
    <CheckBox/>
    <CheckBox/>
    </StackPanel>
     </c1:C1TreeViewItem.Header>
      <c1:C1TreeViewItem>
    

    For a bound treeview, define hierarchical datatemplate.

    Regards

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.