Question

Programmically changing label does not update UI

Posted 3 years ago by Avatar Craig Dallie - Chevron Australia Pty Ltd
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 3 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 (2014.2 build 0610) was released 1 month ago, which was after the last post in this thread.

Add a Comment

Please log in to a validated account to post comments.