Hello,
I would like to show a busyindicator inside a documenthost, which I can show when loading the document.
I am using PRISM and the ShellDockingPanesFactory (from the Docking-ShellPrism example) to add my panes to the DocumentHost.
Ho can I implement this functionality without blocking my other documents or other panes?
The code below will block my whole Docking control.
<
telerik:RadBusyIndicator
DockPanel.Dock
=
"Top"
IsBusy
=
"{Binding IsBusy}"
IsIndeterminate
=
"{Binding IsIndeterminate}"
ProgressValue
=
"{Binding ProgressValue}"
BusyContent
=
"{Binding BusyContent}"
DisplayAfter
=
"{Binding DisplayAfter}"
>
<!-- Document tabs -->
<
telerik:RadDocking
x:Name
=
"radDocking"
prism:RegionManager.RegionName
=
"WorkspaceRegion"
Background
=
"LightGray"
BorderThickness
=
"0"
>
<
telerik:RadDocking.DockingPanesFactory
>
<
docking:ShellDockingPanesFactory
/>
</
telerik:RadDocking.DockingPanesFactory
>
<!-- Behaviour for catching close command in viewmodel -->
<
telerik:EventToCommandBehavior.EventBindings
>
<
telerik:EventBinding
Command
=
"{Binding CloseCommand}"
EventName
=
"Close"
PassEventArgsToCommand
=
"True"
/>
</
telerik:EventToCommandBehavior.EventBindings
>
<
telerik:RadSplitContainer
Height
=
"200"
Name
=
"BottomContainer"
InitialPosition
=
"DockedBottom"
>
<
telerik:RadPaneGroup
x:Name
=
"BottomPaneGroup"
/>
</
telerik:RadSplitContainer
>
</
telerik:RadDocking
>
</
telerik:RadBusyIndicator
>
Please advice.
Marcel