Syncfusion Maui Dataform 标志

Syncfusion Maui Dataform

组织
syncfusion
syncfusion-maui-dataform

实现 Syncfusion .NET MAUI DataForm(SfDataForm)。在 MAUI 中创建数据录入表单、编辑表单、登录表单、注册表单或联系表单时使用。涵盖表单创建、数据验证、编辑器自定义、布局管理、数据绑定、分组、本地化、内置编辑器、自定义编辑器和验证模式。

概览

发布者syncfusion
代码仓库maui-ui-components-skills
技能名称syncfusion-maui-dataform
星标数
61
复刻数
1
附带文件
12
链接
  • Markdown 格式的指令

    模型按需加载 SKILL.md 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 12 个附带文件

    模型执行任务时可读取的脚本、模板和参考资料。这些文件为只读文件,绝不会被执行。

  • 开源

    由 syncfusion 发布于 GitHub。请在安装前查看技能的源文件。

安装

在 TypingMind 中安装 Syncfusion Maui Dataform AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

1

安装到 TypingMind

TypingMind 可直接从 GitHub 文件夹安装技能:读取 SKILL.md,打包资源文件,并将结果保存在本地。

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/syncfusion/maui-ui-components-skills/tree/master/skills/syncfusion-maui-dataform
  4. 请在每个需要使用该技能的聊天中启用它。
依次选择“插件 → 技能 → 添加技能 → 从 GitHub URL 导入”,然后粘贴文件夹 URL 并点击“继续”。
2

安装到其他智能体

任何支持 Agent Skills 格式的智能体都可以使用此技能,只需将文件夹复制到该智能体的技能目录中。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/syncfusion/maui-ui-components-skills.git /tmp/maui-ui-components-skills
mkdir -p .claude/skills
cp -r /tmp/maui-ui-components-skills/skills/syncfusion-maui-dataform .claude/skills/syncfusion-maui-dataform
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

在任意 TypingMind 聊天中启用 Syncfusion Maui Dataform,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 Syncfusion Maui Dataform。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 Syncfusion Maui Dataform 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会加载完整指令,因此技能未使用时,这些指令不会消耗 Token。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 SKILL.md。

技能指令

这是模型会加载的 SKILL.md 内容。请在安装前阅读,因为技能就是模型将遵循的指令。

Implementing .NET MAUI DataForm (SfDataForm)

The Syncfusion .NET MAUI DataForm (SfDataForm) is a comprehensive form builder control that automatically generates data entry forms from data objects. It provides built-in editors, validation, flexible layouts, and extensive customization options for creating professional data collection and editing interfaces.

When to Use This Skill

Use this skill when you need to:

  • Create data entry forms (login, registration, contact, employee forms, etc.)
  • Edit data objects with automatic form generation from model classes
  • Validate user input with built-in or custom validation rules
  • Customize form editors (text, numeric, date, dropdown, etc.)
  • Layout forms in linear or grid arrangements
  • Group form fields with collapsible sections
  • Localize forms for multiple languages
  • Support RTL layouts for right-to-left languages
  • Implement floating label designs for modern UIs
  • Handle form commits with different modes (LostFocus, PropertyChanged, Manual)

Typical scenarios:

  • User registration and profile editing
  • Business data entry (orders, invoices, contacts)
  • Settings and configuration screens
  • Survey and questionnaire forms
  • Search and filter forms

Component Overview

Key Features:

  • Auto-generation: Automatically creates form editors from data object properties
  • 10+ Built-in Editors: Text, numeric, date, time, dropdown, checkbox, switch, masked entry, and more
  • Validation: Built-in support for data annotations and custom validation
  • Flexible Layouts: Linear or grid layouts with grouping support
  • Customization: Custom editors, styling, and behavior modification
  • Localization: Multi-language support with resource files
  • Accessibility: RTL support and screen reader compatibility

Documentation and Navigation Guide

Getting Started

📄 Read: references/getting-started.md

Learn the fundamentals of setting up and using DataForm:

  • NuGet package installation for Visual Studio, VS Code, and Rider
  • Handler registration in MauiProgram.cs
  • Creating data objects and view models
  • Binding the DataObject property
  • First DataForm implementation
  • DataForm sizing in StackLayout containers
  • Basic configuration and setup

When to read: Starting a new project with DataForm, or need installation guidance.


Built-in Editors

📄 Read: references/built-in-editors.md

Understand the 10+ built-in editor types and automatic generation:

  • Text editors (Text, Multiline, Password)
  • Numeric editor (SfNumericEntry)
  • Date and Time editors (DatePicker, TimePicker)
  • Boolean editors (CheckBox, Switch)
  • Selection editors (Picker, ComboBox, AutoComplete, RadioGroup)
  • MaskedText editor for phone numbers and credit cards
  • Editor generation rules based on data types
  • DataFormItem types and input control mapping
  • DataType attributes for editor selection

When to read: Need to understand which editor is generated for each property type, or want to see available editor options.


Custom Editors

📄 Read: references/custom-editors.md

Learn to configure and create custom editors:

  • Explicit editor configuration (switching between editor types)
  • Changing editor types for properties
  • Custom editor view implementation
  • ItemManager customization
  • InitializeDataEditor method override
  • Custom control integration
  • Editor property mapping and binding
  • Advanced editor customization scenarios

When to read: Need to change the default editor for a property, or implement a completely custom editor control.


Validation

📄 Read: references/validation.md

