Token导航 LogoToken导航TokenDH.com
前端设计需要联网github未标认证来源可访问许可证需确认审计通过

syncfusion-wpf-busy-indicator同步融合 wpf 繁忙指示器

Agent Skill

syncfusion-wpf-busy-indicator 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要围绕仓库状态、代码变更或协作事项进行整理时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

979

周安装

40

GitHub Stars

2

下载量

314
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:syncfusion-wpf-busy-indicator(同步融合 wpf 繁忙指示器)
来源仓库:https://github.com/syncfusion/wpf-ui-components-skills
仓库路径:skills/syncfusion-wpf-busy-indicator
安装命令:
npx skills add https://github.com/syncfusion/wpf-ui-components-skills --skill syncfusion-wpf-busy-indicator
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/syncfusion/wpf-ui-components-skills --skill syncfusion-wpf-busy-indicator

简介

Syncfusion WPF 繁忙指示器组件,用于加载状态与等待提示。

  • 适用于异步操作期间的用户体验优化。syncfusion-wpf-busy-indicator 属于前端设计类 Skill,可作为该场景下的辅助能力补充。
  • 通过 GitHub 仓库安装,使用 npx skills add 命令集成。
  • 安装前需确认是否包含动画资源与主题适配能力。
  • 建议查阅原始文档了解触发条件与覆盖层层级管理。

SKILL.md

Implementing Syncfusion WPF Busy Indicator

Comprehensive guide for implementing the Syncfusion® WPF Busy Indicator control. The SfBusyIndicator provides visual feedback during long-running operations with over 37 built-in animations, customizable headers, and full MVVM support.

When to Use This Skill

Use this skill when user need to:

  • Show loading indicators during data fetching or processing operations
  • Display progress animations while waiting for async operations to complete
  • Provide visual feedback during long-running background tasks
  • Implement wait screens for file operations, API calls, or database queries
  • Indicate busy status in WPF applications with animated indicators
  • Customize loading UI with headers, templates, and animation styles
  • Integrate with MVVM patterns for command execution feedback
  • Configure animation types from 37+ built-in animation options

The SfBusyIndicator is essential for improving user experience by providing clear visual feedback during operations that require users to wait.

Component Overview

The SfBusyIndicator control provides a flexible and customizable way to display loading indicators in WPF applications:

Key Features

  • 37+ Built-in Animations - Multiple animation styles including Flight, Spin, Ball, Box, and more
  • Animation Speed Control - Adjustable animation speed for all animation types (except Fluent)
  • Custom Headers - Display informative text below the animation
  • Header Templates - Full template customization for header content
  • Flexible Sizing - Control animation size with ViewboxHeight and ViewboxWidth
  • IsBusy Property - Simple boolean toggle to show/hide the indicator
  • Theme Support - Built-in theme integration with Syncfusion theme system
  • MVVM Ready - Full data binding support for properties and commands
  • Extensible Methods - Override methods for custom control behaviors

Assembly and Namespace

  • Assembly: Syncfusion.SfBusyIndicator.WPF
  • Namespace: Syncfusion.Windows.Controls.Notification
  • NuGet Package: Syncfusion.SfBusyIndicator.WPF

Documentation and Navigation Guide

Getting Started

📄 Read: references/getting-started.md

  • Installation via NuGet Package Manager
  • Assembly references and namespace imports
  • License configuration and registration
  • Basic implementation in XAML and code-behind
  • Theme setup and configuration
  • Minimal working example
  • GitHub sample repository links

Animation Configuration

📄 Read: references/animation-types.md

  • AnimationType property overview
  • Complete list of 37+ built-in animations
  • AnimationSpeed property configuration
  • Speed adjustment examples (normal, faster, slower)
  • Platform-specific notes (Fluent animation behavior)
  • Visual animation gallery reference
  • XAML, C#, and VB code examples

Display Control

