I have a rad list and i use BindingContextChanged to change isVisible trueOrFalse based on some coditions but it returns me the list where some items have white space down and some other items the bottom margin cut the infos in half.
Hi,
I'm trying to change the color of telerikInput:RadAutoCompleteView close icon, default it's dark,
I need to assign a color to it, can anyone help me
hi good days to all,
i go through example source code here https://github.com/telerik/telerik-xamarin-forms-samples/blob/master/QSF/QSF/Examples/DataFormControl/ReservationsExample/DataFormView.xaml.cs
validation is done through code behind :
private void DoneButton_Clicked(object sender, EventArgs e)
{
this.dataForm.FormValidationCompleted += DataForm_FormValidationCompleted;
this.dataForm.ValidateAll();
}
I'm using command binding in button to call delegate command in mvvm. Is it possible to call ValidateAll() from within mvvm or specific method to achieve this ?
Hi,
would it possible to get sample of how set Font (TypeFace) DataFormSpinnerEditor, same as to DataFormTextEditor and DataFormIntegerEditor using EditorCustomizations delegate?
Regards,
Rodrigo
I'm attempting to add a RadDataForm to a fragment:
this
.form =
new
RadDataForm(
this
.Context);
var entity =
new
Models.Inventory.ConveyanceReceipt();
this
.form.SetEntity(entity);
this
._root.AddView(
this
.form);
The line where i call .SetEntity(object) throws a Java.Lang null pointer exception:
Unhandled Exception:
Java.Lang.NullPointerException: Attempt to invoke
virtual
method
'boolean java.lang.Class.isInterface()'
on a
null
object
reference.
The entity model is:
public
class
ConveyanceReceipt : Java.Lang.Object
{
[DataFormProperty(Label=
"Conveyance ID"
, Index = 1, Required =
true
)]
public
string
Tracker {
get
;
set
; }
[DataFormProperty(Label =
"Scan Time"
, Index = 0, ReadOnly =
true
)]
public
DateTime Time {
get
;
set
; } = DateTime.Now;
}
I kept it very simple and I really am trying to wrap my head around why I can't get the basic example past SetEntity();
Any help would be greatly appreciated, is there some initialization that I'm not doing? I tried tracking down the isInterface getter and couldn't locate a value for it in debugger.
Greetings,
I am trying to create a custom editor for one of my properties. The code I use is this:
[Android.Runtime.Register("my/name/space/ReaderEditor")]
public class ReaderEditor : Com.Telerik.Widget.Dataform.Visualization.Core.EntityPropertyEditor
{
public ReaderEditor(RadDataForm form, IEntityProperty property) : base(form,
form.EditorsMainLayout,
form.EditorsHeaderLayout,
Resource.Id.data_form_text_viewer_header1,
Resource.Layout.DataFormTextViewerLayout,
Resource.Id.data_form_text_viewer,
form.EditorsValidationLayout,
property)
{
}
public ReaderEditor(RadDataForm dataForm, int layoutId, int headerLayoutId,
int headerViewId, int editorLayoutId, int editorViewId,
int validationLayoutId, IEntityProperty property) :
base(dataForm, layoutId, headerLayoutId, headerViewId, editorLayoutId,
editorViewId, validationLayoutId, property)
{
}
public override Java.Lang.Object Value()
{
return ((EditText)EditorView).Text;
}
protected override void ApplyEntityValueToEditor(Java.Lang.Object entityValue)
{
((EditText)EditorView).Text = entityValue.ToString();
}
}
It's pretty basic actually, I just wanted to create a simple one in order to build on that afterwards. However when I run it I get the following exception:
Java.Lang.Error: The data form editor for property MYPROPERTY must have a constructor that accepts a Context and an EntityProperty.
How can I implement this editor?
Thank you for your time,
Vaggelis
Greetings,
I have a few more questions about the DataForm editors.
1)I am interested in starting a new activity when the user tries to edit a certain property. Should I implement some kind of event, or create a new editor that overrides a certain method (and which)?
2)I would like to know if and how I could setup a multiline text editor.
Thank you in advance,
vagg
Greetings,
I would like to know if it is possible to have a LIST<T> property as a member of the DataForm Entity.
Thank you for your time,
vagg