IsReadOnly property is binndable ?

1 Answer 38 Views
Entry
Daniel
Top achievements
Rank 1
Silver
Bronze
Daniel asked on 09 May 2022, 10:52 AM

Hi,

I tried to use two way binding to IsReadOnly="{Binding IsDirectoryReadOnly,Mode=TwoWay}"

But is not working .

Thanks,

  <telerikMauiControls:RadEntry Grid.Row="1" Grid.Column="1" x:Name="txtDirectory" Placeholder="Directory" WidthRequest="200" Text="{Binding DirectoryName, Mode=TwoWay}" ValidationErrorMessage="{Binding DirectoryValidationErrorMessage, Mode=TwoWay}" IsValueValid="{Binding DirectoryIsValueValid, Mode=TwoWay}" 
                                                      IsReadOnly="{Binding IsDirectoryReadOnly,Mode=TwoWay}" ClearButtonVisibility="Never"/>
                    


1 Answer, 1 is accepted

Sort by
0
Didi
Telerik team
answered on 12 May 2022, 10:03 AM

Hello Daniel,

Thank you for this report.

It seems the binding does not work on windows. I have logged this on your behalf in our feedback portal. Follow the item at this link: https://feedback.telerik.com/maui/1564877-entry-windows-binding-isreadonly-does-not-work 

Workaround: Use IsEnabled property instead of IsReadOnly. 

Regards,
Didi
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.

Daniel
Top achievements
Rank 1
Silver
Bronze
commented on 12 May 2022, 10:12 AM

OK:)
Tags
Entry
Asked by
Daniel
Top achievements
Rank 1
Silver
Bronze
Answers by
Didi
Telerik team
Share this question
or