DefaultPartGroupVisibility no longer present in v19.1.0684

Editors for WPF Forum

Posted 4 years ago by Daniel Constantin - ModuleWorks GmbH
Version: 19.1.0684
Avatar
Hello,
 
In v16.1.0632 version, we were using PartEditBox.DefaultPartGroupVisibility set to System.Windows.Visibility.Collapsed to hide the TextBox part associated with a ColorEditBox; unfortunately DefaultPartGroupVisibility is no longer present in v19.1.0684.
As we recently migrated to v19.1.0684, how can we achieve same results using the new version ?
 
Kind regards !

Comments (7)

Posted 4 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar

Hi Daniel,

It doesn't look like there is a property this time to control the TextBox visibility.

Just so we fully understand the scenario, why do you wish to hide the editable color value?  Can you describe your usage scenario?  Thanks!


Actipro Software Support

Posted 4 years ago by Daniel Constantin - ModuleWorks GmbH
Avatar
Hello,
 
We are using a ThemedDataGrid, and one column is DataGridColorColumn; for this column we would like to hide the TextBox containing the color value as it is not important for us, and this way it will take less space. 
See attached print-screen.
 
Do you think it is possible to obtain same result with the new ActiPro version ?
 
Thank you !
Posted 4 years ago by Daniel Constantin - ModuleWorks GmbH
Avatar

https://1drv.ms/u/s!AhTydR-6rzI7gssmnN--N-Kf4r2wkA?e=wpS9Gf

Answer - Posted 4 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar

Hi Daniel,

Thanks for the information.  We will add a HasText property to ColorEditBox in the next maintenance release that will hide the text display for you so you can do swatch-only display easily.

If you'd like to try a preview build, please write our support address and reference this thread in your e-mail.


Actipro Software Support

Posted 4 years ago by Daniel Constantin - ModuleWorks GmbH
Avatar

Hi,

Sounds great! Thanks alot!

Kind regards,

Daniel

Posted 4 years ago by Daniel Constantin - ModuleWorks GmbH
Avatar

Hi,

And also a nice idea might be an option to be able to open the color picker only by mouse click or double click.
If you have a color edit box with a large width, it can be annoying to search that button on the right side.

Kind regards,

Daniel

Answer - Posted 4 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar

HI Daniel,

Yes, that's why in the documentation and the new example we gave of this in the ColorEditBox sample, we set IsEditable="False" as well when in this mode.  That property converts the entire control into a clickable area, so that it behaves how you wanted.


Actipro Software Support

The latest build of this product (v24.1.1) was released 22 days ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.