Click here to Skip to main content
15,902,112 members
Home / Discussions / WPF
   

WPF

 
GeneralRe: Must compile XAML file that specifies events Pin
AlphaDeltaTheta19-May-13 14:48
AlphaDeltaTheta19-May-13 14:48 
QuestionIs Frame is a good Control for loading a Xaml page in WPF? Pin
Mohammed Hameed14-May-13 19:53
professionalMohammed Hameed14-May-13 19:53 
AnswerRe: Is Frame is a good Control for loading a Xaml page in WPF? Pin
Abhinav S15-May-13 8:12
Abhinav S15-May-13 8:12 
GeneralRe: Is Frame is a good Control for loading a Xaml page in WPF? Pin
Mohammed Hameed15-May-13 19:28
professionalMohammed Hameed15-May-13 19:28 
QuestionTreeViewDragDropTarget Drag Certain Node Only Pin
Member 1003315714-May-13 19:52
Member 1003315714-May-13 19:52 
QuestionWPF / MVVM Get Data From ViewModel Pin
Kevin Marois14-May-13 15:10
professionalKevin Marois14-May-13 15:10 
AnswerRe: WPF / MVVM Get Data From ViewModel Pin
SledgeHammer0115-May-13 6:57
SledgeHammer0115-May-13 6:57 
GeneralRe: WPF / MVVM Get Data From ViewModel Pin
Kevin Marois15-May-13 7:54
professionalKevin Marois15-May-13 7:54 
Ok, I'm not sure I understand.

In this case I have a Materials view, and on it is a control that lists prices. The prices control is used in more than one view which is why it's a control.

There is a one to many between Materials and Prices, so the prices view needs to know the PK of the Material. In addition, the Material needs to know the count of Prices and other info.

When a material is selected I need to tell the prices view the PK of the selected material so it can load them. When a price is added to the list in the Prices control, the Material view needs to know it.

The Prices control already handles it's own CRUD operations, but I don't understand how it and the Materials view are supposed to intertact. There has to be some way to say "Hey Prices view, give me your data" or, "Hey Prices view, load the prices for this Material".

Using Data Templates to map them seems to make it impossible since the VM for the Materials has no clue that there's a Prices control any where.
If it's not broken, fix it until it is

GeneralRe: WPF / MVVM Get Data From ViewModel Pin
SledgeHammer0115-May-13 8:41
SledgeHammer0115-May-13 8:41 
GeneralRe: WPF / MVVM Get Data From ViewModel Pin
Kevin Marois15-May-13 9:00
professionalKevin Marois15-May-13 9:00 
GeneralRe: WPF / MVVM Get Data From ViewModel Pin
Kevin Marois20-May-13 14:00
professionalKevin Marois20-May-13 14:00 
GeneralRe: WPF / MVVM Get Data From ViewModel Pin
SledgeHammer0120-May-13 16:16
SledgeHammer0120-May-13 16:16 
GeneralRe: WPF / MVVM Get Data From ViewModel Pin
Kevin Marois15-Jun-13 10:37
professionalKevin Marois15-Jun-13 10:37 
Questionweb services Pin
picasso212-May-13 12:54
picasso212-May-13 12:54 
AnswerRe: web services Pin
Abhinav S12-May-13 18:29
Abhinav S12-May-13 18:29 
GeneralRe: web services Pin
picasso212-May-13 20:21
picasso212-May-13 20:21 
QuestionHow to acheive the given layout in Silverlight? Pin
New Coder1239-May-13 22:55
New Coder1239-May-13 22:55 
AnswerRe: How to acheive the given layout in Silverlight? Pin
Abhinav S12-May-13 7:47
Abhinav S12-May-13 7:47 
QuestionSL application does not works-nothing change Pin
picasso28-May-13 18:48
picasso28-May-13 18:48 
AnswerRe: SL application does not works-nothing change Pin
Abhinav S12-May-13 7:45
Abhinav S12-May-13 7:45 
QuestionBinding issues with Treeview C# WPF Pin
bartbartb2-May-13 11:41
bartbartb2-May-13 11:41 
AnswerRe: Binding issues with Treeview C# WPF Pin
Kenneth Haugland3-May-13 2:22
mvaKenneth Haugland3-May-13 2:22 
AnswerRe: Binding issues with Treeview C# WPF Pin
Mycroft Holmes9-May-13 12:23
professionalMycroft Holmes9-May-13 12:23 
QuestionVisualTreeHelper.HitTest / RectangleGeometry not working... Pin
SledgeHammer012-May-13 7:26
SledgeHammer012-May-13 7:26 
AnswerRe: VisualTreeHelper.HitTest / RectangleGeometry not working... Pin
Kenneth Haugland2-May-13 7:38
mvaKenneth Haugland2-May-13 7:38 

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.