Programmically changing label does not update UI

Posted 4 years ago by Avatar Craig Dallie - Chevron Australia Pty Ltd

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

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?



Comments (1)

Posted 4 years ago by Actipro Software Support - Cleveland, OH, USA
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
Information The latest build of this product (2015.1 build 0624) was released 22 days ago, which was after the last post in this thread.

Add a Comment

Please log in to a validated account to post comments.