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

syncfusion-wpf-range-selector同步融合 WPF 范围选择器

Agent Skill

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

总安装

964

周安装

41

GitHub Stars

2

下载量

338
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

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

简介

用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息。

  • 适合围绕仓库状态、代码变更或协作事项进行整理与分析。
  • 通过 npx skills add 命令从指定 GitHub 仓库安装使用。
  • 建议确认权限范围和维护状态,避免触发联网或文件读写操作。
  • syncfusion-wpf-range-selector 属于前端设计类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

Implementing Range Selectors

Guide for implementing the Syncfusion® WPF Range Selector (SfDateTimeRangeNavigator) control for time-bound data visualization with interactive scrolling and navigation through large periods of time.

When to Use This Skill

Use this skill when you need to:

  • Navigate large time-based datasets with scrolling and zooming
  • Select specific date-time ranges from large data periods
  • Create interactive dashboards with range-based data filtering
  • Implement chart zooming with time range selection
  • Display hierarchical time labels (year/month, quarter/month, etc.)
  • Combine with other visualizations (charts, grids) for data exploration
  • Enable data range selection with visual feedback and tooltips

The Range Selector control excels at scenarios where users need to explore and select portions of large time-series data, providing an intuitive scrollbar interface with smart label calculation.

Component Overview

The SfDateTimeRangeNavigator is a specialized control for navigating time-bound data with these key capabilities:

Core Features:

  • Interactive Navigation: Scrolling and zooming through large datasets
  • Dual-Level Labels: Hierarchical time display (higher/lower level bars)
  • Smart Labels: Automatic label calculation when zooming
  • Range Selection: Resizable scrollbar for precise region selection
  • Content Integration: Embed charts, sparklines, or any UI element
  • Data Binding: Standard WPF IEnumerable support with property binding

Common Scenarios:

  • Financial data exploration (stock prices, trading volumes)
  • Historical data analysis with date range filtering
  • Dashboard range controls for synchronized views
  • Time-series data selection with visual preview

Documentation and Navigation Guide

Getting Started

📄 Read: references/getting-started.md

When you need to:

  • Understand the visual structure (higher/lower bars, content, scrollbar)
  • Add assembly references and install packages
  • Initialize the SfDateTimeRangeNavigator control
  • Set ItemsSource and bind to date-time data
  • Add content inside the navigator (charts, sparklines)
  • Create range navigator from code-behind
  • Apply themes to the control

This reference covers complete setup from installation to first working implementation.

Interactivity and Events

📄 Read: references/interactivity.md

When you need to:

  • Implement zooming and panning functionality
  • Bind ZoomPosition and ZoomFactor to chart axes
  • Retrieve selected data from chosen ranges
  • Handle ValueChanged events for range updates
  • Customize thumb appearance (left/right sliders)
  • Configure SymbolTemplate and LineStyle for thumbs
  • Customize higher and lower bar styles
  • Enable deferred updates for performance
  • Handle LowerBarLabelsCreated/UpperBarLabelsCreated events

This reference covers all interactive features and event handling.

Label Customization

📄 Read: references/label-customization.md

When you need to:

  • Set interval types (Year, Quarter, Month, Week, Day, Hour)
  • Customize label formats with LabelFormatters
  • Style selected and unselected labels
  • Position labels inside or outside bars
  • Control label bar visibility
  • Configure RangePadding (None, Round)
  • Customize grid lines and tick lines
  • Understand smart label calculation behavior

This reference covers complete label and interval customization.

Tooltip Configuration

📄 Read: references/tooltip-support.md

When you need to:

  • Enable tooltips on slider thumbs
  • Format tooltip date-time display
  • Customize left and right tooltip templates
  • Display selected range values with precision

This reference covers tooltip display and customization.

Troubleshooting

📄 Read: references/troubleshooting.md

When you encounter:

  • Assembly reference problems
  • Data binding issues or ItemsSource errors
  • Content not displaying properly
  • Zoom binding not synchronizing with charts
  • Performance issues with large datasets
  • Theme application problems
  • License-related errors

This reference provides solutions for common issues.

Quick Start Example

Basic Range Navigator with Chart

<Window xmlns:syncfusion="clr-namespace:Syncfusion.UI.Xaml.Charts;assembly=Syncfusion.SfChart.WPF">
    <Grid>
        <!-- Main Chart -->
        <syncfusion:SfChart x:Name="Chart" Margin="10">
            <syncfusion:SfChart.PrimaryAxis>
                <syncfusion:DateTimeAxis
                    ZoomPosition="{Binding ElementName=RangeNavigator, Path=ZoomPosition, Mode=TwoWay}"
                    ZoomFactor="{Binding ElementName=RangeNavigator, Path=ZoomFactor, Mode=TwoWay}"/>
            </syncfusion:SfChart.PrimaryAxis>

            <syncfusion:SfChart.SecondaryAxis>
                <syncfusion:NumericalAxis/>
            </syncfusion:SfChart.SecondaryAxis>

            <syncfusion:LineSeries ItemsSource="{Binding Data}"
                                   XBindingPath="Date"
                                   YBindingPath="Value"/>
        </syncfusion:SfChart>

        <!-- Range Navigator -->
        <syncfusion:SfDateTimeRangeNavigator x:Name="RangeNavigator"
                                             ItemsSource="{Binding Data}"
                                             XBindingPath="Date"
                                             VerticalAlignment="Bottom"
                                             Height="100"
                                             Margin="10">
            <syncfusion:SfDateTimeRangeNavigator.Content>
                <syncfusion:SfLineSparkline ItemsSource="{Binding Data}"
                                            YBindingPath="Value"/>
            </syncfusion:SfDateTimeRangeNavigator.Content>
        </syncfusion:SfDateTimeRangeNavigator>
    </Grid>
