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

syncfusion-winforms-record-navigation-controlsyncfusion winforms 记录导航控件

Agent Skill

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

总安装

245

周安装

10

GitHub Stars

1

下载量

78
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

请帮我安装这个 Agent Skill:syncfusion-winforms-record-navigation-control(syncfusion winforms 记录导航控件)
来源仓库:https://github.com/syncfusion/winforms-ui-components-skills
仓库路径:skills/syncfusion-winforms-record-navigation-control
安装命令:
npx skills add https://github.com/syncfusion/winforms-ui-components-skills --skill syncfusion-winforms-record-navigation-control
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/syncfusion/winforms-ui-components-skills --skill syncfusion-winforms-record-navigation-control

简介

Syncfusion WinForms 记录导航控件,专用于数据库或列表式数据的上下翻页浏览。

  • 适用于数据录入、档案查看、日志翻阅等需要逐条切换记录的界面。
  • 提供首页、末页、前进后退按钮及当前位置指示器,提升操作效率。
  • 使用前请核实 Syncfusion 版本是否包含此控件,部分功能依赖特定数据绑定方式。
  • 注意大数据集下的导航性能,建议配合虚拟滚动或分页查询机制使用。

SKILL.md

Implementing Grid Record Navigation Controls

A comprehensive guide for implementing the Syncfusion GridRecordNavigationControl in Windows Forms applications. This control provides a Microsoft Access-like navigation bar for navigating between records in grid controls.

When to Use This Skill

Use the GridRecordNavigationControl when you need to:

  • Add navigation controls to browse through grid records
  • Implement Microsoft Access-like record navigation UI
  • Provide first, last, previous, next navigation functionality
  • Navigate large datasets in GridControl or GridDataBoundGrid
  • Integrate navigation bar with GridGroupingControl
  • Create data-driven applications with intuitive record browsing
  • Display record count and current position to users

Component Overview

The GridRecordNavigationControl allows users to navigate between records using a navigation bar positioned at the bottom of a grid. It provides built-in support for navigating to the first, last, previous, and next record with a familiar Microsoft Access-style interface.

Key Features:

  • Built-in Navigation Methods - MoveFirst, MoveLast, MoveNext, MovePrevious
  • Localization Support - Customize navigation bar text and labels
  • Visual Styles - Default, Metro, Office2016 themes
  • GridGroupingControl Integration - ShowNavigationBar property for easy integration
  • Programmatic Control - Navigate records dynamically through code
  • Record Display - Shows current record and total record count

Documentation and Navigation Guide

Getting Started and Setup

📄 Read: references/getting-started.md

  • Assembly deployment requirements (Syncfusion.Grid.Windows, Syncfusion.Shared.Base)
  • Creating GridRecordNavigationControl through Visual Studio Designer
  • Creating GridRecordNavigationControl programmatically through code
  • Adding child grid controls (GridControl, GridDataBoundGrid)
  • Basic configuration and initialization
  • Complete setup examples in C# and VB.NET

Navigation Methods and Functionality

📄 Read: references/navigation-methods.md

  • MoveFirst() - Navigate to the first record
  • MoveLast() - Navigate to the last record
  • MoveNext() - Navigate to the next record
  • MovePrevious() - Navigate to the previous record
  • Use case scenarios for large datasets
  • Programmatic navigation examples
  • Navigation method reference with code samples

Styling and Themes

📄 Read: references/styling.md

  • Visual styles: Default, Metro, Office2016
  • Style property configuration
  • Office2016 color schemes (Black, Colorful, DarkGray, White)
  • GridOfficeScrollBars integration
  • Theme examples with screenshots
  • Appearance customization

GridGroupingControl Integration

📄 Read: references/gridgrouping-integration.md

  • ShowNavigationBar property for GridGroupingControl
  • RecordNavigationBar property access
  • Built-in navigation support integration
  • Enabling navigation bar for grouped data
  • Complete integration examples
  • Record navigation in grouped grids

Quick Start Example

Through Designer (Recommended)

// Step 1: Drag GridRecordNavigationControl from toolbox to form
// Step 2: Position and size the control
// Step 3: Drag GridDataBoundGrid into the GridRecordNavigationControl
// Step 4: Set GridDataBoundGrid.DataSource property

// Designer generates this code:
this.recordNavigationControl1 = new Syncfusion.Windows.Forms.Grid.GridRecordNavigationControl();
this.gridDataBoundGrid1 = new Syncfusion.Windows.Forms.Grid.GridDataBoundGrid();

this.recordNavigationControl1.Controls.Add(this.gridDataBoundGrid1);
this.gridDataBoundGrid1.DataSource = myDataSource;

Through Code

using Syncfusion.Windows.Forms.Grid;
using System.Drawing;

// Create GridRecordNavigationControl
this.recordNavigationControl1 = new GridRecordNavigationControl();
this.recordNavigationControl1.Location = new Point(32, 48);
this.recordNavigationControl1.Size = new Size(520, 256);
this.recordNavigationControl1.MaxRecord = 1000;
this.recordNavigationControl1.MaxLabel = "of 1000";
this.recordNavigationControl1.NavigationBarWidth = 237;

// Create child grid
this.gridControl1 = new GridControl();
this.gridControl1.RowCount = 1000;
this.gridControl1.ColCount = 16;
this.gridControl1.NumberedRowHeaders = false;

// Add grid to navigation control
this.recordNavigationControl1.Controls.Add(this.gridControl1);

