Hi,
I have two radpanes in one radpanegroup, each with a chart. I want to show one of these two (and only one), based upon some conditions.
I have made a property for Visibility and two 'Boolean' properties, one holding true or false and the other holding false or true.
With these properties I set the radpane properties like Visibility, IsHidden, IsEnabled, IsSelected for both radpanes.
However, this does not toggle shown radpanes / charts. (actually, it does, but I have to click on the radpane tab to get it shown....)
I've tries a lot of different combinations, but I haven't succeeded so far.
Can anybody tell me how to do this?
This is how the two radpanes in XAML look like:
<telerik:RadPaneGroup x:Name="graph1RadPaneGroup">
<telerik:RadPane x:Name="multiOrderLineRadPane"
Header="[Problem Orders By Supplier]"
Visibility="{Binding OrderCountBySupplierGraphVisibility}"
IsPinned="True"
IsSelected="{Binding IsMultiOrderItemsSelected}"
IsEnabled="{Binding IsMultiOrderItemsSelected}"
CanUserClose="False">
<views:OrderCountBySupplierGraphView/>
</telerik:RadPane>
<telerik:RadPane x:Name="singleOrderLineRadPane"
Header="[Graph 1a]"
Visibility="{Binding SingleItemOrderCountGraphVisibility}"
IsPinned="True"
IsSelected="{Binding IsSingleOrderItemSelected}"
IsEnabled="{Binding IsSingleOrderItemSelected}"
CanUserClose="False">
<views:SingleItemOrderCountGraphView/>
</telerik:RadPane>
</telerik:RadPaneGroup>
Looking forward to replies,
Erwin
I have two radpanes in one radpanegroup, each with a chart. I want to show one of these two (and only one), based upon some conditions.
I have made a property for Visibility and two 'Boolean' properties, one holding true or false and the other holding false or true.
With these properties I set the radpane properties like Visibility, IsHidden, IsEnabled, IsSelected for both radpanes.
However, this does not toggle shown radpanes / charts. (actually, it does, but I have to click on the radpane tab to get it shown....)
I've tries a lot of different combinations, but I haven't succeeded so far.
Can anybody tell me how to do this?
This is how the two radpanes in XAML look like:
<telerik:RadPaneGroup x:Name="graph1RadPaneGroup">
<telerik:RadPane x:Name="multiOrderLineRadPane"
Header="[Problem Orders By Supplier]"
Visibility="{Binding OrderCountBySupplierGraphVisibility}"
IsPinned="True"
IsSelected="{Binding IsMultiOrderItemsSelected}"
IsEnabled="{Binding IsMultiOrderItemsSelected}"
CanUserClose="False">
<views:OrderCountBySupplierGraphView/>
</telerik:RadPane>
<telerik:RadPane x:Name="singleOrderLineRadPane"
Header="[Graph 1a]"
Visibility="{Binding SingleItemOrderCountGraphVisibility}"
IsPinned="True"
IsSelected="{Binding IsSingleOrderItemSelected}"
IsEnabled="{Binding IsSingleOrderItemSelected}"
CanUserClose="False">
<views:SingleItemOrderCountGraphView/>
</telerik:RadPane>
</telerik:RadPaneGroup>
Erwin