Click here to Skip to main content
15,909,953 members
Home / Discussions / WPF
   

WPF

 
GeneralRe: WPF RichTextBox - Appending Colored text Pin
Harvey Saayman4-May-09 23:14
Harvey Saayman4-May-09 23:14 
QuestionWPF(add a message or text in the xmal elements like ellipse at run time in windows application. [modified] Pin
Ch.Gayatri Subudhi4-May-09 18:34
Ch.Gayatri Subudhi4-May-09 18:34 
AnswerRe: WPF(add a message or text in the xmal elements like ellipse at run time in windows application. Pin
Philipp Sumi4-May-09 20:35
Philipp Sumi4-May-09 20:35 
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 21:20
Ch.Gayatri Subudhi4-May-09 21:20 
GeneralRe: WPF(add a message or text in the xmal elements like ellipse at run time in windows application. Pin
Philipp Sumi4-May-09 21:22
Philipp Sumi4-May-09 21:22 
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 21:33
Ch.Gayatri Subudhi4-May-09 21:33 
GeneralRe: WPF(add a message or text in the xmal elements like ellipse at run time in windows application. Pin
Philipp Sumi4-May-09 21:38
Philipp Sumi4-May-09 21:38 
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 21:42
Ch.Gayatri Subudhi4-May-09 21:42 
GeneralRe: WPF(add a message or text in the xmal elements like ellipse at run time in windows application. Pin
Philipp Sumi4-May-09 21:46
Philipp Sumi4-May-09 21:46 
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 21:51
Ch.Gayatri Subudhi4-May-09 21:51 
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 21:53
Ch.Gayatri Subudhi4-May-09 21:53 
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 

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.