Navisworks API

Reply
Active Member
BBoretzky
Posts: 7
Registered: ‎09-02-2011
Message 1 of 1 (253 Views)

WPF Binding text to local:NWRibbonButton

253 Views, 0 Replies
09-02-2011 02:48 PM

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?

Post to the Community

Have questions about Autodesk products? Ask the community.

New Post
Announcements
Are You Going To Be @ AU 2014? Feel free to drop by our AU topic post and share your plans, plug a class that you're teaching, or simply check out who else from the community might be in attendance. Ohh and don't forgot to stop by the Autodesk Help | Learn | Collaborate booths in the Exhibit Hall and meet our community team if you get a chance!