Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

WPF draw line to fill container

Status
Not open for further replies.

wac0

Programmer
Nov 12, 2007
1
US
How do I draw a line in WPF which will horizontally fill the width of its parent container, like an hrule?
the Line control seems to want an X1, Y1, X2, Y2 points for start and end. If the parent varies in width, I want the line to vary also. I'd hate to have to add a change size listener just to do something that seems trivial.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top