</Window>

ViewModel

public class DataViewModel : INotifyPropertyChanged
{
    public ObservableCollection<DataPoint> Data { get; set; }

    public DataViewModel()
    {
        Data = new ObservableCollection<DataPoint>();
        DateTime startDate = DateTime.Today.AddYears(-1);

        for (int i = 0; i < 365; i++)
        {
            Data.Add(new DataPoint
            {
                Date = startDate.AddDays(i),
                Value = 50 + (i % 30)
            });
        }
    }

    public event PropertyChangedEventHandler PropertyChanged;
}

public class DataPoint
{
    public DateTime Date { get; set; }
    public double Value { get; set; }
}

Common Patterns

Pattern 1: Chart Synchronization with Range Navigator

Bind the navigator's zoom properties to chart axes for synchronized navigation:

<syncfusion:SfChart>
    <syncfusion:SfChart.PrimaryAxis>
        <syncfusion:DateTimeAxis
            ZoomPosition="{Binding ElementName=RangeNavigator, Path=ZoomPosition, Mode=TwoWay}"
            ZoomFactor="{Binding ElementName=RangeNavigator, Path=ZoomFactor, Mode=TwoWay}"/>
    </syncfusion:SfChart.PrimaryAxis>
</syncfusion:SfChart>

<syncfusion:SfDateTimeRangeNavigator x:Name="RangeNavigator"
                                     ItemsSource="{Binding Data}"
                                     XBindingPath="Date"/>

Pattern 2: Selected Data Retrieval

Access the data within the selected range:

private void OnRangeChanged(object sender, EventArgs e)
{
    var navigator = sender as SfDateTimeRangeNavigator;
    var selectedData = navigator.SelectedData;

    // Process selected data
    ProcessDataInRange(selectedData);
}

Pattern 3: Custom Interval Configuration

Set specific interval types for label bars:

<syncfusion:SfDateTimeRangeNavigator ItemsSource="{Binding Data}"
                                     XBindingPath="Date">
    <syncfusion:SfDateTimeRangeNavigator.Intervals>
        <syncfusion:Interval IntervalType="Year"/>
        <syncfusion:Interval IntervalType="Month"/>
    </syncfusion:SfDateTimeRangeNavigator.Intervals>
</syncfusion:SfDateTimeRangeNavigator>

Pattern 4: Deferred Update for Performance

Enable deferred updates for large datasets:

<syncfusion:SfDateTimeRangeNavigator EnableDeferredUpdate="True"
                                     DeferredUpdateDelay="500"
                                     ItemsSource="{Binding LargeDataset}"
                                     XBindingPath="Date"/>

Key Properties

Data Binding

  • ItemsSource - The data collection (must implement IEnumerable)
  • XBindingPath - Property name for date-time values
  • Content - UI element to display inside navigator (chart, sparkline, etc.)

Range and Zoom

  • ZoomPosition - Current zoom position (0.0 to 1.0)
  • ZoomFactor - Current zoom level (0.0 to 1.0)
  • Minimum - Starting range of the navigator
  • Maximum - Ending range of the navigator
  • ViewRangeStart - Start value of selected range (read-only)
  • ViewRangeEnd - End value of selected range (read-only)
  • SelectedData - Collection of data within selected range (read-only)

Intervals and Labels

  • Intervals - Collection of interval configurations for label bars
  • HigherLevelBarStyle - Style for upper label bar
  • LowerLevelBarStyle - Style for lower label bar
  • RangePadding - Padding type (None, Round)

Interactivity

  • EnableDeferredUpdate - Delays updates during scrolling/panning
  • DeferredUpdateDelay - Delay in milliseconds for deferred updates
  • ShowGridLines - Show/hide gridlines inside content
  • ShowToolTip - Enable/disable tooltips on thumbs
  • ToolTipLabelFormat - Date-time format for tooltips

Customization

  • LeftThumbStyle - Style for left slider thumb
  • RightThumbStyle - Style for right slider thumb
  • LeftToolTipTemplate - Template for left tooltip
  • RightToolTipTemplate - Template for right tooltip

Common Use Cases

Financial Dashboard

Display stock price charts with range selection for detailed analysis of specific time periods. Users can scroll through years of data and zoom into specific trading days.

System Monitoring

Monitor system metrics over time with the ability to select and analyze specific time ranges when anomalies occurred.

Sales Analytics

Explore sales data across multiple years, quarters, and months with hierarchical time labels showing patterns at different time scales.

Weather Data Visualization

Navigate historical weather data with the ability to select specific date ranges for comparison and analysis.

IoT Sensor Data

Browse sensor readings over extended periods and select specific time windows for detailed investigation.

Integration with Other Controls

The Range Selector works seamlessly with:

  • SfChart - Synchronized zooming and panning
  • SfLineSparkline - Lightweight data preview in content area
  • DataGrid - Filter grid data based on selected range
  • Custom Visualizations - Any UI element can be embedded as content

Performance Considerations

For optimal performance with large datasets:

  • Enable EnableDeferredUpdate to reduce update frequency
  • Use SfLineSparkline instead of full charts in content area for lightweight rendering
  • Consider data virtualization for extremely large datasets
  • Set appropriate DeferredUpdateDelay based on data size

Related Skills


Next Steps: Navigate to the appropriate reference file above based on your current implementation needs.

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

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

平台分布

Codex

34%
按下载量换算115

Claude

32.8%
按下载量换算111

Cursor

17.8%
按下载量换算60

Gemini CLI

10.69%
按下载量换算36

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

只读

该 Skill 主要提供规则、说明或参考内容,本身偏只读;真正读写文件、联网或执行命令仍取决于宿主 Agent 的任务。

安装前确认

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

来源信息

继续浏览同类 Skills