Logo Syncfusion Maui Dataform

Syncfusion Maui Dataform

Tổ chức
syncfusion
syncfusion-maui-dataform

Triển khai Syncfusion .NET MAUI DataForm (SfDataForm). Dùng khi tạo biểu mẫu nhập dữ liệu, biểu mẫu chỉnh sửa, biểu mẫu đăng nhập, đăng ký hoặc liên hệ trong MAUI. Bao gồm tạo biểu mẫu, xác thực dữ liệu, tùy chỉnh trình chỉnh sửa, quản lý bố cục, liên kết dữ liệu, nhóm trường, bản địa hóa, trình chỉnh sửa tích hợp, trình chỉnh sửa tùy chỉnh và các chế độ xác thực.

Tổng quan

Nhà phát hànhsyncfusion
Kho mãmaui-ui-components-skills
Tên kỹ năngsyncfusion-maui-dataform
Sao
61
Bản fork
1
Tệp đi kèm
12
Liên kết
  • Hướng dẫn bằng Markdown

    Tệp SKILL.md được mô hình tải khi cần, nên chỉ tốn token khi có yêu cầu thực sự phù hợp.

  • Dùng được với mọi LLM

    Kỹ năng AI dùng hướng dẫn viết bằng Markdown thay vì mã dành riêng cho một nhà cung cấp, nên dùng được với GPT, Claude, Gemini, Grok hoặc mô hình cục bộ.

  • 12 tệp đi kèm

    Các tập lệnh, mẫu và tài liệu tham khảo mà mô hình có thể đọc khi làm việc. Các tệp chỉ cho phép đọc và không bao giờ được thực thi.

  • Mã nguồn mở

    Được syncfusion công bố trên GitHub. Hãy đọc các tệp nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI Syncfusion Maui Dataform trong TypingMind để dùng với bất kỳ LLM nào, hoặc thêm vào một tác nhân AI khác có thể đọc SKILL.md.

1

Cài đặt trong TypingMind

TypingMind cài đặt kỹ năng trực tiếp từ thư mục GitHub — đọc SKILL.md, đóng gói các tệp tài nguyên và lưu kết quả trên máy.

  1. Mở ứng dụng và vào Plugin → Kỹ năng.
  2. Chọn "Cài đặt từ GitHub".
  3. Dán URL của thư mục kỹ năng được hiển thị bên dưới rồi xác nhận.
    https://github.com/syncfusion/maui-ui-components-skills/tree/master/skills/syncfusion-maui-dataform
  4. Bật kỹ năng trong từng cuộc trò chuyện mà bạn muốn sử dụng kỹ năng đó.
Plugin → Kỹ năng → Thêm kỹ năng → Từ URL GitHub, sau đó dán URL thư mục và nhấn Tiếp tục.
2

Cài đặt trong tác nhân AI khác

Bất kỳ tác nhân AI nào đọc được định dạng Agent Skills đều có thể dùng kỹ năng này — hãy sao chép thư mục vào thư mục kỹ năng của tác nhân AI đó.

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
Khởi động lại Claude Code sau khi sao chép để ứng dụng nhận kỹ năng mới.

Sử dụng trong TypingMind

Bật Syncfusion Maui Dataform trong bất kỳ cuộc trò chuyện nào trên TypingMind, mô hình sẽ tự xử lý phần còn lại. Tên và mô tả của kỹ năng nằm trong prompt hệ thống. Ngay khi có yêu cầu phù hợp, mô hình tự tải toàn bộ hướng dẫn — bạn không cần gọi thủ công và kỹ năng không tốn token cho đến khi thực sự được dùng.

Mô hình tự nạp Syncfusion Maui Dataform ngay khi có yêu cầu phù hợp.

Dùng được với mọi mô hình AI

Kỹ năng AI là các hướng dẫn Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên bạn có thể dùng Syncfusion Maui Dataform với cả những mô hình khác ngoài mô hình ban đầu. Chỉ cần cài đặt một lần trong TypingMind rồi dùng với GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama hoặc mô hình cục bộ do bạn tự chạy — tất cả đều dùng khóa API của riêng bạn.

  • Chỉ tải khi cần

    Prompt hệ thống chỉ chứa tên và mô tả. Hướng dẫn được tải khi có yêu cầu phù hợp đầu tiên, nên khi kỹ năng chưa được dùng, bạn không tốn token cho phần hướng dẫn.

  • Đổi mô hình ngay trong cuộc trò chuyện

    Vì kỹ năng là hướng dẫn chứ không phải mã, việc đổi mô hình không làm kỹ năng ngừng hoạt động — mô hình tiếp theo vẫn đọc cùng tệp SKILL.md.

