Click here to Skip to main content
15,885,823 members
Home / Discussions / WPF
   

WPF

 
GeneralRe: WPF(add a message or text in the xmal elements like ellipse at run time in windows application. Pin
Ch.Gayatri Subudhi4-May-09 22:02
Ch.Gayatri Subudhi4-May-09 22:02 
GeneralSir i got anothr solution regarding this... Pin
Ch.Gayatri Subudhi5-May-09 20:25
Ch.Gayatri Subudhi5-May-09 20:25 
GeneralRe: WPF(add a message or text in the xmal elements like ellipse at run time in windows application. Pin
Ch.Gayatri Subudhi5-May-09 1:13
Ch.Gayatri Subudhi5-May-09 1:13 
QuestionUserControl Databinding Pin
mikla5213-May-09 3:14
mikla5213-May-09 3:14 
AnswerRe: UserControl Databinding Pin
Mark Salsbery3-May-09 8:31
Mark Salsbery3-May-09 8:31 
GeneralRe: UserControl Databinding Pin
mikla5213-May-09 9:08
mikla5213-May-09 9:08 
GeneralRe: UserControl Databinding Pin
Mark Salsbery3-May-09 9:40
Mark Salsbery3-May-09 9:40 
GeneralRe: UserControl Databinding Pin
mikla5213-May-09 10:25
mikla5213-May-09 10:25 
I will try again Smile | :)

A listbox where I can select product, nothing strange here.
Then a Tab with 6 radiobuttons to select Coupler and in that same Tab I have my UserControls.
So when I change selectedItem in my listbox OR change radiobutton, I need to update my UserControls with new data.
ONE of the UserControls in my XAML looks like:
<AttBox:MyAttBox Header="GSM 850" x:Name="AttBox_GSM850"/>

In my code I have (don't care about the private members now, let's say they are public Smile | :) ):
public CouplerDB myDB = new CouplerDB
When I want to change in the UC I get the values from:
Product p = (Product)productListbox.SelectedItem;
myDB.m_products[p.ProductName].m_attenuations["Cable"].Values[Band.GSM850][0]
myDB.m_products[p.ProductName].m_attenuations["Cable"].Values[Band.GSM850][1]...
so I can set
AttBox_GSM850.LowChRX = myDB.m_products[p.ProductName].m_attenuations["Cable"].Values[Band.GSM850][0];


But to simplify things here... If I have ONE and only ONE UC. I want a Dictionary where each KEY selects, i.e a List<String> to populate the UC listboxes, also want TwoWayBinding. Ehh..I have a testproject, where can I post it? Smile | :)
GeneralRe: UserControl Databinding Pin
mikla5213-May-09 21:04
mikla5213-May-09 21:04 
AnswerRe: UserControl Databinding Pin
Kunal Chowdhury «IN»13-May-09 20:42
professionalKunal Chowdhury «IN»13-May-09 20:42 
AnswerRe: UserControl Databinding Pin
Gideon Engelberth4-May-09 3:24
Gideon Engelberth4-May-09 3:24 
QuestionHow to read images in a single image file (.png format) Pin
seshu4code2-May-09 23:58
seshu4code2-May-09 23:58 
AnswerRe: How to read images in a single image file (.png format) Pin
Mark Salsbery3-May-09 8:47
Mark Salsbery3-May-09 8:47 
GeneralRe: How to read images in a single image file (.png format) Pin
seshu4code6-May-09 23:49
seshu4code6-May-09 23:49 
QuestionListView (with GridView) - Bound to Observable Collection [modified] Pin
b4ip2-May-09 19:56
b4ip2-May-09 19:56 
QuestionWPF and XNA physic engines ! Pin
Mohammad Dayyan2-May-09 12:06
Mohammad Dayyan2-May-09 12:06 
RantVS2008's inability to update service references [modified] Pin
Ravi Bhavnani2-May-09 9:30
professionalRavi Bhavnani2-May-09 9:30 
GeneralRe: VS2008's inability to update service references Pin
Mark Salsbery4-May-09 9:59
Mark Salsbery4-May-09 9:59 
GeneralRe: VS2008's inability to update service references Pin
Ravi Bhavnani4-May-09 10:01
professionalRavi Bhavnani4-May-09 10:01 
GeneralRe: VS2008's inability to update service references Pin
Ravi Bhavnani4-May-09 18:17
professionalRavi Bhavnani4-May-09 18:17 
QuestionReading items into a TreeView from an ACCESS database Pin
Etienne_1232-May-09 3:35
Etienne_1232-May-09 3:35 
AnswerRe: Reading items into a TreeView from an ACCESS database Pin
Pete O'Hanlon2-May-09 9:57
mvePete O'Hanlon2-May-09 9:57 
QuestionUserControl question Pin
RugbyLeague1-May-09 4:54
RugbyLeague1-May-09 4:54 
AnswerRe: UserControl question Pin
AghaKhan1-May-09 5:32
AghaKhan1-May-09 5:32 
AnswerRe: UserControl question Pin
#realJSOP1-May-09 5:34
mve#realJSOP1-May-09 5:34 

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.