![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
| Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks. |
| |||||||
| |
| | #1 (permalink) |
| | How to remove an uielement in a tabitem? Dear all: if i add an uielement(such as a button) in a tabitem, how can i do to remove it from the tabitem. Which function can i use? |
My System Specs![]() |
| | #2 (permalink) |
| | Re: How to remove an uielement in a tabitem? TabControl (control that display TabItems) derives from ItemsControl... You can then use: myTabControl.Items.Remove( ) or myTabControl.Items.RemoveAt( ) to do the job... wisenighthsu@ulead.com.tw wrote: > Dear all: > > if i add an uielement(such as a button) in a tabitem, > > how can i do to remove it from the tabitem. > > Which function can i use? |
My System Specs![]() |