Hướng dẫn của kỹ năng

Đây là nội dung SKILL.md mà mô hình tải. Hãy đọc trước khi cài đặt — kỹ năng là những hướng dẫn mà mô hình của bạn sẽ làm theo.

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.


Tệp đi kèm

Khi kỹ năng đã được tải, mô hình có thể đọc các tệp này nếu cần. Các tệp này chỉ dùng để đọc và không bao giờ được thực thi.

Câu hỏi thường gặp

Kỹ năng AI Syncfusion Maui Dataform làm được gì?

Triển khai Syncfusion .NET MAUI DataForm (SfDataForm). Dùng khi tạo biểu mẫu nhập dữ liệu, biểu mẫu chỉnh sửa, biểu mẫu đăng nhập, đăng ký hoặc liên hệ trong MAUI. Bao gồm tạo biểu mẫu, xác thực dữ liệu, tùy chỉnh trình chỉnh sửa, quản lý bố cục, liên kết dữ liệu, nhóm trường, bản địa hóa, trình chỉnh sửa tích hợp, trình chỉnh sửa tùy chỉnh và các chế độ xác thực.

Vì sao nên dùng Syncfusion Maui Dataform trên TypingMind?

Vì bạn chỉ cần cài một lần rồi dùng với bất kỳ mô hình nào. Syncfusion Maui Dataform là nội dung Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên cùng một kỹ năng có thể chạy trên GPT-5, Claude, Gemini, Grok hoặc mô hình trên thiết bị — và bạn có thể đổi mô hình ngay trong cuộc trò chuyện mà kỹ năng vẫn hoạt động. TypingMind dùng khóa API riêng của bạn, nên bạn thanh toán trực tiếp cho nhà cung cấp thay vì trả phí thuê bao theo suất người dùng, đồng thời kỹ năng và các cuộc trò chuyện vẫn nằm trong bộ lưu trữ của bạn.

Làm thế nào để cài Syncfusion Maui Dataform trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/syncfusion/maui-ui-components-skills/tree/master/skills/syncfusion-maui-dataform. TypingMind đọc tệp SKILL.md, đóng gói các tệp đi kèm rồi cài đặt cả gói dưới dạng một kỹ năng mà bạn có thể bật cho từng cuộc trò chuyện.

Những mô hình AI nào có thể dùng Syncfusion Maui Dataform?

Bất kỳ mô hình nào bạn kết nối trong TypingMind. Kỹ năng AI là các hướng dẫn bằng Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên GPT, Claude, Gemini, Grok và các mô hình chạy trên thiết bị đều có thể tải kỹ năng này khi có yêu cầu phù hợp.

Có thể dùng Syncfusion Maui Dataform với bao nhiêu mô hình AI?

Bao nhiêu cũng được. Miễn là mô hình hỗ trợ kỹ năng, bạn có thể dùng Syncfusion Maui Dataform với mô hình đó — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama và nhiều mô hình khác — tất cả đều trên TypingMind với khóa API riêng của bạn.

Kỹ năng AI Syncfusion Maui Dataform có miễn phí không?

Kỹ năng này được syncfusion phát hành trên GitHub. Hãy xem điều khoản giấy phép trong kho mã. Bạn chỉ trả tiền cho nhà cung cấp AI của mình theo số token đã dùng.

Kỹ năng AI là gì?

Kỹ năng AI là một gói hướng dẫn có thể tái sử dụng, chỉ cho mô hình AI cách thực hiện một tác vụ cụ thể. Kỹ năng tuân theo định dạng mở Agent Skills: một tệp SKILL.md chứa tên và mô tả, cùng các tập lệnh, mẫu hoặc tệp tham khảo mà mô hình có thể cần. Mô hình chỉ đọc hướng dẫn khi yêu cầu của bạn phù hợp với kỹ năng, nên kỹ năng đã cài đặt không phát sinh chi phí cho đến khi được sử dụng.

Kỹ năng AI khác gì với plugin hoặc máy chủ MCP?

Plugin hoặc máy chủ MCP cung cấp các công cụ mới mà mô hình có thể gọi. Khi mô hình gọi một công cụ, mã của công cụ đó chạy ở đâu đó và trả về kết quả. Còn kỹ năng AI cung cấp kiến thức và quy trình: cách tiếp cận tác vụ, các bước cần thực hiện và những tiêu chí mà kết quả cần đáp ứng. Kỹ năng chỉ là nội dung Markdown, nên không cần máy chủ, khóa API hay môi trường thực thi và hoạt động với mọi mô hình.

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