Skip to content

feat(CheckBox, RadioButton): Add ContentPlacement attached property - #4122

Merged
Keboo merged 2 commits into
MaterialDesignInXAML:masterfrom
corvinsz:feat/toggles-AP-contentPlacement
Nov 20, 2026
Merged

Keboo merged 2 commits into
MaterialDesignInXAML:masterfrom
corvinsz:feat/toggles-AP-contentPlacement

Conversation

@corvinsz

@corvinsz corvinsz commented Nov 10, 2026 •

Copy link
Copy Markdown
Member
  • Adds 2 new attached properties for custom content placement of the RadioButton and CheckBox
    • materialDesign:CheckBoxAssist.ContentPlacement
    • materialDesign:RadioButtonAssist.ContentPlacement
  • Both attached properties default to Dock.Right to not have visual breaking changes
  • The change in the styles was to use a DockPanel instead of a 2-column Grid. The glyph always docks to the opposite side of the content. With Dock.Top and Dock.Bottom ContentPlacement the glyph is centered horizontally.
image

@Keboo Keboo added enhancement release notes Items are likely to be highlighted in the release notes. labels Nov 15, 2026
@Keboo Keboo added this to the 5.5.0 milestone Nov 20, 2026
@Keboo
Keboo merged commit e1f1858 into MaterialDesignInXAML:master Nov 20, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement release notes Items are likely to be highlighted in the release notes.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants