Quantcast
Channel: Extended WPF Toolkit™ Community Edition
Viewing all articles
Browse latest Browse all 4964

Edited Issue: PropertyGrid ReadOnlyAttribute & Foreground [19708]

$
0
0
from [this discussion](https://wpftoolkit.codeplex.com/discussions/443557)
-=-=-=-=-=-=-=-=-=-

How I can mark readonly property in PropertyGrid by gray color (as PropertyGrid in VS)?
Comments: ** Comment from web user: BoucherS **

Hi,

This bug will be fixed in v2.2.

When a property is made ReadOnly, a PropertyGridEditorTextBlock will be used. Since textBlocks can never be edited, the PropertyGridEditorTextBlock will always have its foreground Gray.

In addition, when the propertyGrid.IsEnabled property is false, all the property names and their editors will be grayed out.


Viewing all articles
Browse latest Browse all 4964


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>