// Add to form
this.Controls.Add(this.recordNavigationControl1);

Common Patterns

Pattern 1: Data-Bound Grid with Navigation

using Syncfusion.Windows.Forms.Grid;
using System.Data;

// Create navigation control
var navControl = new GridRecordNavigationControl();
navControl.Location = new Point(20, 20);
navControl.Size = new Size(600, 400);

// Create data-bound grid
var dataGrid = new GridDataBoundGrid();
dataGrid.DataSource = GetDataTable(); // Your data source

// Add grid to navigation control
navControl.Controls.Add(dataGrid);

// Configure navigation
navControl.MaxRecord = dataGrid.Model.RowCount;
navControl.MaxLabel = $"of {dataGrid.Model.RowCount}";

this.Controls.Add(navControl);

Pattern 2: Programmatic Navigation

// Navigate to first record
this.recordNavigationControl1.RecordNavigationBar.MoveFirst();

// Navigate to last record
this.recordNavigationControl1.RecordNavigationBar.MoveLast();

// Navigate to next record
this.recordNavigationControl1.RecordNavigationBar.MoveNext();

// Navigate to previous record
this.recordNavigationControl1.RecordNavigationBar.MovePrevious();

Pattern 3: Styled Navigation Control

using Syncfusion.Windows.Forms;

// Apply Metro theme
this.recordNavigationControl1.Style = Appearance.Metro;

// Apply Office2016 theme with Black color scheme
this.recordNavigationControl1.Style = Appearance.Office2016;
this.recordNavigationControl1.GridOfficeScrollBars = OfficeScrollBars.Office2016;
this.recordNavigationControl1.Office2016ScrollBarsColorScheme =
    ScrollBarOffice2016ColorScheme.Black;

Pattern 4: GridGroupingControl with Navigation

using Syncfusion.Windows.Forms.Grid.Grouping;

// Enable navigation bar on GridGroupingControl
this.gridGroupingControl1.ShowNavigationBar = true;

// Access navigation methods through RecordNavigationBar property
this.gridGroupingControl1.RecordNavigationBar.MoveFirst();
this.gridGroupingControl1.RecordNavigationBar.MoveNext();

Key Properties

PropertyTypeDescription
MaxRecordintTotal number of records in the dataset
MaxLabelstringLabel showing total record count (e.g., "of 1000")
NavigationBarWidthintWidth of the navigation bar in pixels
SplitBarsDynamicSplitBarsSplit bar configuration (None, Both, Horizontal, Vertical)
StyleAppearanceVisual style (Default, Metro, Office2016)
Office2016ScrollBarsColorSchemeScrollBarOffice2016ColorSchemeOffice2016 color scheme
GridOfficeScrollBarsOfficeScrollBarsOffice scrollbar style
ShowNavigationBarbool(GridGroupingControl) Shows/hides navigation bar

Key Methods

MethodDescription
MoveFirst()Navigate to the first record
MoveLast()Navigate to the last record
MoveNext()Navigate to the next record
MovePrevious()Navigate to the previous record

Common Use Cases

Use Case 1: Database Viewer Application

Create a data viewer that allows users to browse through database records one at a time, similar to Microsoft Access forms.

Use Case 2: Record Editor

Build an editor interface where users can navigate between records while editing data, with clear indication of current position.

Use Case 3: Large Dataset Navigation

Enable efficient navigation through large datasets (1000+ records) without loading all records into view at once.

Use Case 4: Grouped Data Navigation

Navigate through grouped records in GridGroupingControl while maintaining group structure.

Required Assemblies

To use GridRecordNavigationControl, add these assembly references:

  1. Syncfusion.Grid.Windows.dll - Core grid functionality and navigation control
  2. Syncfusion.Shared.Base.dll - Shared styles, editors, and base components

Implementation Checklist

  • Add required assembly references
  • Create GridRecordNavigationControl (designer or code)
  • Add child grid control (GridControl or GridDataBoundGrid)
  • Configure MaxRecord and MaxLabel properties
  • Set data source if using data-bound grid
  • Apply visual style/theme (optional)
  • Test navigation methods (first, last, next, previous)
  • Handle any custom navigation events (optional)

Best Practices

  1. Designer First: Use Visual Studio Designer for initial setup - it generates correct initialization code
  2. Drop Order: When using designer, drop navigation control first, then drop grid INTO the navigation control (not onto the form)
  3. Set MaxRecord: Always set MaxRecord property to match your dataset size for accurate navigation
  4. Update MaxLabel: Keep MaxLabel synchronized with data changes
  5. Theme Consistency: Apply the same visual style across all Syncfusion controls in your application
  6. Assembly References: Verify both required assemblies are referenced before using the control

Troubleshooting

Navigation doesn't work:

  • Verify child grid is added to navigation control's Controls collection
  • Check that MaxRecord is set correctly
  • Ensure grid has data source or populated rows

Designer issues:

  • Drop grid control INTO navigation control, not onto the form
  • If controls aren't nested properly, recreate in correct order

Styling not applied:

  • Verify Office2016ScrollBarsColorScheme is set when using Office2016 style
  • Check that GridOfficeScrollBars matches the Style property

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

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

平台分布

Codex

37.66%
按下载量换算29

Claude

27.96%
按下载量换算22

Cursor

18.39%
按下载量换算14

Gemini CLI

8.33%
按下载量换算6

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

只读

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

安装前确认

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

来源信息

继续浏览同类 Skills