Click here to Skip to main content
15,441,757 members
Home / Discussions / WPF
   

WPF

 
QuestionRe: Two questions about the TreeView control Pin
Mc_Topaz16-May-14 7:40
MemberMc_Topaz16-May-14 7:40 
AnswerRe: Two questions about the TreeView control Pin
SledgeHammer0116-May-14 8:16
MemberSledgeHammer0116-May-14 8:16 
GeneralRe: Two questions about the TreeView control Pin
Mc_Topaz16-May-14 9:08
MemberMc_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
MemberMember 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
MemberAlphaDeltaTheta15-May-14 16:48 
QuestionSilverlight: Exception with ListBox and nested collection Pin
tongo7612-May-14 23:01
Membertongo7612-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
MemberBernhard Hiller6-May-14 20:58 
QuestionCreating multilanguage WPF MVVM application Pin
sifi mohamed amine2-May-14 4:43
Membersifi mohamed amine2-May-14 4:43 
QuestionMultiBinding Question Pin
Kevin Marois1-May-14 14:32
professionalKevin Marois1-May-14 14:32 
QuestionUpdate Instance Property From DP Pin
Kevin Marois29-Apr-14 6:29
professionalKevin Marois29-Apr-14 6:29 
AnswerRe: Update Instance Property From DP Pin
Richard Deeming29-Apr-14 6:34
mveRichard Deeming29-Apr-14 6:34 
GeneralRe: Update Instance Property From DP Pin
Kevin Marois29-Apr-14 6:37
professionalKevin Marois29-Apr-14 6:37 
QuestionWPF Style Question Pin
Kevin Marois28-Apr-14 7:18
professionalKevin Marois28-Apr-14 7:18 
AnswerRe: WPF Style Question Pin
Pete O'Hanlon28-Apr-14 7:24
mvaPete O'Hanlon28-Apr-14 7:24 
GeneralRe: WPF Style Question Pin
Kevin Marois28-Apr-14 7:27
professionalKevin Marois28-Apr-14 7:27 
GeneralRe: WPF Style Question Pin
Pete O'Hanlon28-Apr-14 8:09
mvaPete O'Hanlon28-Apr-14 8:09 
AnswerRe: WPF Style Question Pin
pradeep surya10-May-14 5:37
Memberpradeep surya10-May-14 5:37 
QuestionPass Logging Method Pin
Kevin Marois24-Apr-14 12:01
professionalKevin Marois24-Apr-14 12:01 
AnswerRe: Pass Logging Method Pin
Matt T Heffron24-Apr-14 12:49
professionalMatt T Heffron24-Apr-14 12:49 
QuestionWPF TextBlock Trigger Question Pin
Kevin Marois24-Apr-14 7:45
professionalKevin Marois24-Apr-14 7:45 
AnswerRe: WPF TextBlock Trigger Question Pin
Richard Deeming24-Apr-14 8:24
mveRichard Deeming24-Apr-14 8:24 
GeneralRe: WPF TextBlock Trigger Question Pin
Kevin Marois24-Apr-14 8:53
professionalKevin Marois24-Apr-14 8:53 
GeneralRe: WPF TextBlock Trigger Question Pin
BubingaMan4-May-14 22:48
MemberBubingaMan4-May-14 22:48 

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.