Ansight.Tools.Maui
0.1.0-preview.15
See the version list below for details.
dotnet add package Ansight.Tools.Maui --version 0.1.0-preview.15
NuGet\Install-Package Ansight.Tools.Maui -Version 0.1.0-preview.15
<PackageReference Include="Ansight.Tools.Maui" Version="0.1.0-preview.15" />
<PackageVersion Include="Ansight.Tools.Maui" Version="0.1.0-preview.15" />
<PackageReference Include="Ansight.Tools.Maui" />
paket add Ansight.Tools.Maui --version 0.1.0-preview.15
#r "nuget: Ansight.Tools.Maui, 0.1.0-preview.15"
#:package Ansight.Tools.Maui@0.1.0-preview.15
#addin nuget:?package=Ansight.Tools.Maui&version=0.1.0-preview.15&prerelease
#tool nuget:?package=Ansight.Tools.Maui&version=0.1.0-preview.15&prerelease
Ansight.Tools.Maui
Grouped .NET MAUI inspection and mutation tools for the Ansight .NET SDK.
Registered tools:
maui.get_current_pagemaui.get_visual_treemaui.find_elementsmaui.get_elementmaui.get_bindable_propertymaui.set_bindable_propertymaui.clear_bindable_propertymaui.inflate_xamlmaui.add_elementmaui.remove_elementmaui.set_app_thememaui.get_binding_contextmaui.get_bindingsmaui.get_resource_statemaui.get_navigation_statemaui.invoke_element_actionmaui.wait_for_uimaui.get_layout_diagnosticsmaui.get_handler_diagnosticsmaui.invoke_binding_context_commandmaui.set_binding_context_property
Usage
using Ansight;
using Ansight.Tools.Maui;
var options = Options.CreateBuilder()
.WithMauiTools()
.WithReadWriteToolAccess()
.Build();
The visual tree and search tools return MAUI element ids that can be passed to the element, bindable-property, binding, layout, handler, action, wait, XAML experiment, theme, and binding-context tools. Write-scoped tools require WithReadWriteToolAccess() or a custom ToolGuard.
maui.inflate_xaml creates and retains a detached MAUI element from an arbitrary XAML string using LoadFromXaml. The returned node id can be passed to maui.add_element to attach it under a live layout or content control, and maui.remove_element can detach it again without restarting the app.
maui.set_app_theme changes Application.Current.UserAppTheme to light, dark, or system at runtime.
These tools are intended for local debugging only. Broad visual-tree labels are PII-safe by default: typed Entry, Editor, and SearchBar text, picker selections, dates, times, toggle states, slider values, and sensitive-looking text are omitted or redacted. Resource values and binding-context property snapshots are opt-in; by default resource inspection returns keys/types and binding-context inspection returns metadata only. Explicit value-reading tools can still reveal app data, binding expressions, binding-context object state, handler metadata, and mutate live UI, app theme, or view-model state.
Build-time remote tool policy
Projects that reference this package are covered by AnsightRemoteToolsPolicy. The default AllowedWithWarnings policy logs detected tool type and assembly details and emits a build warning when remote tools are included. Because this package contains remote tools, Disallowed only succeeds when the package is omitted from that build, for example with Debug-only package references. Use Allowed to bypass remote tool scanning and warnings. Set AnsightLogRemoteTools=false to suppress the detected-tool list.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net9.0 is compatible. net9.0-android was computed. net9.0-android35.0 is compatible. net9.0-browser was computed. net9.0-ios was computed. net9.0-ios18.0 is compatible. net9.0-maccatalyst was computed. net9.0-maccatalyst18.0 is compatible. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net9.0
- Ansight.Core (>= 0.1.0-preview.15)
-
net9.0-android35.0
- Ansight.Core (>= 0.1.0-preview.15)
- Microsoft.Maui.Controls (>= 9.0.120)
-
net9.0-ios18.0
- Ansight.Core (>= 0.1.0-preview.15)
- Microsoft.Maui.Controls (>= 9.0.120)
-
net9.0-maccatalyst18.0
- Ansight.Core (>= 0.1.0-preview.15)
- Microsoft.Maui.Controls (>= 9.0.120)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on Ansight.Tools.Maui:
| Package | Downloads |
|---|---|
|
Ansight.Maui
All-in-one Ansight SDK package for .NET MAUI apps, including core runtime, pairing, remote tools, automatic lifecycle and page-view telemetry, and MAUI inspection tools. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 0.1.0 | 0 | 5/26/2026 |
| 0.1.0-preview.24 | 38 | 5/25/2026 |
| 0.1.0-preview.23 | 45 | 5/23/2026 |
| 0.1.0-preview.22 | 38 | 5/23/2026 |
| 0.1.0-preview.21 | 45 | 5/19/2026 |
| 0.1.0-preview.20 | 53 | 5/15/2026 |
| 0.1.0-preview.19 | 71 | 5/8/2026 |
| 0.1.0-preview.18 | 63 | 5/8/2026 |
| 0.1.0-preview.17 | 53 | 5/8/2026 |
| 0.1.0-preview.16 | 58 | 5/6/2026 |
| 0.1.0-preview.15 | 55 | 5/5/2026 |
| 0.1.0-preview.14 | 57 | 5/5/2026 |
| 0.1.0-preview.13 | 49 | 5/5/2026 |
| 0.1.0-pre9 | 51 | 5/3/2026 |
| 0.1.0-pre8 | 57 | 5/3/2026 |
| 0.1.0-pre7 | 49 | 4/30/2026 |
| 0.1.0-pre6 | 46 | 4/30/2026 |
| 0.1.0-pre12 | 51 | 5/4/2026 |
| 0.1.0-pre11 | 60 | 5/4/2026 |
| 0.1.0-pre10 | 51 | 5/3/2026 |