TechTalkz.com Logo

Go Back   TechTalkz.com Technology & Computer Troubleshooting Forums > Tech Support Archives > Programing Languages > C#(C Sharp)

Notices

Reply
 
Thread Tools Display Modes
Old 15-12-2007, 02:27 AM   #1
sundarvenkata
Guest
 
Posts: n/a
Re: Inserting elements dynamically into the StackPanel in WPF

Hi All,

Is it possible to insert elements dynamically in between existing
elements in a StackPanel in WPF??

Thanks,
Sundar
  Reply With Quote
Old 15-12-2007, 02:29 AM   #2
Nicholas Paldino [.NET/C# MVP]
Guest
 
Posts: n/a
Re: Inserting elements dynamically into the StackPanel in WPF

Sundar,

I don't see why not. Just call the Insert method on the
UIElementCollection exposed by the Children property. You can specify an
index to insert at. The StackPanel should take care of the rest.


--
- Nicholas Paldino [.NET/C# MVP]
- mvp@spam.guard.caspershouse.com

"sundarvenkata" <sundarvenkata@gmail.com> wrote in message
news:1557fcea-2de9-4013-990d-a79de10b4364@i29g2000prf.googlegroups.com...
> Hi All,
>
> Is it possible to insert elements dynamically in between existing
> elements in a StackPanel in WPF??
>
> Thanks,
> Sundar



  Reply With Quote
Reply

Thread Tools
Display Modes


Google
 


All times are GMT +5.5. The time now is 06:28 AM.


vBulletin, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO
Copyright © 2005-2008, TechTalkz.com. All Rights Reserved - Privacy Policy
Valid XHTML 1.0 Transitional