Skip to main content

uno-toolkit-resource-extensions

Use ResourceExtensions to apply ResourceDictionary directly to control styles for lightweight styling. Enables visual variants without page-level resources.

Aller à l'installation

Informations de source

Dépôt
unoplatform/studio
Dernière activité de la source
9 juin 2026 à 19:39
Langue détectée de SKILL.md
anglais
Étoiles
10
Forks
1

Options d'installation

Le prompt qui vérifie d'abord la source est sélectionné par défaut. Vous pouvez passer à une commande directe ou télécharger une copie locale.

Vérifiez les fichiers source

Lisez SKILL.md et les fichiers associés affichés par SkillsMP avant de décider de l'installer.

Affichage de SKILL.md

SKILL.md
Instructions source · Aperçu en lecture seule
name
uno-toolkit-resource-extensions
description
Use ResourceExtensions to apply ResourceDictionary directly to control styles for lightweight styling. Enables visual variants without page-level resources.
when_to_use
Use when applying a `ResourceDictionary` directly to a single control so it picks up a visual variant without declaring resources at page level — typically per-control color or brush overrides, or shared-base-style variants.
metadata
{"author":"uno-platform","version":"2.4","category":"toolkit"}
# Uno Toolkit Resource Extensions — Agent Skill ## Workflow > **Docs lookup:** call `uno_platform_docs_search(...)` first, then `uno_platform_docs_fetch(sourcePath="…")` using the `sourcePath` field from a result (a relative `.md` path; add the result's `anchor` for a section). Never pass a URL, a `.html` link, or a hand-built path. ### Step 1: Fetch the ResourceExtensions Documentation ``` uno_platform_docs_search("Uno Toolkit ResourceExtensions ResourceDictionary style lightweight inline") ``` Primary documentation pages: - **ResourceExtensions (Chefs)**: `external/uno.chefs/doc/toolkit/ResourceExtensions.md` Fetch the Chefs page: ``` uno_platform_docs_fetch(sourcePath="external/uno.chefs/doc/toolkit/ResourceExtensions.md") ``` ### Step 2: For Reference Documentation ``` uno_platform_docs_search("ResourceExtensions Resources attached property dictionary override") ``` ## Key Principles (Stable) - `utu:ResourceExtensions.Resources` — attaches a ResourceDictionary to a control - Enables per-control resource key overrides without nesting in page resources - Great for creating multiple visual variants of the same control - XAML namespace: `xmlns:utu="using:Uno.Toolkit.UI"` ## Related Skills - [[uno-toolkit-lightweight-styling]] — General lightweight styling approach - [[uno-themes-material]] — Material lightweight styling
Voir sur GitHub