Click here to Skip to main content
15,910,212 members
Home / Discussions / WPF
   

WPF

 
AnswerRe: Detection of physical keyboard on Windows 7 in a desktop WPF application Pin
Bernhard Hiller2-Jun-14 0:20
Bernhard Hiller2-Jun-14 0:20 
GeneralRe: Detection of physical keyboard on Windows 7 in a desktop WPF application Pin
Jenny D4-Jun-14 11:49
Jenny D4-Jun-14 11:49 
QuestionMediaElement not releasing the file on its Close() method in WPF Pin
Praveen Raghuvanshi28-May-14 17:59
professionalPraveen Raghuvanshi28-May-14 17:59 
AnswerRe: MediaElement not releasing the file on its Close() method in WPF Pin
Gerry Schmitz29-May-14 10:40
mveGerry Schmitz29-May-14 10:40 
GeneralRe: MediaElement not releasing the file on its Close() method in WPF Pin
Praveen Raghuvanshi3-Jun-14 23:55
professionalPraveen Raghuvanshi3-Jun-14 23:55 
QuestionCombobox - Highlights first letter typed after gained focus Pin
Clint Dow27-May-14 7:49
Clint Dow27-May-14 7:49 
QuestionDisplay Alternative images based on AlternationCount=2 in listbox in wpf application ..its not Displaying Pin
Member 785476927-May-14 0:46
Member 785476927-May-14 0:46 
QuestionMake a 3D casino spin wheel in Silverlight. Pin
Vishal Kumar Singh26-May-14 23:17
Vishal Kumar Singh26-May-14 23:17 
AnswerRe: Make a 3D casino spin wheel in Silverlight. Pin
amigoface27-May-14 2:16
amigoface27-May-14 2:16 
Questionhow to drag and drop with image preview in wpf using c# Pin
kalsa23-May-14 21:20
kalsa23-May-14 21:20 
QuestionBest Practice for using WPF Resources Pin
hari111r19-May-14 19:14
hari111r19-May-14 19:14 
AnswerRe: Best Practice for using WPF Resources Pin
Mycroft Holmes19-May-14 21:22
professionalMycroft Holmes19-May-14 21:22 
GeneralRe: Best Practice for using WPF Resources Pin
hari111r19-May-14 23:52
hari111r19-May-14 23:52 
GeneralRe: Best Practice for using WPF Resources Pin
Mycroft Holmes20-May-14 13:02
professionalMycroft Holmes20-May-14 13:02 
QuestionTwo questions about the TreeView control Pin
Mc_Topaz16-May-14 1:45
Mc_Topaz16-May-14 1:45 
AnswerRe: Two questions about the TreeView control Pin
SledgeHammer0116-May-14 6:45
SledgeHammer0116-May-14 6:45 
QuestionRe: Two questions about the TreeView control Pin
Mc_Topaz16-May-14 7:40
Mc_Topaz16-May-14 7:40 
AnswerRe: Two questions about the TreeView control Pin
SledgeHammer0116-May-14 8:16
SledgeHammer0116-May-14 8:16 
GeneralRe: Two questions about the TreeView control Pin
Mc_Topaz16-May-14 9:08
Mc_Topaz16-May-14 9:08 
QuestionOCR using Microsoft Office Document Imaging 12.0 Type Library in WPF application Pin
Member 785476914-May-14 20:20
Member 785476914-May-14 20:20 
AnswerRe: OCR using Microsoft Office Document Imaging 12.0 Type Library in WPF application Pin
AlphaDeltaTheta15-May-14 16:48
AlphaDeltaTheta15-May-14 16:48 
QuestionSilverlight: Exception with ListBox and nested collection Pin
tongo7612-May-14 23:01
tongo7612-May-14 23:01 
AnswerRe: Silverlight: Exception with ListBox and nested collection Pin
Mycroft Holmes13-May-14 12:56
professionalMycroft Holmes13-May-14 12:56 
QuestionWPF Generate Dynamic Messages Including Links Pin
Kevin Marois6-May-14 16:44
professionalKevin Marois6-May-14 16:44 
I am implementing a Alerts Section Like This[^] in my application's Dashboard.

All or some of the text can be a hyperlink, with different commands bound to the links. The content of the messages will be automatically generated.

My first thought was have a table like this:

ImageName     MessageDate  Message                          ================================================================================================================
vehicle.jpg   2014-05/06   Vehicle Ford F150 Serial # ^L^256565^L^ has maintenance item ^L^Oil Change^L^ ready.


So it would look like:

"Vehicle Ford F150 Serial # 256565 has maintenance item Oil Change ready."

Clicking the serial # would open the vehicle screen. The Oil Change link would open the Maintenance screen.

I would then need to include in the message an action for each link. Like the link symbol, I could follow it with an enum item to denote what type of screen to open. And I would also need the PK's in there also.

Then, when the dashboard item is loaded, it would use a flow panel with both text and links in the data template so the Message column can wrap.

All this is fine, but it feels weird. Anyone done anything like this? Anyone got a better approach?

Thanks
If it's not broken, fix it until it is

AnswerRe: WPF Generate Dynamic Messages Including Links Pin
Bernhard Hiller6-May-14 20:58
Bernhard Hiller6-May-14 20: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.