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.
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.
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?
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
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
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
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);
}
}