Telerik,
I have a problem trying to show the GridViewToggleButton in the second level of the Hierarchical Grid, the problem could have been solved if HasHierarchy had a setter. Since this is not achievable through code and because I was able to use WPF Inspector to change the value of HasHierarchy to make the GridViewToggleButton visible, I would like to request you to find me a workaround to solve this issue.
Regards,
Jerric Lyns John
P.S. The first level Hierarchical Grid works just fine by showing the GridViewToggleButton but when it comes to the second level, it seems somehow internally HasHierarchy is set as False
I have a problem trying to show the GridViewToggleButton in the second level of the Hierarchical Grid, the problem could have been solved if HasHierarchy had a setter. Since this is not achievable through code and because I was able to use WPF Inspector to change the value of HasHierarchy to make the GridViewToggleButton visible, I would like to request you to find me a workaround to solve this issue.
01.
<
telerikGrid:GridViewToggleButton
MinHeight
=
"24"
MinWidth
=
"24"
IsHitTestVisible
=
"{Binding IsExpandable, RelativeSource={RelativeSource TemplatedParent}}"
Grid.Column
=
"2"
IsChecked
=
"{Binding IsExpanded, Mode=TwoWay, RelativeSource={RelativeSource TemplatedParent}}"
telerikGridView:SelectiveScrollingGrid.SelectiveScrollingOrientation
=
"Vertical"
>
02.
<
telerikGrid:GridViewToggleButton.Opacity
>
03.
<
Binding
Path
=
"IsExpandable"
RelativeSource
=
"{RelativeSource TemplatedParent}"
>
04.
<
Binding.Converter
>
05.
<
telerik:BooleanToOpacityConverter
/>
06.
</
Binding.Converter
>
07.
</
Binding
>
08.
</
telerikGrid:GridViewToggleButton.Opacity
>
09.
<
telerikGrid:GridViewToggleButton.Visibility
>
10.
<
Binding
Path
=
"HasHierarchy"
RelativeSource
=
"{RelativeSource TemplatedParent}"
>
11.
<
Binding.Converter
>
12.
<
telerik:BooleanToVisibilityConverter
/>
13.
</
Binding.Converter
>
14.
</
Binding
>
15.
</
telerikGrid:GridViewToggleButton.Visibility
>
16.
</
telerikGrid:GridViewToggleButton
>
17.
<
Border
Grid.Column
=
"2"
BorderBrush
=
"#FFB3B3B3"
BorderThickness
=
"0,0,1,0"
telerikGridView:SelectiveScrollingGrid.SelectiveScrollingOrientation
=
"Vertical"
>
18.
<
Border.Visibility
>
19.
<
Binding
Path
=
"HasHierarchy"
RelativeSource
=
"{RelativeSource TemplatedParent}"
>
20.
<
Binding.Converter
>
21.
<
telerik:BooleanToVisibilityConverter
/>
22.
</
Binding.Converter
>
23.
</
Binding
>
24.
</
Border.Visibility
>
25.
</
Border
>
Regards,
Jerric Lyns John
P.S. The first level Hierarchical Grid works just fine by showing the GridViewToggleButton but when it comes to the second level, it seems somehow internally HasHierarchy is set as False