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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T07:08:46+00:00 2026-06-03T07:08:46+00:00

Having a standard WinForms 2.0 PropertyGrid control I’m looking for a way to either

  • 0

Having a standard WinForms 2.0 PropertyGrid control I’m looking for a way to either change the border color of the control or remove the border altogether.

enter image description here

I’m aware of the LineColor property which unfortunately only changes the inner borders between the cells.

Additionally, I used ILSpy to take a look at the source code of the PropertyGrid control and still found nothing meaningful to me.

My question is:

How to remove the outer border of a PropertyGrid control or change the color of the outer border?

Update 2012-05-04 – Solution (aka “hack”):

Based on Jamie’s answer I assembled a working solution (which you can download from here):

enter image description here

The idea is to place the property grid inside a panel and let the panel clip the control.

With this approach, I did place the clipping panel into another panel that has a Padding of “1” (or whatever you want the borders to be) and gave this panel a BackColor that serves as the border color (green in my example).

Set the Anchor of the property grid to “Left, Right, Top, Bottom”, set the Dock of the clipping panel to “Full”.

enter image description here

This works well for my requirements. I would see this as kind of a hack since it consumes the resources of two panels which I hoped I could save.

  • 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-06-03T07:08:47+00:00Added an answer on June 3, 2026 at 7:08 am

    this is another alternative, as it seems that my first answer is not suitable for this particular control. This is a dirty trick but should work:

    Put a Panel control in your window or dialog, let say with size 100H x 300V. Put the propertygrid inside the panel with position -1,-1 and size 102,302.

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

Sidebar

Related Questions

I'm looking for a replacement to standard WinForms ToolStrip control, because this standard toolbar
I'm having trouble finding the standard way a class diagram should be drawn for
I'm having a weird problem with index organized table. I'm running Oracle 11g standard.
Lenses don't seem to have any disadvantages while having significant advantages over standard Haskell:
this question is fairly DevExpress-specific. I use a NavBar control with the standard SkinExplorerBarView
I'm having trouble including standard header files like iostream.h and fstream.h . On my
Having a chain of instanceof operations is considered a code smell. The standard answer
I'm having trouble working this out. Basically my program has a standard input, I
Having used Java for a long time my standard method for creating long strings
I'm having an issue with a standard ASP.NET portal. Suppose that has a TextBox

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.