Implement comprehensive data validation:

  • Built-in validation attributes (Required, StringLength, Range, EmailAddress, etc.)
  • Data annotation validation
  • Validation modes (LostFocus, PropertyChanged, Manual)
  • DataFormDateRange attribute for date validation
  • Custom validation logic implementation
  • Validation error display and styling
  • Programmatic validation with Validate() method
  • ValidationLabel customization
  • Real-time vs on-submit validation

When to read: Need to validate form input, show error messages, or implement custom validation rules.


Data Annotations

📄 Read: references/data-annotations.md

Configure DataForm behavior declaratively with attributes:

  • Display attributes (Name, Prompt, GroupName, AutoGenerateField)
  • Order attribute for field ordering
  • Formatting attributes (DisplayFormat)
  • ReadOnly and Editable attributes
  • DataType attribute for editor type selection
  • Visibility control attributes
  • Custom attribute implementation
  • Attribute combinations and precedence rules

When to read: Want to configure DataForm using attributes on model properties, or need to control field generation.


Layout

📄 Read: references/layout.md

Organize form fields with flexible layout options:

  • Linear layout (one field per row, default)
  • Grid layout with ColumnCount property
  • Label positioning (Left, Top)
  • ItemsOrderInRow for custom column ordering
  • Row and column span configuration
  • Layout customization techniques
  • Responsive layout strategies
  • Per-group layout configuration

When to read: Need to arrange form fields in multiple columns, or customize the form layout structure.


Grouping

📄 Read: references/grouping.md

Group related form fields together:

  • GroupName attribute for field grouping
  • Group header customization
  • Collapsible/expandable groups
  • Per-group layout (linear vs grid)
  • Group ordering and appearance
  • GenerateDataFormItem event for dynamic groups
  • Nested grouping strategies

When to read: Need to organize form fields into logical sections or collapsible groups.


DataForm Settings

📄 Read: references/dataform-settings.md

Configure global DataForm properties and appearance:

  • AutoGenerateItems property (auto vs manual generation)
  • Items collection for manual item creation
  • Label settings (width, position, styling)
  • Editor height and spacing configuration
  • Padding and margin properties
  • Background and visual appearance
  • ItemManager customization for global behavior
  • Theme integration

When to read: Need to customize the overall appearance or behavior of the DataForm control.


Editing Behavior

📄 Read: references/editing.md

Control when and how data is committed:

  • Commit modes (LostFocus, PropertyChanged, Manual)
  • CommitMode property configuration
  • Programmatic commit with Commit() method
  • Read-only fields and disabled editors
  • ValueChanged event handling
  • Updating data objects programmatically
  • Two-way data binding behavior
  • Form reset and cancel operations

When to read: Need to control when form changes are saved to the data object, or implement save/cancel logic.


Floating Label Layout

📄 Read: references/floating-label-layout.md

Implement modern floating label designs:

  • Floating label feature overview
  • Enabling floating labels on editors
  • Label animation behavior (float on focus)
  • Float mode configuration options
  • Styling floating labels
  • Best practices for floating label UX
  • Compatibility with different editor types

When to read: Want to implement Material Design-style floating labels for a modern look.


Localization

📄 Read: references/localization.md

Support multiple languages in forms:

  • Localization overview and setup
  • Resource file (.resx) configuration
  • Culture-specific strings and messages
  • Localized error messages
  • Localized labels and prompts
  • Runtime language switching
  • Platform-specific localization considerations

When to read: Need to create forms in multiple languages or support international users.


Right-to-Left Support

📄 Read: references/right-to-left.md

Implement RTL layout for Arabic, Hebrew, and other RTL languages:

  • RTL support overview
  • Enabling RTL layout with FlowDirection
  • RTL behavior for editors and controls
  • RTL for labels and validation messages
  • Cultural considerations for RTL
  • Testing and debugging RTL layouts

When to read: Supporting right-to-left languages like Arabic or Hebrew.


附带文件

技能加载后,模型会按需读取这些文件。它们仅作为可读文件提供,绝不会被执行。

常见问题

Syncfusion Maui Dataform AI 技能有什么作用?

实现 Syncfusion .NET MAUI DataForm(SfDataForm)。在 MAUI 中创建数据录入表单、编辑表单、登录表单、注册表单或联系表单时使用。涵盖表单创建、数据验证、编辑器自定义、布局管理、数据绑定、分组、本地化、内置编辑器、自定义编辑器和验证模式。

为什么在 TypingMind 中使用 Syncfusion Maui Dataform?

因为您只需安装一次,就能搭配任何模型使用。Syncfusion Maui Dataform 采用纯 Markdown 格式,而非特定提供商专用的代码,因此同一技能可用于 GPT-5、Claude、Gemini、Grok 或本地模型。您甚至可以在聊天中途切换模型,而不会影响技能的正常使用。TypingMind 使用您自己的 API 密钥,因此您直接向提供商付费,而不是按席位订阅;您的技能和聊天记录也都保留在您自己的存储空间中。

如何在 TypingMind 中安装 Syncfusion Maui Dataform?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/syncfusion/maui-ui-components-skills/tree/master/skills/syncfusion-maui-dataform。TypingMind 会读取其中的 SKILL.md,打包相关文件,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Syncfusion Maui Dataform?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

Syncfusion Maui Dataform 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以将它与 Syncfusion Maui Dataform 搭配使用。GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等模型都可以通过您自己的 API 密钥接入 TypingMind。

Syncfusion Maui Dataform AI 技能免费吗?

syncfusion 已在 GitHub 上发布了该技能。请查看代码仓库了解许可条款。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