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

  • Home
  • SEARCH
  • 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 150847
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T09:21:20+00:00 2026-05-11T09:21:20+00:00

I have two fields that are of the same type in my property-grid. However,

  • 0

I have two fields that are of the same type in my property-grid. However, one is read-only, the other is editable.

Both of these fields are of a custom type, and thus have a custom UITypeEditor, which puts the elipsis ([…]) button on the field.

[      CategoryAttribute('5 - Wind'),      DisplayName('Factored Area'),      Description('The factored area for the segment.'),      EditorAttribute(typeof(umConversionTypeEditor), typeof(UITypeEditor)),      TypeConverter(typeof(umConversionTypeConverter)),      ReadOnly(true) ] public FactoredAreaClass FactoredArea { ... }  [      CategoryAttribute('5 - Wind'),      DisplayName('Factored Area Modifier'),      Description('The factored area modifier.'),      EditorAttribute(typeof(umConversionTypeEditor), typeof(UITypeEditor)),      TypeConverter(typeof(umConversionTypeConverter)) ] public FactoredAreaClass FactoredAreaMod { ... } 

In this example, FactoredAreaMod is available to be edited, but BOTH have the elipsis, which will cause great confusion with the users. Any way to turn that off??

  • 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. 2026-05-11T09:21:20+00:00Added an answer on May 11, 2026 at 9:21 am

    Use the ReadOnly attribute. This marks it as design-time read-only while keeping it read/write for runtime use.

    Also, you should either apply the Editor attribute to the type rather than the properties. There’s no gain in applying it to a property if you don’t want that property to be editable.

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

Sidebar

Related Questions

I have a mysql table that has two fields that store the same type
I have two fields that need to multiply each other and fill a third
I have a gridview that displays items details, I added two template fields one
I have an ASP.NET page that contains two div's. Both have search fields and
I have two fields that I'd like to match. (already done the validation functions
I hope I can explain this right I have two input fields that require
I have a stored procedure that takes no parameters, and it returns two fields.
I have a list of items. Item is a object with two fields. One
Possible Duplicate: Two fields of two records have same label in OCaml In Ocaml
I have two text boxes on the same window. They are both set to

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.