Implementing Linear ProgressBars
A comprehensive guide for implementing and customizing the Syncfusion .NET MAUI Linear ProgressBar (SfLinearProgressBar) control. This component displays progress of tasks with rectangular shapes, determinate and indeterminate states, segments, smooth animations, and customizable visuals including range colors.
When to Use This Skill
Use this skill when you need to:
- Implement progress indicators for file uploads, downloads, or data processing tasks
- Show determinate progress with known completion percentages (0-100%)
- Display indeterminate progress when task duration is unknown or cannot be calculated
- Visualize buffer states showing both primary and secondary progress (e.g., video buffering)
- Create multi-segment progress bars for sequential or multi-step tasks
- Customize progress appearance with colors, gradients, sizes, corner radius, or animations
- Apply range-based colors to show different progress zones (success, warning, danger)
- Add progress animations with custom durations and easing effects
- Handle progress events to respond when progress changes or completes
Component Overview
The SfLinearProgressBar is a .NET MAUI control that shows task progress in a rectangular horizontal bar. It supports:
- Multiple States: Determinate (known progress), Indeterminate (unknown duration), Buffer (dual progress)
- Segments: Split progress into multiple sections for sequential tasks
- Rich Customization: Colors, gradients, thickness, padding, corner radius
- Smooth Animations: Configurable duration and easing functions
- Range Colors: Different colors for different progress ranges
- Events: Track progress changes and completion
Documentation and Navigation Guide
Getting Started
📄 Read: references/getting-started.md
When you need to:
- Install and set up the Linear ProgressBar control
- Add the NuGet package (
Syncfusion.Maui.Toolkit)
- Register the Syncfusion Core handler
- Create your first basic progress bar
- Understand namespace imports and initialization
Progress States
📄 Read: references/states.md
When you need to:
- Understand determinate state (default, known progress)
- Enable indeterminate state for unknown duration tasks
- Implement buffer state with secondary progress
- Choose the right state for your use case
- Combine states for complex scenarios
Segments
📄 Read: references/segments.md
When you need to:
- Visualize multiple sequential tasks in one progress bar
- Split progress bar into segments using SegmentCount
- Customize spacing between segments with SegmentGapWidth
- Show gradual multi-step progress
Appearance Customization
📄 Read: references/appearance.md
When you need to:
- Apply range colors with GradientStops (solid or gradient)
- Customize track, progress, and secondary progress height
- Adjust padding around progress indicators
- Set corner radius for rounded edges
- Change colors of progress fill, track fill, and secondary progress
Animation
📄 Read: references/animation.md
When you need to:
- Configure animation duration for different states
- Apply easing effects (Linear, CubicInOut, BounceIn, etc.)
- Use SetProgress() method for one-time animation overrides
- Customize indeterminate animation behavior
- Create smooth, interactive progress transitions
Range Customization
📄 Read: references/range.md
When you need to:
- Define custom Minimum and Maximum values
- Use factor values (0.0 to 1.0) instead of percentages
- Adjust progress range for specific scenarios
- Work with non-standard progress scales
Events
📄 Read: references/events.md
When you need to:
- Handle ProgressChanged event to respond to progress updates
- Handle ProgressCompleted event when progress reaches maximum
- Dynamically change appearance based on progress value
- Implement custom logic triggered by progress milestones
1---
2name: syncfusion-maui-toolkit-linear-progressbar
3description: Implements Syncfusion .NET MAUI Linear ProgressBar (SfLinearProgressBar) control. Use when working with progress bars, progress indicators, loading indicators, determinate/indeterminate progress, or buffer progress visualization. Covers progress tracking, multi-segment progress, animated progress, and gradient progress bars.
4metadata:
5 author: "Syncfusion Inc"
6 version: "1.0.0"
7---
8
9# Implementing Linear ProgressBars
10
11A comprehensive guide for implementing and customizing the Syncfusion .NET MAUI Linear ProgressBar (SfLinearProgressBar) control. This component displays progress of tasks with rectangular shapes, determinate and indeterminate states, segments, smooth animations, and customizable visuals including range colors.
12
13## When to Use This Skill
14
15Use this skill when you need to:
16
17- **Implement progress indicators** for file uploads, downloads, or data processing tasks
18- **Show determinate progress** with known completion percentages (0-100%)
19- **Display indeterminate progress** when task duration is unknown or cannot be calculated
20- **Visualize buffer states** showing both primary and secondary progress (e.g., video buffering)
21- **Create multi-segment progress bars** for sequential or multi-step tasks
22- **Customize progress appearance** with colors, gradients, sizes, corner radius, or animations
23- **Apply range-based colors** to show different progress zones (success, warning, danger)
24- **Add progress animations** with custom durations and easing effects
25- **Handle progress events** to respond when progress changes or completes
26
27## Component Overview
28
29The **SfLinearProgressBar** is a .NET MAUI control that shows task progress in a rectangular horizontal bar. It supports:
30
31- **Multiple States**: Determinate (known progress), Indeterminate (unknown duration), Buffer (dual progress)
32- **Segments**: Split progress into multiple sections for sequential tasks
33- **Rich Customization**: Colors, gradients, thickness, padding, corner radius
34- **Smooth Animations**: Configurable duration and easing functions
35- **Range Colors**: Different colors for different progress ranges
36- **Events**: Track progress changes and completion
37
38## Documentation and Navigation Guide
39
40### Getting Started
41📄 **Read:** [references/getting-started.md](references/getting-started.md)
42
43When you need to:
44- Install and set up the Linear ProgressBar control
45- Add the NuGet package (`Syncfusion.Maui.Toolkit`)
46- Register the Syncfusion Core handler
47- Create your first basic progress bar
48- Understand namespace imports and initialization
49
50### Progress States
51📄 **Read:** [references/states.md](references/states.md)
52
53When you need to:
54- Understand determinate state (default, known progress)
55- Enable indeterminate state for unknown duration tasks
56- Implement buffer state with secondary progress
57- Choose the right state for your use case
58- Combine states for complex scenarios
59
60### Segments
61📄 **Read:** [references/segments.md](references/segments.md)
62
63When you need to:
64- Visualize multiple sequential tasks in one progress bar
65- Split progress bar into segments using SegmentCount
66- Customize spacing between segments with SegmentGapWidth
67- Show gradual multi-step progress
68
69### Appearance Customization
70📄 **Read:** [references/appearance.md](references/appearance.md)
71
72When you need to:
73- Apply range colors with GradientStops (solid or gradient)
74- Customize track, progress, and secondary progress height
75- Adjust padding around progress indicators
76- Set corner radius for rounded edges
77- Change colors of progress fill, track fill, and secondary progress
78
79### Animation
80📄 **Read:** [references/animation.md](references/animation.md)
81
82When you need to:
83- Configure animation duration for different states
84- Apply easing effects (Linear, CubicInOut, BounceIn, etc.)
85- Use SetProgress() method for one-time animation overrides
86- Customize indeterminate animation behavior
87- Create smooth, interactive progress transitions
88
89### Range Customization
90📄 **Read:** [references/range.md](references/range.md)
91
92When you need to:
93- Define custom Minimum and Maximum values
94- Use factor values (0.0 to 1.0) instead of percentages
95- Adjust progress range for specific scenarios
96- Work with non-standard progress scales
97
98### Events
99📄 **Read:** [references/events.md](references/events.md)
100
101When you need to:
102- Handle ProgressChanged event to respond to progress updates
103- Handle ProgressCompleted event when progress reaches maximum
104- Dynamically change appearance based on progress value
105- Implement custom logic triggered by progress milestones