Uno Toolkit ZoomContentControl — Agent Skill
Workflow
Docs lookup: call
uno_platform_docs_search(...)first, thenuno_platform_docs_fetch(sourcePath="…")using thesourcePathfield from a result (a relative.mdpath; add the result'sanchorfor a section). Never pass a URL, a.htmllink, 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 noAutoFitToCanvasproperty — that name does not exist onZoomContentControl. - Programmatic zoom uses methods
ZoomTo(float)andZoomToRect(Rect)on the control instance — not a settableZoomproperty.
Key Principles (Stable)
MinZoomLevelandMaxZoomLevel— zoom rangeZoomLevel— current zoom (bindable, two-way)IsZoomAllowed— enable/disable zoomIsPanAllowed— enable/disable panAutoFit— 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)