Skip to main content

uno-toolkit-zoomcontentcontrol

Zoomable and pannable container for images, maps, diagrams, or document viewers.

Zur Installation springen

Quellinformationen

Repository
unoplatform/studio
Letzte Quellaktivität
9. Juni 2026 um 19:39
Erkannte Sprache von SKILL.md
Englisch
Sterne
10
Forks
1

Installationsoptionen

Standardmäßig ist der Prompt ausgewählt, der zuerst die Quelle prüft. Sie können zu einem direkten Befehl wechseln oder eine lokale Kopie herunterladen.

Quelldateien prüfen

Lesen Sie SKILL.md und alle von SkillsMP angezeigten Begleitdateien, bevor Sie sich für eine Installation entscheiden.

SKILL.md wird angezeigt

SKILL.md
Quellanweisungen · Schreibgeschützte Vorschau
name
uno-toolkit-zoomcontentcontrol
description
Zoomable and pannable container for images, maps, diagrams, or document viewers.
when_to_use
Use when zoom and pan are needed for images, maps, diagrams, or document viewers — mouse wheel zoom, middle-click pan, pinch-to-zoom, configurable min/max zoom levels, and programmatic control.
metadata
{"author":"uno-platform","version":"2.5","category":"toolkit"}
# Uno Toolkit ZoomContentControl — 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 ZoomContentControl Documentation ``` uno_platform_docs_search("Uno Toolkit ZoomContentControl zoom pan pinch mouse wheel") ``` Primary documentation page: - **ZoomContentControl**: `external/uno.toolkit.ui/doc/controls/ZoomContentControl.md` Fetch the page: ``` uno_platform_docs_fetch(sourcePath="external/uno.toolkit.ui/doc/controls/ZoomContentControl.md") ``` ## Critical Rules - The fit-to-available-size property is **`AutoFit`** (boolean). There is **no `AutoFitToCanvas`** property — that name does not exist on `ZoomContentControl`. - Programmatic zoom uses methods `ZoomTo(float)` and `ZoomToRect(Rect)` on the control instance — not a settable `Zoom` property. ## Key Principles (Stable) - `MinZoomLevel` and `MaxZoomLevel` — zoom range - `ZoomLevel` — current zoom (bindable, two-way) - `IsZoomAllowed` — enable/disable zoom - `IsPanAllowed` — enable/disable pan - `AutoFit` — fit content to available size - Supports mouse wheel, middle-click pan, pinch-to-zoom gestures - XAML namespace: `xmlns:utu="using:Uno.Toolkit.UI"` ## Related Skills - (standalone control, no primary dependencies)
Auf GitHub ansehen