Telerik Forums
UI for Xamarin Forum
3 answers
288 views

I can't find any documentation related to validating "forms" created using UI for Xamarin controls, I understand that could be something related to xamarin.forms itself but before trying any other options I would like to hear directly from Telerik staff what's is the best suited approach to validate your controls.

For instance, I'm implementing a login screen using two RadEntry (user and password) and one RadButton, I would like to apply some basic rules to the RadEntries, like they can't be empty then once pressed the button it should trigger those rules and invalidate the form so the user can't submit it until the RadEntries have valid data.

What is your recommendation of handling this scenario? a behavior? a third party library? attaching by hand the required event for each control?

P.D.: Are you planning to implement some kind of Form container control where you can trigger a validation event to all controls inside it just like the DataForm control works?

Lance | Senior Manager Technical Support
Telerik team
 answered on 15 Oct 2018
1 answer
188 views
I was going to use the SlideView to show images.  What is the best image size to use?
Lance | Senior Manager Technical Support
Telerik team
 answered on 12 Oct 2018
10 answers
184 views
When setting HorizontalContentAlignment to Start, the RadButton looks alright on UWP and Android. The title is left aligned with decent spacing to the border. However, on iOS there is no padding to the left. Is it possible to have a spacing here? 
Didi
Telerik team
 answered on 12 Oct 2018
3 answers
310 views

 

My custom TabView header content looks like:

<Label>
    <Label.FormattedText>
        <FormattedString>
            <Span Text="{StaticResource MyIcon}" FontFamily="{StaticResource MyIconFont}"/>
            <Span Text="Some Text"/>
        </FormattedString>
    </Label.FormattedText>
</Label>

As you can see it just allows me to add an font icon to the header.  However doing this completely loses the standard styling on the header.  Is there an easy way to maintain the header style so that it match the standard TabView header with the custom content?  Or is there a way to achieve what I want without the the custom header?

 

 

Lance | Senior Manager Technical Support
Telerik team
 answered on 10 Oct 2018
3 answers
261 views
Hello,

the standard behaviour of a treeview in a windows application is, "expand on clicking the arrow/plus symbol", and "select on clicking the treeviews item text". The Telerik RadTreeView also expands/collapses when tapping on the text.

Is there any possibility to prevent the treeview item from expanding/collapsing when tapping its text and instead raising a selection event?

I tried different approches, but nothing worked. I also definded a custom item cell as item template by using "ListViewTemplateCell", but it keeps expanding.

On the treeview item text label I implemented a TapGestureRecognizer (see attached picture). That mostly works, except when you hit the enclosing containers border, it will still expand.

regards,

Martin
Yana
Telerik team
 answered on 10 Oct 2018
6 answers
154 views

Hello,

I'm trying to control the size of the legend icons using the LegendItemIconSize property. It seems to work fine on Android and UWP but not on iOS.

Is this a bug or a limitation?

Is there any way to work around this, perhaps with a custom renderer?

Stefan Nenchev
Telerik team
 answered on 09 Oct 2018
1 answer
256 views

Hi all,

I'm running into a problem with changing the selected date of the calendar using binding (MVVM), I can successfully use the built in Xamarin.Forms DatePicker to change the selected date of the calendar, however when I do change it to say 3 years from today, the RadCalendar does not change to ensure the selected date is in view.

I haven't found an override or anything in a custom renderer to get this behaviour to go, is this possible to implement?

Cheers,

Akin

Yana
Telerik team
 answered on 09 Oct 2018
1 answer
105 views

I'm currently working on an application using the Telerik controls that needs to handle recurring events, I am working off of the following two links mostly:

https://docs.telerik.com/devtools/xamarin/nativecontrols/android/calendar/calendar-reading-events#recurring-eventshttps://docs.telerik.com/devtools/android/AndroidControlsDoc/com/telerik/widget/calendar/events/read/RecurringEvent.html

My application will read appointments generated in a different format and have to adapt them to the way the Telerik control reads them on mobile.

From what I understand, the IAppointment interface does not have a way of defining whether an appointment is recurring or not, if that is the case, how can I instantiate new Telerik appointments (those implementing IAppointment) that are recurring? Or is this a job for the CustomRenderer? 

If it is a case for the CustomRenderer, I have created a CustomEventReadAdapter (as per first link) however, I am unsure when the EventShouldRecur method will fire, and how do I generate a RecurringEvent (for the EventReadAdapter override)?

 

Yana
Telerik team
 answered on 09 Oct 2018
3 answers
138 views
I'd like to add some buttons to the style/template of the title in the calendar something like what is shown below, is this possible?
Didi
Telerik team
 answered on 09 Oct 2018
1 answer
116 views

Is it possible to embed the TKRadialGauge into Xamarin forms? I see several examples on getting native controls into Xamarin forms, I just can't seem to figure out the namespace and other details for XAML and Binding. 

 

Any help is appreciated. 

 

Lance | Senior Manager Technical Support
Telerik team
 answered on 08 Oct 2018
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?