question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

I 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:closed
  • Created 6 years ago
  • Reactions:3
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
Krakeancommented, Feb 5, 2018

@vertexpipeline any progress on this? 😃

0reactions
Gillibaldcommented, May 26, 2018

This can be closed

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found