Read-Only State UI

Grids for WPF Forum

Posted 10 months ago by rex hui
Version: 23.1.2
Avatar

Using the Sample Browser "Read-Only State" sample:

In read-only state, for example, the value(list control) for the FontFamily changes to a gray color while the value(textbox) for the FontSize foreground remains the same. To me, the textbox should also change to a gray color so that the user will know it is in a read-only state. Is there a way to do that for all the various embedded controls to be grayed out in read-only state?

Comments (4)

Answer - Posted 10 months ago by Actipro Software Support - Cleveland, OH, USA
Avatar

Hello,

Microsoft's default WPF theme for TextBox doesn't update the foreground when in read-only state. 

However there is inconsistency in that sample you mentioned since our ComboBox property editors are changing foreground when read-only, while our TextBox property editors are not.  We discussed it here and feel there should be at least some subtle difference in foreground in our themes when read-only in addition to there being no blinking caret. 

We are going to update read-only edit controls to use a new read-only foreground brush in our themes that will be slightly dimmer than normal, but not as dim as disabled foregrounds.  

Please note that a read-only PropertyGrid already slightly dims all the text in the property name column.


Actipro Software Support

Posted 10 months ago by rex hui
Avatar

Thanks, yeah the inconsistency there is the key point.

When will that be available?

[Modified 10 months ago]

Posted 10 months ago by Actipro Software Support - Cleveland, OH, USA
Avatar

Hello,

It should be in the next few days.


Actipro Software Support

Posted 10 months ago by rex hui
Avatar

Thank you!

The latest build of this product (v24.1.2) was released 3 months ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.