Click here to Skip to main content
15,913,610 members
Home / Discussions / WPF
   

WPF

 
AnswerRe: How do I work with WIndows Forms in WPF? Pin
Pete O'Hanlon26-May-10 10:05
mvePete O'Hanlon26-May-10 10:05 
QuestionSubclass Window? Pin
Kevin Marois26-May-10 7:54
professionalKevin Marois26-May-10 7:54 
AnswerRe: Subclass Window? Pin
Kunal Chowdhury «IN»26-May-10 17:53
professionalKunal Chowdhury «IN»26-May-10 17:53 
GeneralRe: Subclass Window? Pin
Kevin Marois27-May-10 4:59
professionalKevin Marois27-May-10 4:59 
AnswerRe: Subclass Window? Pin
Kunal Chowdhury «IN»27-May-10 5:11
professionalKunal Chowdhury «IN»27-May-10 5:11 
QuestionDisplay muti display data (DataGridCombobox) in WPF datagrid Pin
kartheesh26-May-10 3:35
kartheesh26-May-10 3:35 
QuestionIs there a Silverlight control for embeding into a ASP.NET Web form Pin
anderslundsgard25-May-10 7:51
anderslundsgard25-May-10 7:51 
AnswerRe: Is there a Silverlight control for embeding into a ASP.NET Web form Pin
Peace ON25-May-10 20:09
Peace ON25-May-10 20:09 
AnswerRe: Is there a Silverlight control for embeding into a ASP.NET Web form Pin
Abhinav S25-May-10 20:53
Abhinav S25-May-10 20:53 
QuestionNeed to remove the legend from the <chartingToolkit:PieSeries > Pin
srinandan..25-May-10 3:19
srinandan..25-May-10 3:19 
AnswerRe: Need to remove the legend from the Pin
Abhinav S25-May-10 3:33
Abhinav S25-May-10 3:33 
QuestionData Binding Multiple Values Pin
#realJSOP25-May-10 0:07
professional#realJSOP25-May-10 0:07 
AnswerRe: Data Binding Multiple Values Pin
Pete O'Hanlon25-May-10 0:52
mvePete O'Hanlon25-May-10 0:52 
GeneralRe: Data Binding Multiple Values Pin
#realJSOP25-May-10 5:53
professional#realJSOP25-May-10 5:53 
GeneralRe: Data Binding Multiple Values Pin
Pete O'Hanlon25-May-10 7:12
mvePete O'Hanlon25-May-10 7:12 
GeneralRe: Data Binding Multiple Values Pin
#realJSOP27-May-10 5:09
professional#realJSOP27-May-10 5:09 
GeneralRe: Data Binding Multiple Values Pin
Manish V Mahajan29-Jul-11 11:07
Manish V Mahajan29-Jul-11 11:07 
QuestionGrid not updating while swaping element[modified] Pin
Tripathi Swati24-May-10 20:22
Tripathi Swati24-May-10 20:22 
QuestionSetting a textbox based on listbox selection. Pin
jhoga24-May-10 10:51
jhoga24-May-10 10:51 
AnswerRe: Setting a textbox based on listbox selection. Pin
Abhinav S25-May-10 3:02
Abhinav S25-May-10 3:02 
GeneralRe: Setting a textbox based on listbox selection. Pin
jhoga25-May-10 12:28
jhoga25-May-10 12:28 
GeneralRe: Setting a textbox based on listbox selection. Pin
Jürgen Röhr27-May-10 7:10
professionalJürgen Röhr27-May-10 7:10 
QuestionWrap panel in WPF List Box Pin
Hema Bairavan24-May-10 1:30
Hema Bairavan24-May-10 1:30 
Hi All,

Hope you all are good.

I am adding some wrap panels to a list box..

my coding is

for (int i = 0; i < 15; i++)
{
WrapPanel wrp = new WrapPanel();
wrp.Name = "wrp" + i.ToString().Trim();

Label lbl1 = new Label();
lbl1.Content = "Code " + i.ToString().Trim();

Label lbl2 = new Label();
lbl2.Content = "Desc " + i.ToString().Trim();

wrp.Children.Add(lbl1);
wrp.Children.Add(lbl2);


lbOne.Items.Add(wrp); //lbone is source list box

}

so now i have 15 wrap panels in my lisbox.

i need to add the selected items(wrappanel) to other list box (may be destination)

i tried using

lbtwo.items.add(lbone.selecteditem);

but it says that it has some logical parent.
i.e it is already in the first list box lbone and it cannot be added to the new one..


may i know is there solution for this?

can we add liek this?
AnswerRe: Wrap panel in WPF List Box Pin
Pete O'Hanlon24-May-10 3:19
mvePete O'Hanlon24-May-10 3:19 
GeneralRe: Wrap panel in WPF List Box Pin
Jammer26-May-10 7:54
Jammer26-May-10 7:54 

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.