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
close icon

RibbonTextBox binding

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

3 Replies

JP Jagadeesan Pichaimuthu Syncfusion Team 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. 

DA David November 9, 2019 02:36 PM UTC

Thanks for your quick response.

It's working.... 

Thanks a lot... 

VR Vijayalakshmi Roopkumar Syncfusion Team 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. 

Live Chat Icon For mobile
Up arrow icon