Click here to Skip to main content
15,886,873 members
Home / Discussions / WPF
   

WPF

 
GeneralRe: Creating button in SL using createFromXaml() Pin
hxxbin26-Mar-09 17:55
hxxbin26-Mar-09 17:55 
QuestionListbox items - how to "owner draw" Pin
#realJSOP23-Mar-09 11:08
mve#realJSOP23-Mar-09 11:08 
AnswerRe: Listbox items - how to "owner draw" Pin
Christian Graus23-Mar-09 15:20
protectorChristian Graus23-Mar-09 15:20 
GeneralRe: Listbox items - how to "owner draw" Pin
#realJSOP23-Mar-09 23:21
mve#realJSOP23-Mar-09 23:21 
AnswerRe: Listbox items - how to "owner draw" Pin
ABitSmart23-Mar-09 17:28
ABitSmart23-Mar-09 17:28 
GeneralRe: Listbox items - how to "owner draw" Pin
#realJSOP23-Mar-09 23:20
mve#realJSOP23-Mar-09 23:20 
AnswerRe: Listbox items - how to "owner draw" Pin
Pete O'Hanlon24-Mar-09 1:30
mvePete O'Hanlon24-Mar-09 1:30 
GeneralRe: Listbox items - how to "owner draw" Pin
#realJSOP24-Mar-09 2:55
mve#realJSOP24-Mar-09 2:55 
Pardon my abruptness, but I've pretty much reached the end of my rope where WPF is concerned, so...

-------------

Because I didn't frakking know about templates, and there's really nothing I can find that presents the information COMPLETELY. All of the examples I've found assume I want to put frakking pictures in a listbox. I simply have strings thatI want to apply visual styles to based on certain criteria that I establish.

In WinForms, this took about 15 lines of code inside an event handler, and took me 20 minutes to figure out how to do. For WPF, it appears I have to write HUNDREDS of lines of code/XAML to do the same frakking thing, and I'v been trying to find a way to do it for TWO DAYS now! How the frak is this "better" than WinForms? Half-assed tools, requires twice the work on my part, and no frakking support from the anal pores that dreamed this steaming pile of horseshit up in the first place.

All I see is a bunch of half-brained ass-kissers running around with little WPF erections because they got it in their heads that this is somehow the end-all be-all of coding.

-------------

...even after that rant, I don't feel the slightest bit better. I'm just thoroughly pissed off.

I'm now off to look at the link you provided, but I'm really not confident that it will answer my questions nor provide even half of a solution.

I'm trying to convert my anagrams article to WPF. The Listbox is not bound to a collection. It accepts manually entered strings which are displayed in black (the default control color). When the user clicks a button, the strings that were already in the listbox are displayed in red, and all other possible strings are added and displayed in dark gray italics.

I'm not looking someone to code this for me - I just want to know how it's supposed to be done.


"Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997
-----
"...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001


GeneralRe: Listbox items - how to "owner draw" Pin
Pete O'Hanlon24-Mar-09 3:24
mvePete O'Hanlon24-Mar-09 3:24 
GeneralRe: Listbox items - how to "owner draw" Pin
#realJSOP24-Mar-09 3:56
mve#realJSOP24-Mar-09 3:56 
GeneralRe: Listbox items - how to "owner draw" Pin
Pete O'Hanlon24-Mar-09 5:37
mvePete O'Hanlon24-Mar-09 5:37 
GeneralRe: Listbox items - how to "owner draw" [modified] Pin
#realJSOP24-Mar-09 10:01
mve#realJSOP24-Mar-09 10:01 
GeneralRe: Listbox items - how to "owner draw" Pin
Pete O'Hanlon24-Mar-09 11:20
mvePete O'Hanlon24-Mar-09 11:20 
GeneralRe: Listbox items - how to "owner draw" Pin
#realJSOP25-Mar-09 3:29
mve#realJSOP25-Mar-09 3:29 
GeneralRe: Listbox items - how to "owner draw" Pin
Pete O'Hanlon25-Mar-09 3:44
mvePete O'Hanlon25-Mar-09 3:44 
GeneralRe: Listbox items - how to "owner draw" Pin
RugbyLeague30-Mar-09 3:51
RugbyLeague30-Mar-09 3:51 
QuestionLoad project into canvas Pin
emptythetill23-Mar-09 10:55
emptythetill23-Mar-09 10:55 
AnswerRe: Load project into canvas Pin
Christian Graus23-Mar-09 15:21
protectorChristian Graus23-Mar-09 15:21 
GeneralRe: Load project into canvas Pin
emptythetill24-Mar-09 7:41
emptythetill24-Mar-09 7:41 
QuestionDrag drop preview Pin
anishkannan23-Mar-09 0:54
anishkannan23-Mar-09 0:54 
AnswerRe: Drag drop preview [modified] Pin
sivaddrahcir23-Mar-09 11:45
sivaddrahcir23-Mar-09 11:45 
QuestionDownloading file from server Pin
sumit703422-Mar-09 23:50
sumit703422-Mar-09 23:50 
AnswerRe: Downloading file from server Pin
Mark Salsbery23-Mar-09 9:51
Mark Salsbery23-Mar-09 9:51 
GeneralRe: Downloading file from server Pin
sumit703423-Mar-09 18:59
sumit703423-Mar-09 18:59 
AnswerRe: Downloading file from server Pin
Braulio Dez1-Apr-09 5:58
Braulio Dez1-Apr-09 5:58 

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.