Click here to Skip to main content
15,893,722 members
Home / Discussions / WPF
   

WPF

 
GeneralRe: MediaElement not playing video on ... Pin
neglewis20-Aug-09 4:32
neglewis20-Aug-09 4:32 
QuestionVb.net 2008 ( visual studio 2008) Pin
Rits11038917-Jun-09 1:04
Rits11038917-Jun-09 1:04 
AnswerRe: Vb.net 2008 ( visual studio 2008) Pin
Christian Graus17-Jun-09 11:06
protectorChristian Graus17-Jun-09 11:06 
QuestionRe: Vb.net 2008 ( visual studio 2008) Pin
Rits11038918-Jun-09 21:45
Rits11038918-Jun-09 21:45 
AnswerRe: Vb.net 2008 ( visual studio 2008) Pin
Christian Graus18-Jun-09 23:55
protectorChristian Graus18-Jun-09 23:55 
AnswerRe: Vb.net 2008 ( visual studio 2008) Pin
Mark Salsbery19-Jun-09 7:28
Mark Salsbery19-Jun-09 7:28 
GeneralRe: Vb.net 2008 ( visual studio 2008) Pin
Rits11038919-Jun-09 18:30
Rits11038919-Jun-09 18:30 
QuestionHow to copy a UI element into another UI Element Pin
Nekkantidivya16-Jun-09 23:35
Nekkantidivya16-Jun-09 23:35 
Hi,

I am working on WPF. In this I will dynamically add images to a stack panel. During this process when I select an element and click a button, then the another image which is same as the selected element should be added.

That is I have to copy the selected UI element in another UIElelement and then I have to add this new UIElelment to the Stack panel. For this I wrote code like this:



UIElement DuplicateImg = selectedElement;

spanel.Children.Insert(GetSlideIndexinStackPanel(selectedElement), DuplicateImg);

but for this I am getting an error

"Additional information: Specified Visual is already a child of another Visual or the root of a CompositionTarget."

If anyone have any idea to solve this please reply me


Thanks in advance
AnswerRe: How to copy a UI element into another UI Element Pin
ABitSmart17-Jun-09 2:54
ABitSmart17-Jun-09 2:54 
AnswerRe: How to copy a UI element into another UI Element Pin
#realJSOP17-Jun-09 8:09
mve#realJSOP17-Jun-09 8:09 
QuestionWPF TabContol problem Pin
Jacobus0116-Jun-09 22:36
Jacobus0116-Jun-09 22:36 
AnswerRe: WPF TabContol problem Pin
ABitSmart17-Jun-09 2:57
ABitSmart17-Jun-09 2:57 
AnswerRe: WPF TabContol problem Pin
#realJSOP17-Jun-09 5:37
mve#realJSOP17-Jun-09 5:37 
GeneralRe: WPF TabContol problem Pin
Jacobus0117-Jun-09 20:38
Jacobus0117-Jun-09 20:38 
GeneralRe: WPF TabContol problem Pin
#realJSOP17-Jun-09 23:13
mve#realJSOP17-Jun-09 23:13 
Questionhow to use the same file in two project in visual studio Pin
bigkingjiang16-Jun-09 21:43
bigkingjiang16-Jun-09 21:43 
AnswerRe: how to use the same file in two project in visual studio - Link it Pin
ProtoBytes19-Jun-09 3:50
ProtoBytes19-Jun-09 3:50 
QuestionFrozen Property After Animating [SOLVED] Pin
#realJSOP15-Jun-09 9:26
mve#realJSOP15-Jun-09 9:26 
QuestionUpdate Databindings to Object on assignment to new Object Pin
Dan Payment15-Jun-09 7:59
Dan Payment15-Jun-09 7:59 
AnswerRe: Update Databindings to Object on assignment to new Object Pin
Mark Salsbery15-Jun-09 8:17
Mark Salsbery15-Jun-09 8:17 
GeneralRe: Update Databindings to Object on assignment to new Object Pin
Dan Payment15-Jun-09 9:44
Dan Payment15-Jun-09 9:44 
Questionfence-sitting : SilverLight vs. WPF : one year out ... ? Pin
BillWoodruff15-Jun-09 7:47
professionalBillWoodruff15-Jun-09 7:47 
AnswerRe: fence-sitting : SilverLight vs. WPF : one year out ... ? Pin
Mark Salsbery15-Jun-09 8:13
Mark Salsbery15-Jun-09 8:13 
GeneralRe: fence-sitting : SilverLight vs. WPF : one year out ... ? Pin
BillWoodruff15-Jun-09 9:17
professionalBillWoodruff15-Jun-09 9:17 
QuestionWPF listbox scroolbar width Pin
peterotoole15-Jun-09 4:52
peterotoole15-Jun-09 4:52 

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.