📄 Read: references/isbusy-property.md

  • IsBusy property purpose and usage
  • Controlling animation execution on/off
  • Data binding to async operations
  • MVVM pattern integration with commands
  • RelayCommand and ICommand examples
  • Triggering busy state from view models
  • Common display control scenarios

Header Customization

📄 Read: references/header-customization.md

  • Header property for simple text
  • HeaderTemplate for advanced customization
  • DataTemplate examples with styles
  • Dynamic content binding
  • Multi-line headers and formatting
  • Foreground and font customization
  • Layout and positioning options

Sizing and Layout

📄 Read: references/sizing.md

  • ViewboxHeight property configuration
  • ViewboxWidth property configuration
  • Responsive sizing strategies
  • Container and layout considerations
  • Maintaining aspect ratios
  • Examples for different screen sizes
  • Best practices for sizing

Advanced Usage - Methods

📄 Read: references/methods.md

  • Dispose() method for resource cleanup
  • Dispose(Boolean) protected overload
  • OnApplyTemplate() for template initialization
  • OnAnimationTypeChanged() for animation changes
  • OnPropertyChanged() for property monitoring
  • Custom control extension scenarios
  • Template part access patterns
  • Advanced customization examples

Quick Start Example

Basic Busy Indicator

<Window xmlns:syncfusion="clr-namespace:Syncfusion.Windows.Controls.Notification;assembly=Syncfusion.SfBusyIndicator.WPF"
        x:Class="BusyIndicatorApp.MainWindow">
    <Grid Background="CornflowerBlue">
        <syncfusion:SfBusyIndicator IsBusy="True"
                                     AnimationType="Flight"
                                     Header="Loading..."
                                     Foreground="White"/>
    </Grid>
</Window>

With Data Binding (MVVM)

<Grid>
    <syncfusion:SfBusyIndicator IsBusy="{Binding IsLoading}"
                                 AnimationType="DoubleCircle"
                                 Header="{Binding LoadingMessage}"/>
</Grid>
public class MainViewModel : INotifyPropertyChanged
{
    private bool _isLoading;
    public bool IsLoading
    {
        get => _isLoading;
        set { _isLoading = value; OnPropertyChanged(); }
    }

    private string _loadingMessage = "Please wait...";
    public string LoadingMessage
    {
        get => _loadingMessage;
        set { _loadingMessage = value; OnPropertyChanged(); }
    }

    public async Task LoadDataAsync()
    {
        IsLoading = true;
        LoadingMessage = "Loading data...";

        await Task.Delay(3000); // Simulate operation

        IsLoading = false;
    }
}

Common Patterns

Pattern 1: Async Operation with Busy Indicator

public class DataViewModel : ViewModelBase
{
    private bool _isBusy;
    public bool IsBusy
    {
        get => _isBusy;
        set => SetProperty(ref _isBusy, value);
    }

    public ICommand LoadCommand { get; }

    public DataViewModel()
    {
        LoadCommand = new RelayCommand(async () => await LoadDataAsync());
    }

    private async Task LoadDataAsync()
    {
        IsBusy = true;
        try
        {
            var data = await _dataService.GetDataAsync();
            // Process data
        }
        finally
        {
            IsBusy = false;
        }
    }
}

Pattern 2: Custom Animation Selection

<StackPanel>
    <ComboBox x:Name="AnimationSelector" SelectedIndex="0">
        <ComboBoxItem Content="Flight"/>
        <ComboBoxItem Content="DoubleCircle"/>
        <ComboBoxItem Content="Spin"/>
    </ComboBox>

    <syncfusion:SfBusyIndicator IsBusy="True"
                                 AnimationType="{Binding ElementName=AnimationSelector,
                                                Path=SelectedItem.Content}"/>
</StackPanel>

Pattern 3: Overlay Busy Indicator

