Visual studio does not gray out properties with a ReadOnlyAttribute(true)
- by Fire-Dragon-DoL
I know it's stupid but visual studio (2010) doesn't gray out my properties tagged with ReadOnlyAttribute, I can't edit their values (if I try to do it, simply return to the previous value), but they aren't grayed out, I think it's really boring this when using the editor
Is there an option or an attribute that I'm forgetting?
Thanks for any help
Example 1:
/// <summary>
/// Inform if the LcdDisplay has been already initiated
/// </summary>
[Description("Inform if the LcdDisplay has been already initiated")]
[DefaultValue(false)]
[ReadOnly(true)]
public bool Initialized { get; private set; }
Initialized is not grayed out