Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6364963
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T00:14:00+00:00 2026-05-25T00:14:00+00:00

I was looking to make tabs that look like the following: How do you

  • 0

I was looking to make tabs that look like the following:

How do you add an image to TabControl's label in Winforms?

but in wpf C#.

I dynamically add the tabs and was hoping to change the image depending on if the tab had been saved or not (i already have the code for that part).

Is there an easy way to do this?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-25T00:14:01+00:00Added an answer on May 25, 2026 at 12:14 am

    what you are looking for is the TabItems HeaderTemplate …

    XAML:

    <TabItem.HeaderTemplate>
        <DataTemplate>
            <StackPanel Orientation="Horizontal">
                <Rectangle Fill="Red" Width="10" Height="10" Margin="3,0"/>
                <TextBlock Text="{Binding}"/>
            </StackPanel>
        </DataTemplate>
    </TabItem.HeaderTemplate>
    

    instead of a rectangle you could specify an image or whatever element you want …

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm looking to make an image that's just noise, maybe something like this: (source:
I'm looking to make calls out to a subversion repository, but I would like
I am looking to make something like a radio style buttons, but no text,
I am looking to make a clickable div that has further divs nested inside.
I'm looking to make a website that will probably get some heavy, repetitive traffic.
I am looking to make a horizontally layed website but I am having issues
I'm looking to make an image sprite fade in after a certain amount of
I'm basically looking to make an image to be revealed as time passes, (i've
I'm looking to make a page that would show about 20k lines and a
Im looking to make a program that mixes up all the keyboard letters/ASCII values.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.