Solved

Tabitem re-order depending on login

Posted on 2009-06-30
2
187 Views
Last Modified: 2013-11-27
Is there a way to re-order the tabitems in my application based upon login, This is an XBAP application..

On the design page we can right click on the tabitem and select order and one of the bring forward or send back etc.. but I would like to re-order tabitems programatically... Is this possible? This is pretty critical for my application so any help is greatly appreciated..
Thanks!
0
Comment
Question by:Pavithra_S
2 Comments
 
LVL 5

Accepted Solution

by:
Opalelement earned 250 total points
ID: 24756644
I don't know about XBAP as I have never used it, but I do know that in Visual C# you can do tabControl.TabPages.RemoveAt and InsertAt, meaning you could move it by deleting and then reinserting
0
 

Author Closing Comment

by:Pavithra_S
ID: 31598462
The following code worked...
tabControl.Items.Remove(item);
tabControl.Items.Insert(p, item)
0

Featured Post

ScreenConnect 6.0 Free Trial

Discover new time-saving features in one game-changing release, ScreenConnect 6.0, based on partner feedback. New features include a redesigned UI, app configurations and chat acknowledgement to improve customer engagement!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article shows how to make a Windows 7 gadget that accepts files dropped from the Windows Explorer.  It also illustrates how to give your gadget a non-rectangular shape and how to add some nifty visual effects to text displayed in a your gadget.…
A theme is a collection of property settings that allow you to define the look of pages and controls, and then apply the look consistently across pages in an application. Themes can be made up of a set of elements: skins, style sheets, images, and o…
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…

803 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question