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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T16:26:43+00:00 2026-05-29T16:26:43+00:00

Where in VS2010 can I find a horizontal separator control, as can be found

  • 0

Where in VS2010 can I find a horizontal separator control, as can be found in Outlook settings (screenshots below)?

https://jira.atlassian.com/secure/attachment/14933/outlook+settings.jpg
http://www.keithfimreite.com/Images/OutlookSettings3.gif

Note: VB.NET preferred, but C# answers okay.

  • 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-29T16:26:44+00:00Added an answer on May 29, 2026 at 4:26 pm

    Even though this has been answered, I found the following to be what I need based partly on smoore‘s answer.

    Create a new control. Edit the code to be the following:

    public partial class Line : Label
    {
        public override bool AutoSize
        {
            get
            {
                return false;
            }
        }
    
        public override Size MaximumSize
        {
            get
            {
                return new Size(int.MaxValue, 2);
            }
        }
    
        public override Size MinimumSize
        {
            get
            {
                return new Size(1, 2);
            }
        }
    
        public override string Text
        {
            get
            {
                return "";
            }
        }
    
        public Line()
        {
            InitializeComponent();
            this.AutoSize = false;
            this.Height = 2;
            this.BorderStyle = BorderStyle.Fixed3D;
        }
    }
    

    Replace Line with the control’s class name you want. This will put a separator that will allow you to resize in the designer and disables adding text, changing the autosize forces the size’s height to be 2 and width to be whatever you want, and disables adding text.

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

Sidebar

Related Questions

I can't find any according item in VS2010 color settings to change < and
After installing VS2010 yesterday - (both VS2005 and VS2010 installed), I can't find the
I've been unable to find such an add-in for VS2010, I only found it
I have looked to see if I can find a compile button in VS2010
I can't find the VS2010 Tools | Options... | Environment | Fonts and Colors
I'm using VS2010 and can't seem to find how to enable the search bar
Where can I find these header files on Windows 7? I just installed VS2010,
I have a ASP.NET MVC2 project in VS2010 that can be deployed in two
Using WPF .NET 4.0 in VS2010 RTM: I can't create a fullscreen WPF popup.
Can you use Ninject 2.0 with VS2010 RC1?

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.