HintText on a non-editable ComboBox

Ribbon for WPF Forum

Posted 15 years ago by wpf.acp
Version: 9.1.0507
Avatar
Can I make use of HintText on a non-editable ComboBox in the same way as with editable?

I would expect non-editable ComboBox to show HintText if there is no current selection advising user to take action.

Is this possible? If so, how does one make it work? I would hate to have to reinvent the wheel with custom templates just to achieve this simple functionality.

Thanks!

Comments (6)

Posted 15 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar
Ok, we'll add hint text display for non-editable ComboBoxes for the next build.


Actipro Software Support

Posted 27 days ago by david lin
Avatar

Is this feature supported in the latest version? It is still not available in 24.1.1.

Posted 26 days ago by Actipro Software Support - Cleveland, OH, USA
Avatar

Hi David,

This sample code works to show hint text in a non-editable ComboBox:

<ComboBox shared:HintProperties.Hint="Hint text">
	<ComboBoxItem Content="ComboBox item 1" />
	<ComboBoxItem Content="ComboBox item 2" />
	<ComboBoxItem Content="ComboBox item 3" />
</ComboBox>


Actipro Software Support

Posted 26 days ago by david lin
Avatar

Why can't "ribbon:ComboBox" use shared:HintProperties.Hint?

We need to use a series of products from actipro. This is based on the consideration of code style and wpf style unification.

Posted 25 days ago by Actipro Software Support - Cleveland, OH, USA
Avatar

Hello,

These samples show hint text in both usages of ribbon:ComboBox:

<ribbon:ComboBox Hint="Non-editable combo" IsEditable="False">
</ribbon:ComboBox>

<ribbon:ComboBox Hint="Editable combo" IsEditable="True">
</ribbon:ComboBox>


Actipro Software Support

Posted 25 days ago by david lin
Avatar

My bad, I'm verifying from the minimal demo that works, but not from our project, maybe I should check if it's affecting it elsewhere.

Thank you for your patient answers.

The latest build of this product (v25.1.0) was released 5 days ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.