Click here to Skip to main content
15,391,695 members
Home / Discussions / WPF
   

WPF

 
GeneralRe: ResourceDictionaries Pin
Pete O'Hanlon5-Mar-10 9:41
mvaPete O'Hanlon5-Mar-10 9:41 
QuestionDatabinding to a property which is a collection. Pin
ddecoy5-Mar-10 2:37
Memberddecoy5-Mar-10 2:37 
AnswerRe: Databinding to a property which is a collection. Pin
Pete O'Hanlon5-Mar-10 2:58
mvaPete O'Hanlon5-Mar-10 2:58 
GeneralRe: Databinding to a property which is a collection. Pin
ddecoy5-Mar-10 3:08
Memberddecoy5-Mar-10 3:08 
QuestionCreating Custom Control in WPF (.Net 3.5) Pin
Mehdi Ghiasi4-Mar-10 23:13
MemberMehdi Ghiasi4-Mar-10 23:13 
AnswerRe: Creating Custom Control in WPF (.Net 3.5) Pin
Pete O'Hanlon4-Mar-10 23:21
mvaPete O'Hanlon4-Mar-10 23:21 
QuestionRe: Creating Custom Control in WPF (.Net 3.5) Pin
Mehdi Ghiasi5-Mar-10 5:51
MemberMehdi Ghiasi5-Mar-10 5:51 
QuestionCustom Property for User control in MVVM model Pin
Joe Rozario4-Mar-10 19:13
MemberJoe Rozario4-Mar-10 19:13 
Dear Friends,

I have small Clarification with MVVM patten With Wpf

I have an User control "A.xaml" , and i am having all the Binding in ViewModel .. "AViewModel.cs" as septate class

i have no code in code behind file "a.cs"

now my problem is like these

in the user control i having 6 buttons, and i want property as "ButtonNo"

if i specify <Usercontrol:A ButtonNo =4/> in Main Window then i have to enable 1,2,3,4 buttons ...


( i know that by writing code in "a.cs" is possible .. but i do not want to write in code behind file .. i have to do it in "AViewModel.cs"
is it possible? if so how to do that?
)

Give me some idea..

By

Joe
AnswerRe: Custom Property for User control in MVVM model Pin
Pete O'Hanlon4-Mar-10 21:07
mvaPete O'Hanlon4-Mar-10 21:07 
QuestionWPF - UIElement from binded property Pin
Ravi Mori4-Mar-10 19:10
MemberRavi Mori4-Mar-10 19:10 
AnswerRe: WPF - UIElement from binded property Pin
Pete O'Hanlon5-Mar-10 9:36
mvaPete O'Hanlon5-Mar-10 9:36 
QuestionAgDataGrid Date column for Custom Date format [modified] Pin
Satish Pai4-Mar-10 17:23
MemberSatish Pai4-Mar-10 17:23 
QuestionWindowsFormsHost invalid theme in WPF Application (.Net 3.5) Pin
Mehdi Ghiasi4-Mar-10 8:56
MemberMehdi Ghiasi4-Mar-10 8:56 
AnswerRe: WindowsFormsHost invalid theme in WPF Application (.Net 3.5) Pin
Pete O'Hanlon4-Mar-10 11:58
mvaPete O'Hanlon4-Mar-10 11:58 
AnswerRe: WindowsFormsHost invalid theme in WPF Application (.Net 3.5) Pin
mattjfenner22-Mar-10 19:16
Membermattjfenner22-Mar-10 19:16 
GeneralRe: WindowsFormsHost invalid theme in WPF Application (.Net 3.5) Pin
Mehdi Ghiasi23-Mar-10 0:38
MemberMehdi Ghiasi23-Mar-10 0:38 
GeneralRe: WindowsFormsHost invalid theme in WPF Application (.Net 3.5) Pin
mattjfenner23-Mar-10 0:39
Membermattjfenner23-Mar-10 0:39 
QuestionHow do I center a Silverlight page on a browser at all times? Pin
Jun Du4-Mar-10 6:04
MemberJun 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
MemberJun 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
MemberAbhinav S14-Mar-10 21:15 
QuestionText for geometryModel3d should not rotate in wpf Pin
Ramkumar19883-Mar-10 20:27
MemberRamkumar19883-Mar-10 20:27 
QuestionLoading Image at runtime foe control library. Pin
Anu_Bala3-Mar-10 18:38
MemberAnu_Bala3-Mar-10 18:38 
QuestionWPF Nested Grid Sizing Question Pin
Kennebel3-Mar-10 4:23
MemberKennebel3-Mar-10 4:23 
AnswerRe: WPF Nested Grid Sizing Question Pin
AspDotNetDev3-Mar-10 21:49
protectorAspDotNetDev3-Mar-10 21:49 

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.