uno-toolkit-progress-extensions

Toggle descendant ProgressRing and ProgressBar controls with a single boolean binding.

9|1|Updated Dec 10, 2024
One-click install
npx skills add https://github.com/unoplatform/studio --skill uno-toolkit-progress-extensions
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: uno-toolkit-progress-extensions
Source: https://github.com/unoplatform/studio/tree/main/plugins/uno-platform-studio/skills/uno-toolkit-progress-extensions
Command: npx skills add https://github.com/unoplatform/studio --skill uno-toolkit-progress-extensions

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Toggles all ProgressRing and ProgressBar controls under a sub-visual-tree with a single binding, eliminating the need to bind each control individually.

Core Features & Use Cases

  • Single-binding control: Apply a shared boolean to all descendant progress indicators for synchronized loading states.
  • Scope flexibility: Works across nested visuals in Uno Platform UIs built with Uno Toolkit.
  • Real-world scenario: Use in a data-heavy view where multiple progress indicators reflect a single loading operation.

Quick Start

Bind a single boolean property to utu:ProgressExtensions.IsExecuting on a parent element to toggle all descendant ProgressRing and ProgressBar controls.

Frequently Asked Questions about uno-toolkit-progress-extensions

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I toggle all ProgressRing and ProgressBar controls with a single binding in Uno Platform?

You can toggle all ProgressRing and ProgressBar controls within a sub-visual-tree by binding a single boolean property to the utu:ProgressExtensions.IsExecuting attribute on a parent element in your XAML.

Can I synchronize multiple loading indicators across nested Uno Toolkit views?

Yes, applying a shared boolean binding to utu:ProgressExtensions.IsExecuting on a parent element synchronizes all descendant ProgressRing.IsActive and ProgressBar.IsIndeterminate states across nested visual scopes.

Does Uno Platform require individual bindings for each ProgressBar control?

No, Uno Toolkit's ProgressExtensions API eliminates individual bindings by applying a single boolean to a parent element, automatically cascading the loading state to all descendant progress indicators.

What XAML namespace is needed to use ProgressExtensions for Uno Platform UIs?

To use ProgressExtensions in your Uno Platform UIs, you must declare the XAML namespace xmlns:utu="using:Uno.Toolkit.UI" on the target element where the boolean binding is applied.

When should I use single-binding control for progress indicators in Uno Toolkit?

Use single-binding control in data-heavy views where multiple progress indicators reflect a single loading operation, ensuring synchronized loading states across nested lists and detail views without individual bindings.

Why are my descendant ProgressRing controls not toggling in Uno Platform?

Descendant ProgressRing and ProgressBar controls may not toggle if the XAML namespace xmlns:utu="using:Uno.Toolkit.UI" is missing or the boolean binding is not correctly applied to the parent element's ProgressExtensions.IsExecuting property.