<Grid>
    <!-- Main content -->
    <ContentControl Content="{Binding MainContent}"/>

    <!-- Overlay busy indicator -->
    <Grid Background="#80000000"
          Visibility="{Binding IsBusy, Converter={StaticResource BoolToVisibilityConverter}}">
        <syncfusion:SfBusyIndicator IsBusy="{Binding IsBusy}"
                                     AnimationType="Ball"
                                     Header="Processing..."
                                     Foreground="White"
                                     ViewboxHeight="150"
                                     ViewboxWidth="150"/>
    </Grid>
</Grid>

Pattern 4: Conditional Headers

<syncfusion:SfBusyIndicator IsBusy="{Binding IsProcessing}">
    <syncfusion:SfBusyIndicator.HeaderTemplate>
        <DataTemplate>
            <StackPanel>
                <TextBlock Text="{Binding CurrentOperation}"
                          FontSize="14" FontWeight="Bold"/>
                <TextBlock Text="{Binding ProgressPercentage, StringFormat='Progress: {0}%'}"
                          FontSize="11" Margin="0,5,0,0"/>
            </StackPanel>
        </DataTemplate>
    </syncfusion:SfBusyIndicator.HeaderTemplate>
</syncfusion:SfBusyIndicator>

Key Properties

PropertyTypeDescription
IsBusyboolControls whether the animation is displayed
AnimationTypeAnimationTypesSets the animation style (Flight, Spin, etc.)
AnimationSpeeddoubleControls animation speed (not for Fluent type)
HeaderobjectText or content displayed below animation
HeaderTemplateDataTemplateCustom template for header content
ViewboxHeightdoubleHeight of the animation viewbox
ViewboxWidthdoubleWidth of the animation viewbox

Key Methods

MethodDescription
Dispose()Releases managed and unmanaged resources
Dispose(Boolean)Protected overload for resource cleanup
OnApplyTemplate()Override to access template parts
OnAnimationTypeChanged()Override to handle animation type changes
OnPropertyChanged()Override to monitor property changes

Common Use Cases

Data Loading Operations

Display a busy indicator while fetching data from APIs, databases, or file systems. Bind IsBusy to the loading state in your view model.

File Operations

Show loading feedback during file uploads, downloads, or processing operations with informative headers indicating the current operation.

Background Processing

Indicate that background tasks are running (calculations, image processing, batch operations) with appropriate animation types and messages.

Application Initialization

Display a busy indicator during application startup while loading configuration, user settings, or initial data.

Search and Filter Operations

Provide visual feedback while performing complex search or filter operations on large datasets.

Navigation and Page Loading

Show busy indicators when navigating between views or loading page content in navigation-based applications.

Best Practices

  1. Always use with async operations - Ensure IsBusy is set before starting and cleared after completing operations
  2. Provide meaningful headers - Use descriptive text to inform users what's happening
  3. Choose appropriate animations - Select animations that match your application's theme and purpose
  4. Consider overlay approach - Use semi-transparent overlays to prevent user interaction during busy states
  5. Handle exceptions properly - Always reset IsBusy in finally blocks to avoid stuck indicators
  6. Use MVVM pattern - Bind IsBusy to view model properties for better testability and maintainability
  7. Adjust sizing appropriately - Size the indicator based on the importance and screen space available
  8. Theme consistently - Use Syncfusion themes for consistent appearance across your application

Performance Tips

  • Avoid complex HeaderTemplates that may impact rendering performance
  • Use appropriate animation types for your use case (simpler animations for frequent operations)
  • Don't nest multiple busy indicators unnecessarily
  • Consider caching animation resources when using many indicators

Related Components

  • ProgressBar - For determinate progress indication with percentage
  • Toast - For brief notification messages
  • Message - For user notifications with actions
  • Skeleton - For content placeholder animations

Next Steps: Navigate to the reference files above based on your specific implementation needs. Start with getting-started.md for initial setup or jump directly to feature-specific references for advanced scenarios.

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

38.56%
按下载量换算121

Claude

27.29%
按下载量换算86

Cursor

19.03%
按下载量换算60

Gemini CLI

9.04%
按下载量换算28

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills