Click here to Skip to main content
15,888,113 members
Home / Discussions / WPF
   

WPF

 
AnswerRe: Silverlight? A future? Pin
Pete O'Hanlon27-Dec-14 2:03
mvePete O'Hanlon27-Dec-14 2:03 
QuestionWhat are those automation peer in WPF? Pin
Super Lloyd22-Dec-14 0:55
Super Lloyd22-Dec-14 0:55 
AnswerRe: What are those automation peer in WPF? Pin
Pete O'Hanlon22-Dec-14 1:32
mvePete O'Hanlon22-Dec-14 1:32 
AnswerRe: What are those automation peer in WPF? Pin
syed shanu23-Dec-14 17:42
mvasyed shanu23-Dec-14 17:42 
QuestionRouted Event No Responding Pin
Kevin Marois18-Dec-14 9:20
professionalKevin Marois18-Dec-14 9:20 
QuestionBest way to stroke a path with TWO colors? Pin
SledgeHammer0117-Dec-14 11:17
SledgeHammer0117-Dec-14 11:17 
SuggestionRe: Best way to stroke a path with TWO colors? Pin
Matt T Heffron17-Dec-14 11:39
professionalMatt T Heffron17-Dec-14 11:39 
GeneralRe: Best way to stroke a path with TWO colors? Pin
SledgeHammer0117-Dec-14 12:06
SledgeHammer0117-Dec-14 12:06 
The problem seems to be that DrawingBrush has round-off errors internally or it doesn't work the same way as the LinearGradientBrush in terms of origin / relative ratios. Like I said, LinearGradientBrush hits the line consistently with my "math". DrawingBrush isn't even consistent at 50% which should not even be suspectible to round-off errors since its a whole pixel. Sometimes its 1 pixel too high, sometimes its 1 pixel too low. Also tried TransformToVisual to go from the line to the path, but TransformToVisual considers both shapes to be the same height (as the height of the control), so it just maps the points 1 to 1. Tried Math.Round() and Math.Ceiling(), etc. LOL. The line itself certainly doesn't move around, its always at the exact correct location. Tried get the rendered bounds of the path and calculating it from that, but same thing... +/- 1 issues. Also tried setting everything to absolute mode and setting the rectangles identically, nope... Maybe the LinearGradientBrush only *appears* to be working and is hiding the +/- 1 issues with the gradiented color switch.
QuestionWPF DataGrid Date Format Pin
Kevin Marois17-Dec-14 7:21
professionalKevin Marois17-Dec-14 7:21 
GeneralRe: WPF DataGrid Date Format Pin
PIEBALDconsult17-Dec-14 8:12
mvePIEBALDconsult17-Dec-14 8:12 
GeneralRe: WPF DataGrid Date Format Pin
Kevin Marois17-Dec-14 8:21
professionalKevin Marois17-Dec-14 8:21 
GeneralRe: WPF DataGrid Date Format Pin
Richard MacCutchan17-Dec-14 9:38
mveRichard MacCutchan17-Dec-14 9:38 
GeneralRe: WPF DataGrid Date Format Pin
Kevin Marois17-Dec-14 9:42
professionalKevin Marois17-Dec-14 9:42 
GeneralRe: WPF DataGrid Date Format Pin
Maciej Los17-Dec-14 11:14
mveMaciej Los17-Dec-14 11:14 
GeneralRe: WPF DataGrid Date Format Pin
Kevin Marois17-Dec-14 11:16
professionalKevin Marois17-Dec-14 11:16 
GeneralRe: WPF DataGrid Date Format Pin
Maciej Los17-Dec-14 11:19
mveMaciej Los17-Dec-14 11:19 
AnswerRe: WPF DataGrid Date Format Pin
Pete O'Hanlon17-Dec-14 11:38
mvePete O'Hanlon17-Dec-14 11:38 
GeneralRe: WPF DataGrid Date Format Pin
Kevin Marois17-Dec-14 11:40
professionalKevin Marois17-Dec-14 11:40 
GeneralRe: WPF DataGrid Date Format Pin
Pete O'Hanlon17-Dec-14 11:41
mvePete O'Hanlon17-Dec-14 11:41 
GeneralRe: WPF DataGrid Date Format Pin
Kevin Marois17-Dec-14 11:42
professionalKevin Marois17-Dec-14 11:42 
QuestionWPF Programmatically Adding Control To Grid - Wire Event Pin
Kevin Marois16-Dec-14 13:02
professionalKevin Marois16-Dec-14 13:02 
AnswerRe: WPF Programmatically Adding Control To Grid - Wire Event Pin
Richard MacCutchan16-Dec-14 21:39
mveRichard MacCutchan16-Dec-14 21:39 
GeneralRe: WPF Programmatically Adding Control To Grid - Wire Event Pin
Kevin Marois17-Dec-14 5:49
professionalKevin Marois17-Dec-14 5:49 
GeneralRe: WPF Programmatically Adding Control To Grid - Wire Event Pin
Richard MacCutchan17-Dec-14 6:26
mveRichard MacCutchan17-Dec-14 6:26 
GeneralRe: WPF Programmatically Adding Control To Grid - Wire Event Pin
Kevin Marois17-Dec-14 6:29
professionalKevin Marois17-Dec-14 6:29 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.