Contents
- ViewBoxHeight
- ViewBoxWidth
Having trouble getting help?
Contact Support
Contact Support
Sizing in WPF Busy Indicator (SfBusyIndicator)
6 Feb 20252 minutes to read
ViewBoxHeight
The ViewBoxHeight property allows the user to set the height of the ViewBox.
<!--To set the ViewboxHeight for SfBusyIndicator-->
<Notification:SfBusyIndicator Foreground="White" Header="Loading..." Background="CornflowerBlue" ViewboxHeight="200" >
</Notification:SfBusyIndicator>
// To set the ViewboxHeight for SfBusyIndicator
SfBusyIndicator SfBusyIndicator = new SfBusyIndicator();
SfBusyIndicator.Header = "Loading..";
SfBusyIndicator.Foreground = Brushes.White;
SfBusyIndicator.Background = Brushes.CornflowerBlue;
SfBusyIndicator.ViewboxHeight = 200;
Grid1.Children.Add(SfBusyIndicator);
' To set the ViewboxHeight for SfBusyIndicator
Dim SfBusyIndicator As New SfBusyIndicator()
SfBusyIndicator.Header = "Loading.."
SfBusyIndicator.Foreground = Brushes.White
SfBusyIndicatorBackground = Brushes.CornflowerBlue
SfBusyIndicator.ViewboxHeight = 200
Grid1.Children.Add(SfBusyIndicator)
ViewBoxWidth
ViewBoxWidth property allows the user to set the width of the ViewBox.
<!--To set the ViewBoxWidth for SfBusyIndicator-->
<Notification:SfBusyIndicator Foreground="White" Header="Loading..." Background="CornflowerBlue" ViewboxWidth="50" >
</Notification:SfBusyIndicator>
// To set the ViewBoxWidth for SfBusyIndicator
SfBusyIndicator SfBusyIndicator = new SfBusyIndicator();
SfBusyIndicator.Header = "Loading..";
SfBusyIndicator.Foreground = Brushes.White;
SfBusyIndicator.Background = Brushes.CornflowerBlue;
SfBusyIndicator.ViewboxWidth = 50;
Grid1.Children.Add(SfBusyIndicator);
' To set the ViewBoxWidth for SfBusyIndicator
Dim SfBusyIndicator As New SfBusyIndicator()
SfBusyIndicator.Header = "Loading.."
SfBusyIndicator.Foreground = Brushes.White
SfBusyIndicator.Background = Brushes.CornflowerBlue
SfBusyIndicator.ViewboxWidth = 50
Grid1.Children.Add(SfBusyIndicator)
Busy Indicator with height and width
NOTE
View sample in GitHub