The busyindicator doesn't seem to display if its inside a tilePane. It behaves correctly i.e. the button is not available until bsyFoo.IsBusy is set to false. It seems to work fine if its outside of the <XamWebTileView>. Is there a workaround / fix?
Xaml:
<igTileView:TilePane Header="My Header Text" Style="{StaticResource MyTilePane}"> <toolkit:BusyIndicator x:Name="bsyFoo" IsBusy="True"> <StackPanel> <Button Content="btnFoo" /> </StackPanel> </toolkit:BusyIndicator> </igTileView:TilePane>
This is an issue of scope when you put something into the BusyIndicator it applies to its children. If you want it to cover the entire page you must put it higher in the visual tree. Try putting the TileView into the BusyIndicator
I don't think I was clear with my question. I've created 3 custom controls each which has its own busy indicator. I've placed these controls into 3 different tile panes so in theory the user would see 3 different busy indicators while the controls were loading. However, the busyindicators never seem to appear (though their children controls enable/disable correctly).
Hi,It is hard to reproduce this - it happens very rarely.Try to refresh the BusyIndicator from code. For example:private void tile1_Loaded(object sender, RoutedEventArgs e){ BusyIndicator bi = (sender as TilePane).Content as BusyIndicator; bi.IsBusy = false; bi.IsBusy = true;}<igTV:TilePane x:Name="tile1" Loaded="tile1_Loaded"> <toolkit:BusyIndicator IsBusy="True"> <Button Content="Ready"/> </toolkit:BusyIndicator></igTV:TilePane>
Regards,Marin
That seems to do it. Weird.