We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

RibbonTextBox binding

Thread ID:





148920 Nov 7,2019 08:11 PM UTC Nov 12,2019 04:55 AM UTC WPF 3
Tags: Ribbon
Asked On November 7, 2019 08:11 PM UTC

Hi, I'm trying get value from RibbonTextBox using Text properties. 
<syncfusion:RibbonTextBox x:Name="valueToChange" Width="140" Text="{Binding Path=ValueToApply,Mode=TwoWay}"/>
Others tries:
<syncfusion:RibbonTextBox x:Name="valueToChange" Width="140" Text="{Binding ValueToApply}"/>
But not working...
In my view model the value is always null...
David Felipe

Jagadeesan Pichaimuthu [Syncfusion]
Replied On November 8, 2019 11:39 AM UTC

Hi David, 
Thank you for using Syncfusion products. 
We have checked the reported problem in our end and it can be resolved by setting the UpdateSourceTrigger to PropertyChanged. And also the viewmodel class must be implemented the INotifyPropertyChanged interface. Please refer the below code snippet and sample for your reference. 
<syncfusion:RibbonTextBox x:Name="valueToChange" Width="140" Text="{Binding Path=ValueToApply,Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}"/> 
Let us know whether this helps also if you need any further assistance on this. 

Replied On November 9, 2019 02:36 PM UTC

Thanks for your quick response.

It's working.... 

Thanks a lot... 

Vijayalakshmi Roopkumar [Syncfusion]
Replied On November 12, 2019 04:55 AM UTC

Hi David 
Thank you for the update. 
Please let us know if you need any further assistance on this. 
Vijayalakshmi V.R. 


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile
Live Chat Icon