or
<Window x:Class="DockingTest.MainWindow" xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation" Title="MainWindow" Height="350" Width="525"> <Grid> <telerik:RadDocking Name="RadDocking" ActivePaneChanged="RadDocking_ActivePaneChanged"> <telerik:RadDocking.DocumentHost> <telerik:RadSplitContainer> <telerik:RadPaneGroup Name="RadPaneGroup_Top"> <telerik:RadPane Header="Informationen zur Analyse" Name="RadPane_Informationen" IsHidden="True"> <telerik:RadPane.Content> <Grid> <TextBlock Text="Here is a Text in Pane Top #1"/> </Grid> </telerik:RadPane.Content> </telerik:RadPane> <telerik:RadPane Header="Teilbauwerke" Name="RadPane_Teilbauwerke" IsHidden="True"> <telerik:RadPane.Content> <Grid> <TextBlock Text="Here is a Text in Pane Top #2"/> </Grid> </telerik:RadPane.Content> </telerik:RadPane> </telerik:RadPaneGroup> </telerik:RadSplitContainer> </telerik:RadDocking.DocumentHost> <telerik:RadSplitContainer telerik:DockingPanel.InitialSize="250,150" MaxWidth="600" InitialPosition="DockedLeft"> <telerik:RadPaneGroup> <telerik:RadPane Header="Übersicht Analysen" CanUserClose="False"> <Grid> <TextBlock Text="Here is a Text in Pane Left... Click to Show Top Panes." TextWrapping="Wrap" MouseDown="TextBlock_MouseDown"/> </Grid> </telerik:RadPane> </telerik:RadPaneGroup> </telerik:RadSplitContainer> <telerik:RadSplitContainer Name="RadSplitContainer_Bottom" telerik:DockingPanel.InitialSize="400, 250" InitialPosition="DockedBottom" Orientation="Horizontal" HorizontalAlignment="Stretch"> <telerik:RadPaneGroup HorizontalAlignment="Stretch" Name="RadPaneGroup_Bottom" > <telerik:RadPane Header="Grundinformationen" Name="RadPane_Teilbauwerk_Pane1" IsHidden="True" IsSelected="True"> <telerik:RadPane.Content> <Grid> <TextBlock Text="Here is a Text in Pane #1"/> </Grid> </telerik:RadPane.Content> </telerik:RadPane> <telerik:RadPane Header="Pane #2" x:Name="RadPane_Teilbauwerk_Pane2" IsHidden="True"> <telerik:RadPane.Content> <Grid> <TextBlock Text="Here is a Text in Pane #2"/> </Grid> </telerik:RadPane.Content> </telerik:RadPane> <telerik:RadPane Header="Pane #3" Name="RadPane_Teilbauwerk_Pane3" IsHidden="True"> <telerik:RadPane.Content> <Grid> <TextBlock Text="Here is a Text in Pane #3"/> </Grid> </telerik:RadPane.Content> </telerik:RadPane> </telerik:RadPaneGroup> </telerik:RadSplitContainer> </telerik:RadDocking> </Grid></Window>private void RadDocking_ActivePaneChanged(object sender, Telerik.Windows.Controls.Docking.ActivePangeChangedEventArgs e){ if (this.RadDocking.ActivePane.Header.ToString() == "Teilbauwerke") { this.RadPane_Teilbauwerk_Pane1.IsHidden = false; this.RadPane_Teilbauwerk_Pane2.IsHidden = false; this.RadPane_Teilbauwerk_Pane3.IsHidden = false; } else { this.RadPane_Teilbauwerk_Pane1.IsHidden = true; this.RadPane_Teilbauwerk_Pane2.IsHidden = true; this.RadPane_Teilbauwerk_Pane3.IsHidden = true; }}private void TextBlock_MouseDown(object sender, MouseButtonEventArgs e){ this.RadPane_Teilbauwerk_Pane1.IsHidden = true; this.RadPane_Teilbauwerk_Pane2.IsHidden = true; this.RadPane_Teilbauwerk_Pane3.IsHidden = true; this.RadPane_Informationen.IsHidden = false; this.RadPane_Teilbauwerke.IsHidden = false; this.RadPane_Informationen.IsSelected = true;}private readonly EmployeeContextViewModel _ucvm;public MainWindow() // RadWindow{ InitializeComponent(); _ucvm = new EmployeeContextViewModel(); DataContext = _ucvm; // <<<<<<<<<}<t:RadButton Content="Exit" x:Name="LoginButton" Command="{Binding LogoutCommand}"/>public MainWindow(){ InitializeComponent(); _ucvm = new EmployeeContextViewModel(); LoginButton.DataContext = _ucvm; // <<<<<<<<<<<<<< }Hi,
The IsBusy property of my RadGridView is Bound to the IsChecked property of a checkbox, so if the checkbox is checked the grid shows the loading animation, if you uncheck it the grid shows the data. The problem is that, it only works once. So if you check the chkbx loading is displayed, uncheck and data is shown. Try the second time, third, forth, etc and the loading animation does not appear anymore.
Any ideas how to make it work every time I check the checkbox?
Thanks, Bye,
Andras
