Community
Navisworks API
Welcome to Autodesk’s Navisworks API Forums. Share your knowledge, ask questions, and explore popular Navisworks API topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

WPF Binding text to local:NWRibbonButton

0 REPLIES 0
Reply
Message 1 of 1
BBoretzky
742 Views, 0 Replies

WPF Binding text to local:NWRibbonButton

I am attempting to bind text to a button and everytime I attempt to add anything into the xaml other than the basic RibbonControl elements NavisWorks will crash before the GUI pops up.

 

I am trying...

 

<local:NWRibbonButton x:Uid="SplitButton_2" Id="ID_Button_B" Size="Standard" ShowText="True"

     Text="{Binding UserName}">

</local:NWRibbonButton>

 

 

Can anyone give me an example or tell me if this is even possible to bind the text of a ribbon element to a property?

0 REPLIES 0

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Rail Community


Autodesk Design & Make Report