Contents
- Header
- Header Template
Having trouble getting help?
Contact Support
Contact Support
Header in WPF Busy Indicator (SfBusyIndicator)
6 Feb 20251 minute to read
Header
The Header is displayed below the animation. The Header property can be used to get or set the content which indicates the information related to loading.
<!--To set the header for SfBusyIndicator-->
<Grid Background="CornflowerBlue">
<Notification:SfBusyIndicator Header="Loading..." Foreground="White" />
</Grid>
// To set the Header for SfBusyIndicator
SfBusyIndicator SfBusyIndicator = new SfBusyIndicator();
SfBusyIndicator.Header = "Loading..";
grid1.Children.Add(SfBusyIndicator);
'To set the Header for SfBusyIndicator
Dim SfBusyIndicator As New SfBusyIndicator()
SfBusyIndicator.Header = "Loading.."
grid1.Children.Add(SfBusyIndicator)
Busy Indicator with header
Header Template
Header template can be used to get or set the template that defines how the header section of the SfBusyIndicator control is displayed.
<!--To set the HeaderTemplate for SfBusyIndicator-->
<Notification:SfBusyIndicator Grid.Row="0" Foreground="White" Background="CornflowerBlue" >
<Notification:SfBusyIndicator.HeaderTemplate>
<DataTemplate >
<TextBlock Text="Loading..." TextAlignment="Center" FontSize="15" Width="100" Foreground="Yellow" />
</DataTemplate>
</Notification:SfBusyIndicator.HeaderTemplate>
</Notification:SfBusyIndicator>
Busy Indicator with header template
NOTE
View sample in GitHub