Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
80
Tab Control
posted

Hi,

I need Tabcontrol for my Silverlight Project.

but There is no any tab control in Silverlight Product set.

Are there any control that I can use instead of Tab Control?

 

  • 1670
    Suggested Answer
    posted

    Hello Chanuri ,

    if you are needing standart Silverlight tab control you will have to do only two simple steps :

    1.  add reference in your project to System.Windows.Controls
    2. add xaml namespace declaration for sdk controls - something like that
     xmlns:sdk="http://schemas.microsoft.com/winfx/2006/xaml/presentation/sdk"
    which is going to give you the TabControl .
    You can invoke it like that 
      <sdk:TabControl>
                <sdk:TabItem Header="First Tab">
                </sdk:TabItem>
                <sdk:TabItem Header="Second Tab">
                </sdk:TabItem>
                <sdk:TabItem Header="Third Tab">
                </sdk:TabItem>
            </sdk:TabControl>
    Hope that helps, 
    regards Nikola .