Telerik Forums
UI for Xamarin Forum
1 answer
74 views
Hello,

I've been looking for hours in the example of DataFormControl but found nothing! In the example ReservationExample there are icons in front of the editor. How do they get there?!

Regards
Yana
Telerik team
 answered on 04 Jul 2022
2 answers
461 views

Want to have the label appear side by side with the input box not above it.

I see in the android native version a labelposition property but no property shows in xamarin forms.

What is the best approach for this using forms.

We will not be switching to the native controls but I do suspect we will never go past android for this internal application, so a solution that makes ios harder would be acceptable.

David Ocasio
Top achievements
Rank 2
Iron
Veteran
Iron
 answered on 19 Jun 2022
1 answer
149 views

I have an integer property in the source of a DataForm, and I'm looking for an easy way to apply string formatting in the UI. I would like this to be applied regardless of DataForms readonly status. So a number like 10005 will show as 10,005 or 10.005. I'm fine with the formatting to be disabled during editing.

I've explored a bit with iPropertyConverters, or adding a string property that uses the integer properties values, but I haven't had any success with seeing the formatted values in both readonly statuses and using the NumberPickerEditor.

Any help would be greatly appreciated.

Lance | Manager Technical Support
Telerik team
 answered on 02 Mar 2022
7 answers
161 views

Hi, I have a problem,

public class FruitModel
    {
        public int fruit{ get; set; }
        public string fruitName{ get; set; }
    }

ObservableCollection<FruitModel> FruitData = newObservableCollection<FruitModel>();
 FruitData.Add(new FruitModel {fruidID = 1, fruidName ="Banana" }); .........................................

How can i show fruit in the DataForm PickerEditor?

 

Yana
Telerik team
 answered on 12 Feb 2021
1 answer
74 views
Hello!
Your auto generated DataForms are awesome, but I need some custom functionality:

For one property I need to set an Image with the camera.
I already implemented that functionality with native xamarin forms components, but I have no idea how to integrate it in the data form.

If I refer to your BalzorGrid (Telerik UI for Balzor) Component, there is an option where I can autogenerate all base stuff and overwrite some properties to implement custom functionality.

I´m searching something like this.

Is there a way to let the main elements autogenerate and to define an other xaml code for e.g. a byte[] or a foreign key (dropdownlist with database query)?

Thank you for your support an best regards!
Nico 
Lance | Manager Technical Support
Telerik team
 answered on 08 Feb 2021
3 answers
43 views

Hi,

using com.telerik.widget.dataform.visualization.RadDataForm in Xamarin Native Android app.

By Default, DataFormDateEditor has Date Format "MMM dd, YYYY" and First day of the week is Sunday.

How can I change date format to dd.MM.YYYY and First Day of the week to Monday?

Setting Thread.CurrentThread.CurrentCulture and Thread.CurrentThread.CurrentUICulture seems not to have any effect...

Regards,

Rodrigo

Yana
Telerik team
 answered on 28 Oct 2020
1 answer
46 views

Hi,

is it possible somehow to decorate Enum values so it would display multiple words in the dropdown?

 

Something like this:

public enum MyList
{
Black,
White,
[Description("Rather Not Say")]

Unknown
}

 

Regards,

Rodrigo

Yana
Telerik team
 answered on 23 Oct 2020
5 answers
132 views

Hello,

All is in the title.
I could not find any documentation nor example for that feature, besides that I need to create a custom renderer and register it.
Can you provide an example of an editor that triggers an action when clicked, by example?

Regards,

Gregs

Lance | Manager Technical Support
Telerik team
 answered on 15 Sep 2020
3 answers
110 views
I have a number of fields in my class that are nullable but I am using a TKDataFormPickerViewEditor (Date does the same)  and when i load a new object in the form it always sets the nullable fields to being the first one in the picker list. I assumed that I could set the SelectedIndex = -1 but that does nothing.
Simon
Top achievements
Rank 1
Veteran
 answered on 25 Mar 2020
3 answers
131 views

I have a dataform with a picker, but when I select it more than once it does not change value

 

private string categoria = string.Empty;    
 
 
       [DisplayOptions(Group = "Categoria", Position = 1, ColumnSpan = 2, Header = "Categoria", PlaceholderText = "Categoria")]
       [DataSourceKey(nameof(CategoriaI))]
       public string Categoria
       {
           get
           {
               return this.categoria;
           }
           set
           {
               if (this.categoria != value)
               {
                   this.categoria = value;
                   this.OnPropertyChanged();
               }
           }
       }

 

namespace Telerik.XamarinForms.Common
{
    public abstract class NotifyPropertyChangedBase : INotifyPropertyChanged
    {
        protected NotifyPropertyChangedBase();
 
        public event PropertyChangedEventHandler PropertyChanged;
 
        protected virtual void OnPropertyChanged([CallerMemberName] string propertyName = null);
        protected bool UpdateValue<T>(ref T field, T value, [CallerMemberName] string propertyName = null);
    }
}
Yana
Telerik team
 answered on 19 Mar 2020
Top users last month
horváth
Top achievements
Rank 2
Iron
Iron
Steve
Top achievements
Rank 2
Iron
Erkki
Top achievements
Rank 1
Iron
Mark
Top achievements
Rank 2
Iron
Iron
Veteran
Jakub
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?