Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Changed default Border StrokeShape value #8521

Merged
merged 3 commits into from
Aug 26, 2022
Merged

Changed default Border StrokeShape value #8521

merged 3 commits into from
Aug 26, 2022

Conversation

jsuarezruiz
Copy link
Contributor

@jsuarezruiz jsuarezruiz commented Jul 4, 2022

Description of Change

I am seeing in samples and issues that Border is used without setting the StrokeShape property. Right now, by default, the Shape is null and for thar properties like StrokeThickness are not updated until a shape is set.

After reviewing common usage, I think having a default value with a Rectangle is more the expected behavior.

It would be a change related with public API; would we have to wait for .NET 7?

NOTE: Take a look to #8520 for more context.

@Eilon Eilon added the area-drawing Shapes, Borders, Shadows, Graphics, BoxView, custom drawing label Jul 6, 2022
@hartez hartez added this to the .NET 7 milestone Jul 20, 2022
@rmarinho rmarinho merged commit 9b9ef31 into main Aug 26, 2022
@rmarinho rmarinho deleted the default-strokeshape branch August 26, 2022 13:17
@github-actions github-actions bot locked and limited conversation to collaborators Dec 20, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-drawing Shapes, Borders, Shadows, Graphics, BoxView, custom drawing fixed-in-7.0.0-rc.1.6683 t/housekeeping ♻︎
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants