BrushEditBox with just GradientControls

Editors for WPF Forum

Posted 10 years ago by Jacob Schoen
Version: 13.2.0591
Avatar

I am trying to use a BrushEditBox, but just for a gradient property I have, in a DataTemplate for the PropertyGrid. Is there a way to not show the other options and set it to Gradient. I found this question, BrushEditBox without the buttons to pick between None, Solid brush, and Gradient brush, but I do not seem to see the properties AreEditModeButtonsVisible or EditMode properties on the BrushEditBox. 

Has there been a change codewise, or what am I missing?

Comments (1)

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

Hi Jacob,

What is described there is a valid solution.  Note that those are properties on BrushEditor (the control used in the popup), which is different from BrushEditBox.  So you'd need to make an implicit Style for BrushEditor that set those options.


Actipro Software Support

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

Add Comment

Please log in to a validated account to post comments.