void OnEditingEnded(object sender, EventArgs e) { IElementController ElementController = Element as IElementController; if (Control.Text != Element.Text) { ElementController.SetValueFromRenderer(Entry.TextProperty, Control.Text); } ElementController.SetValueFromRenderer(VisualElement.IsFocusedProperty, false); }
internal static void OnAnimationStopped(IElementController image, FormsAnimationDrawableStateEventArgs e) { if (image != null && e.Finished) { image.SetValueFromRenderer(Image.IsAnimationPlayingProperty, false); } }
void OnEditingBegan(object sender, EventArgs e) { IElementController ElementController = Element as IElementController; ElementController.SetValueFromRenderer(VisualElement.IsFocusedProperty, true); }
void OnEditingChanged(object sender, EventArgs eventArgs) { IElementController ElementController = Element as IElementController; ElementController.SetValueFromRenderer(Entry.TextProperty, Control.Text); }
public void SetValueFromRenderer(BindableProperty property, object value) { controller.SetValueFromRenderer(property, value); }