BorderThickness
See original GitHub issueI want to use Border with a Thickness.
<Border BorderThickness="2,2,2,0"/>
but in code it was defined as
if (borderBrush != null && borderThickness > 0)
{
context.DrawRectangle(new Pen(borderBrush, borderThickness), rect, cornerRadius);
}
I think You didn’t defined the Thickness class and I must do it?
Issue Analytics
- State:
- Created 6 years ago
- Reactions:3
- Comments:6 (3 by maintainers)
Top Results From Across the Web
Border.BorderThickness Property (System.Windows. ...
The Thickness that describes the width of the boundaries of the Border. This property has no default value.
Read more >Control.BorderThickness Property (System.Windows. ...
Remarks. This property only affects a control whose template uses the BorderThickness property as a parameter. On other controls, this property has no...
Read more >WPF Border thickness bottom only.. - xaml
WPF Border thickness bottom only.. ... I'm trying to create WPF button with only border on the bottom and the rest will hide....
Read more >border-width - CSS: Cascading Style Sheets - MDN Web Docs
The border-width shorthand CSS property sets the width of an element's border.
Read more >WPF Border Tutorial
Learn how to create borders around WPF controls using XAML and C#. ... The BorderThickness property represents the thickness of the border.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@vertexpipeline any progress on this? 😃
This can be closed