Problem
NavigationViewElement doesn't expose SelectedTag and IsPaneOpen as record properties, so they can't be used with with {} syntax. Agents must use .Set(nv => nv.IsPaneOpen = true) which is less discoverable.
Evidence
- settings-hub benchmark: agent tried
with { SelectedTag = ..., IsPaneOpen = true } which doesn't compile
Proposed Fix
Add SelectedTag and IsPaneOpen as properties on the NavigationViewElement record, handled in the reconciler update path.
Category
Framework bug — code change + reconciler update.
Problem
NavigationViewElementdoesn't exposeSelectedTagandIsPaneOpenas record properties, so they can't be used withwith {}syntax. Agents must use.Set(nv => nv.IsPaneOpen = true)which is less discoverable.Evidence
with { SelectedTag = ..., IsPaneOpen = true }which doesn't compileProposed Fix
Add
SelectedTagandIsPaneOpenas properties on theNavigationViewElementrecord, handled in the reconciler update path.Category
Framework bug — code change + reconciler update.