Skip to content

[NO MERGE] Add TreeView.NodeLeading for text-scale-aware row height - #14734

Closed
KlausLoeffelmann wants to merge 4 commits into
dotnet:feature/11.0from
KlausLoeffelmann:Net11Api_02_TreeView_NodeLeading
Closed

KlausLoeffelmann wants to merge 4 commits into
dotnet:feature/11.0from
KlausLoeffelmann:Net11Api_02_TreeView_NodeLeading

Conversation

@KlausLoeffelmann

@KlausLoeffelmann KlausLoeffelmann commented Jul 14, 2026 •

Copy link
Copy Markdown
Member

Closes #14584.
Contributes to #14694.

Depends on #14733 for runtime system text-size awareness.

  • Adds the designer-visible TreeView.NodeLeading factor for honest, text-scale-aware row sizing.
  • Preserves existing behavior when the property remains at its default sentinel.
  • Recomputes native row height across font, DPI, handle, and checkbox changes.
  • Adds serialization, DPI resynchronization, and rendering coverage.
Microsoft Reviewers: Open in CodeFlow

⚠️ NO MERGE (yet). This PR belongs to a stacked series of .NET 11 API PRs and does not compile on its own. The PRs must be merged in this order (each builds on the previous):

#14733 → #14734 → #14735 → #14737

(Net11Api_04 / #14736 is intentionally excluded from this sequence for now.) Please do not merge this PR until the preceding PRs in the sequence have been merged.

KlausLoeffelmann and others added 4 commits July 18, 2026 01:26
Co-authored-by: Copilot <[email protected]>

Copilot-Session: 27022e2a-9eb8-4f58-9bfa-e79ca0d6c559
Co-authored-by: Copilot <[email protected]>

Copilot-Session: 20883488-cf1e-4ad3-a681-0724e9f16777
@KlausLoeffelmann
KlausLoeffelmann force-pushed the Net11Api_02_TreeView_NodeLeading branch from 0acbe3e to ffdbeb8 Compare July 18, 2026 08:27
@KlausLoeffelmann
KlausLoeffelmann changed the base branch from main to feature/11.0 July 22, 2026 23:01
@KlausLoeffelmann KlausLoeffelmann changed the title Add TreeView.NodeLeading for text-scale-aware row height [NO MERGE] Add TreeView.NodeLeading for text-scale-aware row height Jul 22, 2026
@KlausLoeffelmann

Copy link
Copy Markdown
Member Author

Closing this. We will move this to future, but address this more holistically also for other controls where we have similar issue.

@KlausLoeffelmann
KlausLoeffelmann deleted the Net11Api_02_TreeView_NodeLeading branch September 2, 2026 00:11
@github-actions github-actions Bot locked and limited conversation to collaborators Oct 2, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[NET11 API Proposal] TreeView.NodeLeading - opt-in honest, text-scale-aware node-row height

1 participant