syncfusion / essential-ui-kit-for-xamarin.forms

Free and beautiful XAML template pages for Xamarin.Forms apps.
MIT License
1.05k stars 309 forks source link

Path=IsFocused - BorderlessEntry #82

Open rogmauri opened 2 years ago

rogmauri commented 2 years ago

Hi...

IsFocused is not present in BorderlessEntry control.

[0:] Binding: 'IsFocused' property not found on 'SyncfusionXamarinApp1.Controls.BorderlessEntry', target property: 'Syncfusion.XForms.Border.SfBorder.BorderColor'

                    <border:SfBorder
                        Margin="0,8"
                        Padding="12,8"
                        BorderColor="{Binding Source={x:Reference PhoneNoEntry}, Path=IsFocused, Converter={StaticResource ColorConverter}, ConverterParameter=3}"
                        Style="{StaticResource DataFormBorderlessEntryBorderStyle}"
                        VerticalOptions="Start">
                        <control:BorderlessEntry
                            x:Name="PhoneNoEntry"
                            Keyboard="Telephone"
                            Placeholder="{Binding PhoneNumberPlaceHolder, Source={Reference CountryPicker}}"
                            Style="{StaticResource BorderlessEntryStyle}"
                            Text="{Binding PhoneNumber, Source={Reference CountryPicker}}">
                            <control:BorderlessEntry.Behaviors>
                                <behaviors:EntryMaskedBehavior Mask="{Binding Source={x:Reference CountryPicker}, Path=Mask}" Prefix="{Binding Source={Reference CountryPicker}, Path=CountryCode}" />
                            </control:BorderlessEntry.Behaviors>
                        </control:BorderlessEntry>
                    </border:SfBorder>
Dirwaz commented 2 years ago

i am facing the same issue in android

PraveenGopalsamy commented 2 years ago

Hi Rogerio Cesar Mauri and Dirwaz,

We have analyzed your query and we have added the AddContactPage in our application using the Visual studio extension, it was working at our end. The BorderlessEntry control was inherited from Xamarin.Forms framework Entry control and it has IsFocused property. We have attached the sample link for your reference.

Sample Link: https://github.com/SyncfusionExamples/xamarin-forms-ui-kit-contact-us-page/tree/main/UIKitPage

For more information, You can get the UI Kit source code from the below GitHub link. https://github.com/syncfusion/essential-ui-kit-for-xamarin.forms

Also, you can get the UI Kit visual studio extension for Windows and MAC from the below link.
https://www.syncfusion.com/essential-xamarin-ui-kit

Please let us know if you need any further assistance in this.

Regards, Praveen G.