Skip to content

Fix PART_OnContentPresenter name typo in ToggleSwitch#21728

Merged
MrJul merged 1 commit into
AvaloniaUI:masterfrom
zrt2399:fix/part-oncontentpresenter-casing
Jul 8, 2026
Merged

Fix PART_OnContentPresenter name typo in ToggleSwitch#21728
MrJul merged 1 commit into
AvaloniaUI:masterfrom
zrt2399:fix/part-oncontentpresenter-casing

Conversation

@zrt2399

@zrt2399 zrt2399 commented Jul 8, 2026

Copy link
Copy Markdown
Contributor

What does the pull request do?

Fixes an incorrect PART_OnContentPresenter name comparison.

The code was checking for "Part_OnContentPresenter" instead of "PART_OnContentPresenter", causing the comparison to fail because template part names are case-sensitive.

@zrt2399 zrt2399 changed the title Fix typo in PART_OnContentPresenter name Fix PART_OnContentPresenter name typo in ToggleSwitch Jul 8, 2026
@avaloniaui-bot

Copy link
Copy Markdown

You can test this PR using the following package version. 12.1.999-cibuild0067284-alpha. (feed url: https://nuget-feed-all.avaloniaui.net/v3/index.json) [PRBUILDID]

@MrJul MrJul added bug backport-candidate-12.0.x Consider this PR for backporting to 12.0 branch labels Jul 8, 2026
@MrJul MrJul added this pull request to the merge queue Jul 8, 2026
Merged via the queue into AvaloniaUI:master with commit 94a5671 Jul 8, 2026
12 checks passed
@MrJul MrJul removed the backport-candidate-12.0.x Consider this PR for backporting to 12.0 branch label Jul 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants