private static void PlaceholderChanged(BindableObject bindable, object oldValue, object newValue) { EditorExpandableWithMaxLines editorExpandableWithMaxLines = (EditorExpandableWithMaxLines)bindable; if (editorExpandableWithMaxLines.Editor != null) { editorExpandableWithMaxLines.Editor.Placeholder = (String)newValue; } }
private static void TextProperyChanged(BindableObject bindable, object oldValue, object newValue) { EditorExpandableWithMaxLines editorExpandableWithMaxLines = (EditorExpandableWithMaxLines)bindable; if (editorExpandableWithMaxLines.Editor != null) { editorExpandableWithMaxLines.Editor.Text = (String)newValue; } }
private static void BreakLineModifierProperyChanged(BindableObject bindable, object oldValue, object newValue) { if ((bindable != null) && (newValue != null)) { EditorExpandableWithMaxLines editorExpandableWithMaxLines = (EditorExpandableWithMaxLines)bindable; if (editorExpandableWithMaxLines.Editor != null) { MultiPlatformApplication.Effects.EntryEffect.SetBreakLineModifier(editorExpandableWithMaxLines.Editor, (string)newValue); } } }
private static void ValidationCommandPropertyProperyChanged(BindableObject bindable, object oldValue, object newValue) { if ((bindable != null) && (newValue != null)) { EditorExpandableWithMaxLines editorExpandableWithMaxLines = (EditorExpandableWithMaxLines)bindable; if (editorExpandableWithMaxLines.Editor != null) { MultiPlatformApplication.Effects.EntryEffect.SetValidationCommand(editorExpandableWithMaxLines.Editor, (ICommand)newValue); } } }
private static void MaxLinesChanged(BindableObject bindable, object oldValue, object newValue) { EditorExpandableWithMaxLines editorExpandableWithMaxLines = (EditorExpandableWithMaxLines)bindable; editorExpandableWithMaxLines.MaxLines = (int)newValue; }