Set Header

24 Jul 2017 / 1 minute to read

SfBusyIndicator provides option to set the text that indicates the information related to loading. This can be done using Title property.

SfBusyIndicator busyIndicator = new SfBusyIndicator(this);
	busyIndicator.AnimationType = AnimationTypes.Battery;
	busyIndicator.Title="Loading...";

BusyIndicator with title

FontFace

User can modify the Font style and Font size of the title which is displayed beneath the animation. FontFace property can be used to modify these settings.

SfBusyIndicator busyIndicator = new SfBusyIndicator(this);
	busyIndicator.AnimationType=AnimationTypes.Battery;
	busyIndicator.Title="Loading...";
	busyIndicator.Fontface=Typeface.create("Arial",Typeface.NONE);

BusyIndicator with font face