Programmically changing label does not update UI

Ribbon for WPF Forum

Posted 8 years ago by Craig Dallie - Chevron Australia Pty Ltd
Version: 11.1.0542
Avatar
Hi,

I am setting the label propery of a button in a ribbon, eg:

<ribbon:Button
Label="xNew"
x:Name="btnNewIncident" />

In the code behind i then retrive the properties from a database and set in code:

btnNewIncident.Label = "New";

When stepping through the code, i can see the label's value changing, but the value change does not update the UI, even after a call to "Ribbon.InvalidateVisual();"

Can you assist?

Regards,

Craig

Comments (1)

Posted 8 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar
Hi Craig,

I just tried updating the label programmatically on a button and it worked ok for me.

If you think it is a bug on our end, please make a brand new simple sample project that shows the issue and email it to our support address. Rename the .zip file extension so it doesn't get blocked. Thanks!


Actipro Software Support

The latest build of this product (v2019.1 build 0683) was released 1 month ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.