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 222815
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T19:09:45+00:00 2026-05-11T19:09:45+00:00

I am trying to create a panel which will have a set of buttons

  • 0

I am trying to create a panel which will have a set of “buttons” on it.

These buttons should have the following behaviour:

  1. Appear similar to a tag (with
    rounded edges)
  2. Contain a red
    cross to remove the filter/tag from
    the panel, similar to the way internet
    explorer tabs have an embedded cross to close the individual tab.
  3. allow the user to click
    on the tag and respond like a normal
    button (as long as the click is not
    in the red cross)

Number 1 is no problem, this is just appearance, however, regarding numbers 2 and 3, I am not sure if there is already code out there do to something similar…and I dont really want to reinvent the wheel if I can avoid it!

My question is: Does anyone know if there is something out there in infragistics which will do this simply, or will I need to write this myself by subclassing winform buttons?

Thanks in advance!

  • 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-11T19:09:46+00:00Added an answer on May 11, 2026 at 7:09 pm

    Is this new development or maintenance of an existing project?

    If it is maintenance, you have a somewhat tougher time ahead. You’ll implement a UserControl, probably segmented into two buttons. Use docking to get the behavior as correct as possible. The far right button would contain your cross image; the left (which would need to auto-expand as you resize the control) would contain your primary button behavior. Play with the visual styles until you get them right (EG, removing borders, etc).

    If this is new development, and you haven’t gotten too far into it, you might consider using Windows Presentation Framework (WPF) instead of WinForms. It will be easier to build the control and get it to look exactly how you want it. WPF includes an extremely powerful control compositing system which allows you to layer multiple controls on top of each other and have them work exactly as you’d expect, and it carries the added advantage of allowing full visual control out-of-the-box.

    Either way, this is more work than dropping in an external component … I’ve used Infragistics for years, and I can’t think of anything they have which is comparable. The closest, but only if you’re building an MDI application and these controls are for window navigation, is the Tabbed MDI window management tools — and there, only the tabs (which replace window title bars) have this behavior.

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

Sidebar

Related Questions

Hey there, I'm trying to make a site which have following: News, Products, About
I am trying to create a preference pane which will reside within system preferences.
I'm trying to create a program which will visualize different sorting algorithms by drawing
I'm trying to create a CollapsiblePanel control, which is essentially just a panel which
I'm trying to build a page which will have a box-like layout..A top banner
Im trying to create a mixing for Ext.grid.Panel components. This is how I have
I am trying to create a simple TreeView which will represent my applications data
I've been trying to create a custom control that works exactly like the Panel
Trying to create a QtRuby application, I get the following error: /usr/lib64/ruby/site_ruby/1.8/Qt/qtruby4.rb:2144: [BUG] Segmentation
Trying to create a list to return some JSON data to a view. Following

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.