Thickness should support ctor of all three common ways to create a thickness.
Open
Enhancement Requested
- Dominant language
- C#
- Stars
- 7.7k
- Forks
- 1.3k
- Avg merge
- 1d 11h
- Merged PRs (30d)
- 61
Description
Related to https://github.com/dotnet/dotnet-api-docs/pull/2569
Since the ThicknessConverter is one of the most common ways of creating a Thickness object, the Thickness object should support the 3 types of conversion on the ctor.
| | |
| --- | --- |
| `int` | same value for all four sides |
| `int, int` | values for leftright and topbottom |
| `int, int, int, int` | values for each individual side |
Contributor guide
Assessment
This issue has not been assessed yet.