Skip to content

Change CornerRadius of CheckBoxBorder from 2 to 4#244

Open
ruan-luidy wants to merge 2 commits intoghost1372:developfrom
ruan-luidy:patch-1
Open

Change CornerRadius of CheckBoxBorder from 2 to 4#244
ruan-luidy wants to merge 2 commits intoghost1372:developfrom
ruan-luidy:patch-1

Conversation

@ruan-luidy
Copy link

This pull request makes a minor visual adjustment to the checkbox style by increasing the border corner radius for a more rounded appearance.

  • UI/Style update:
    • Increased the CornerRadius of the checkbox border from 2 to 4 in CheckBoxBaseStyle.xaml to give checkboxes a more rounded look.
image image

Update multiple XAML styles across Theme.xaml and ButtonBaseStyle.xaml to modernize and unify visuals/behavior.

Key changes:
- ToolTipBaseStyle: use DefaultControlPadding, RegionBrush background, add BorderBrush/BorderThickness, use DefaultCornerRadius and simplify template bindings (remove extra presenter margin).
- Selected item foreground changed from hardcoded White to DynamicResource TextIconBrush.
- Small corner radii adjusted (2 -> 4) for checkbox mark border.
- Added Growl style triggers to adjust margin for Bottom2Top/Bottom2TopWithFade transition modes.
- Pagination: remove static GroupName and hard-coded numeric Content for first/last radio buttons so content is provided dynamically.
- Replace numerous up/down Buttons with RepeatButton variants (and corresponding RepeatButtonIcon style) to enable auto-repeat behavior.
- DataGrid header area: replace ToggleButton select-all with a SimplePanel containing a CheckBox using SelectAllButtonAttach; add margin to column headers presenter and adjust visibility binding.
- Refactor ButtonBaseStyle: simplify control template (single Border, unified BorderBrush/BorderThickness, DefaultCornerRadius), streamline icon/content layout and triggers.

Files modified:
- src/Net_40/HandyControl_Net_40/Themes/Theme.xaml
- src/Net_GE45/HandyControl_Net_GE45/Themes/Theme.xaml
- src/Shared/HandyControl_Shared/Themes/Styles/Base/ButtonBaseStyle.xaml

These changes improve consistency, theming flexibility, and interaction behavior across controls.
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