我试图在窗口打开时显示一个视觉指示“isbusy”,而网格 1-3 正在加载。在使用“telerik:RadToggleButton isbusy”加载网格后,我已经能够显示加载指示,但我想在打开窗口时和加载网格之前显示它。有人可以提前为我指出正确的方向吗?
<Window.Resources/>
<UserControl Name="tbMain" HorizontalAlignment="Left">
<Grid>
<Grid.RowDefinitions>
<RowDefinition></RowDefinition>
<RowDefinition Height="25"></RowDefinition>
</Grid.RowDefinitions>
<ScrollViewer VerticalScrollBarVisibility="Auto" HorizontalScrollBarVisibility="Disabled">
<StackPanel Orientation="Vertical" HorizontalAlignment="Stretch">
<telerik:RadGridView (1)/>
<telerik:RadGridView (2)/>
<telerik:RadGridView (3)/>
</StackPanel>
</ScrollViewer
<DockPanel Grid.Row="1" Background="SkyBlue">
<Button x:Name="btnAcceptMerge" Content="Accept Merge" DockPanel.Dock="Left"/>
<Button x:Name="btnCancel" Content="Cancel Merge" Click="btnCancel_Click" DockPanel.Dock="Right"/>
<TextBlock Text=""/>
</DockPanel>
</Grid>
</UserControl>
</Window>