Click here to Skip to main content
15,889,266 members
Home / Discussions / WPF
   

WPF

 
QuestionDatabinding to a property which is a collection. Pin
ddecoy5-Mar-10 2:37
ddecoy5-Mar-10 2:37 
AnswerRe: Databinding to a property which is a collection. Pin
Pete O'Hanlon5-Mar-10 2:58
mvePete O'Hanlon5-Mar-10 2:58 
GeneralRe: Databinding to a property which is a collection. Pin
ddecoy5-Mar-10 3:08
ddecoy5-Mar-10 3:08 
QuestionCreating Custom Control in WPF (.Net 3.5) Pin
Mehdi Ghiasi4-Mar-10 23:13
Mehdi Ghiasi4-Mar-10 23:13 
AnswerRe: Creating Custom Control in WPF (.Net 3.5) Pin
Pete O'Hanlon4-Mar-10 23:21
mvePete O'Hanlon4-Mar-10 23:21 
QuestionRe: Creating Custom Control in WPF (.Net 3.5) Pin
Mehdi Ghiasi5-Mar-10 5:51
Mehdi Ghiasi5-Mar-10 5:51 
QuestionCustom Property for User control in MVVM model Pin
Joe Rozario4-Mar-10 19:13
Joe Rozario4-Mar-10 19:13 
AnswerRe: Custom Property for User control in MVVM model Pin
Pete O'Hanlon4-Mar-10 21:07
mvePete O'Hanlon4-Mar-10 21:07 
=>Joe<= wrote:
i have to do it in "AViewModel.cs


Why? There is no law that states "thou shalt not code in code behind". If there was, it would have been invented by an idiot. Now, you can enable the buttons in a VM just by using a command and bind the Enabled property of the button to the CanExecute property on the command. If you want to see what this looks like, you can take a look at my article here[^].

"WPF has many lovers. It's a veritable porn star!" - Josh Smith

As Braveheart once said, "You can take our freedom but you'll never take our Hobnobs!" - Martin Hughes.


My blog | My articles | MoXAML PowerToys | Onyx



QuestionWPF - UIElement from binded property Pin
Ravi Mori4-Mar-10 19:10
Ravi Mori4-Mar-10 19:10 
AnswerRe: WPF - UIElement from binded property Pin
Pete O'Hanlon5-Mar-10 9:36
mvePete O'Hanlon5-Mar-10 9:36 
QuestionAgDataGrid Date column for Custom Date format [modified] Pin
Satish Pai4-Mar-10 17:23
Satish Pai4-Mar-10 17:23 
QuestionWindowsFormsHost invalid theme in WPF Application (.Net 3.5) Pin
Mehdi Ghiasi4-Mar-10 8:56
Mehdi Ghiasi4-Mar-10 8:56 
AnswerRe: WindowsFormsHost invalid theme in WPF Application (.Net 3.5) Pin
Pete O'Hanlon4-Mar-10 11:58
mvePete O'Hanlon4-Mar-10 11:58 
AnswerRe: WindowsFormsHost invalid theme in WPF Application (.Net 3.5) Pin
mattjfenner22-Mar-10 19:16
mattjfenner22-Mar-10 19:16 
GeneralRe: WindowsFormsHost invalid theme in WPF Application (.Net 3.5) Pin
Mehdi Ghiasi23-Mar-10 0:38
Mehdi Ghiasi23-Mar-10 0:38 
GeneralRe: WindowsFormsHost invalid theme in WPF Application (.Net 3.5) Pin
mattjfenner23-Mar-10 0:39
mattjfenner23-Mar-10 0:39 
QuestionHow do I center a Silverlight page on a browser at all times? Pin
Jun Du4-Mar-10 6:04
Jun Du4-Mar-10 6:04 
AnswerRe: How do I center a Silverlight page on a browser at all times? Pin
Not Active4-Mar-10 6:26
mentorNot Active4-Mar-10 6:26 
GeneralRe: How do I center a Silverlight page on a browser at all times? Pin
Jun Du4-Mar-10 6:29
Jun Du4-Mar-10 6:29 
AnswerRe: How do I center a Silverlight page on a browser at all times? Pin
Abhinav S14-Mar-10 21:15
Abhinav S14-Mar-10 21:15 
QuestionText for geometryModel3d should not rotate in wpf Pin
Ramkumar19883-Mar-10 20:27
Ramkumar19883-Mar-10 20:27 
QuestionLoading Image at runtime foe control library. Pin
Anu_Bala3-Mar-10 18:38
Anu_Bala3-Mar-10 18:38 
QuestionWPF Nested Grid Sizing Question Pin
Kennebel3-Mar-10 4:23
Kennebel3-Mar-10 4:23 
AnswerRe: WPF Nested Grid Sizing Question Pin
AspDotNetDev3-Mar-10 21:49
protectorAspDotNetDev3-Mar-10 21:49 
GeneralRe: WPF Nested Grid Sizing Question Pin
Kennebel5-Mar-10 9:04
Kennebel5-Mar-10 9:04 

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.