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