How Modify Table Control Style in WPF ?

929Free 326 Reputation points
2021-10-11T01:50:11.177+00:00

C# code:
Label seperator = new Label();
seperator.Content = ">";

I want to replace the string with draw line, Preferably, the line thickness can be adjusted. Who can help me ? thanks.

Windows Presentation Foundation
Windows Presentation Foundation
A part of the .NET Framework that provides a unified programming model for building line-of-business desktop applications on Windows.
2,814 questions
0 comments No comments
{count} votes

Accepted answer
  1. Viorel 119.2K Reputation points
    2021-10-11T05:47:58.6+00:00

    Consider a Line instead of Label. Check an example: https://learn.microsoft.com/en-us/dotnet/api/system.windows.shapes.line.


0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.