Skip to content

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

Open
corvinsz wants to merge 1 commit into
MaterialDesignInXAML:masterfrom
corvinsz:feat/toggles-AP-contentPlacement
Open

corvinsz wants to merge 1 commit 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

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant