Click here to Skip to main content
13,765,264 members

Silverlight / WPF

 
QuestionWPF TabItem Styling Question Pin
Kevin Marois30-Dec-12 12:16
professionalKevin Marois30-Dec-12 12:16 
AnswerRe: WPF TabItem Styling Question Pin
Pete O'Hanlon30-Dec-12 12:40
protectorPete O'Hanlon30-Dec-12 12:40 
GeneralRe: WPF TabItem Styling Question Pin
Kevin Marois30-Dec-12 16:16
professionalKevin Marois30-Dec-12 16:16 
QuestionList Item Fore & Back Colors Pin
Kevin Marois29-Dec-12 8:52
professionalKevin Marois29-Dec-12 8:52 
QuestionMVVM:How to bind the MenuItem Command of ListBoxItem ContextMenu dynamically? Pin
Member 137073829-Dec-12 2:58
memberMember 137073829-Dec-12 2:58 
AnswerRe: MVVM:How to bind the MenuItem Command of ListBoxItem ContextMenu dynamically? Pin
SledgeHammer0129-Dec-12 8:22
memberSledgeHammer0129-Dec-12 8:22 
GeneralRe: MVVM:How to bind the MenuItem Command of ListBoxItem ContextMenu dynamically? Pin
Member 137073829-Dec-12 16:44
memberMember 137073829-Dec-12 16:44 
GeneralRe: MVVM:How to bind the MenuItem Command of ListBoxItem ContextMenu dynamically? Pin
SledgeHammer0129-Dec-12 17:26
memberSledgeHammer0129-Dec-12 17:26 
Oh... I see what you are asking. Yeah, you're doing it wrong in both cases. You should use the ItemsSource property of the listbox to set the collection of items. There is no need to use the ItemTemplate if all you are doing is showing a TextBlock as that is the default behavior. You should specify the context menu on the ListBoxItem, not the TextBlock. Then you can use {Binding} to pass in the item itself, but it will not be necessary as the sender will be the item.
GeneralRe: MVVM:How to bind the MenuItem Command of ListBoxItem ContextMenu dynamically? Pin
Member 137073829-Dec-12 18:00
memberMember 137073829-Dec-12 18:00 
GeneralRe: MVVM:How to bind the MenuItem Command of ListBoxItem ContextMenu dynamically? Pin
SledgeHammer0129-Dec-12 18:25
memberSledgeHammer0129-Dec-12 18:25 
GeneralRe: MVVM:How to bind the MenuItem Command of ListBoxItem ContextMenu dynamically? Pin
Member 137073829-Dec-12 20:02
memberMember 137073829-Dec-12 20:02 
Questionmm Pin
Aishwarya aishu28-Dec-12 1:44
memberAishwarya aishu28-Dec-12 1:44 
AnswerRe: mm Pin
Richard MacCutchan28-Dec-12 6:59
protectorRichard MacCutchan28-Dec-12 6:59 
Generalsiverlight Pin
Aishwarya aishu28-Dec-12 1:42
memberAishwarya aishu28-Dec-12 1:42 
GeneralRe: siverlight Pin
Richard MacCutchan28-Dec-12 6:57
protectorRichard MacCutchan28-Dec-12 6:57 
QuestionDataTrigger bind to a Property Pin
mbv80023-Dec-12 18:01
membermbv80023-Dec-12 18:01 
AnswerRe: DataTrigger bind to a Property Pin
Pete O'Hanlon23-Dec-12 20:17
protectorPete O'Hanlon23-Dec-12 20:17 
AnswerRe: DataTrigger bind to a Property Pin
Wayne Gaylard23-Dec-12 20:39
mentorWayne Gaylard23-Dec-12 20:39 
QuestionWPF Adorner Issues Pin
John Simmons / outlaw programmer17-Dec-12 11:52
professionalJohn Simmons / outlaw programmer17-Dec-12 11:52 
AnswerRe: WPF Adorner Issues Pin
SledgeHammer0118-Dec-12 5:49
memberSledgeHammer0118-Dec-12 5:49 
GeneralRe: WPF Adorner Issues Pin
John Simmons / outlaw programmer20-Dec-12 10:09
professionalJohn Simmons / outlaw programmer20-Dec-12 10:09 
GeneralRe: WPF Adorner Issues Pin
SledgeHammer0121-Dec-12 5:50
memberSledgeHammer0121-Dec-12 5:50 
QuestionSilverlight Dynamic indexed binding Pin
Member 934221816-Dec-12 19:02
memberMember 934221816-Dec-12 19:02 
QuestionThird Party Controls Pin
Kevin Marois11-Dec-12 8:22
professionalKevin Marois11-Dec-12 8:22 
AnswerRe: Third Party Controls Pin
Mycroft Holmes11-Dec-12 13:06
memberMycroft Holmes11-Dec-12 13:06 

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.


Advertise | Privacy | Cookies | Terms of Service
Web01-2016 | 2.8.181114.1 | Last Updated 14 Nov 2018
Copyright © CodeProject, 1999-2018
All Rights Reserved.
Layout: fixed | fluid