public override void BindProperties() { #if DATABINDING base.BindProperties(); EditModeProperty.BindTo(this, () => EditMode); #endif if (Entry != null) { ValueProperty.BindTo(this, () => Entry.Text); #if DATABINDING PlaceholderProperty.BindTo(this, () => Entry.Placeholder); IsPasswordProperty.BindTo(this, () => Entry.SecureTextEntry); TextProperty.BindTo(this, () => Entry.Text); DetailTextAlignmentProperty.BindTo(this, () => Entry.TextAlignment); ReturnKeyTypeProperty.BindTo(this, () => Entry.ReturnKeyType); KeyboardTypeProperty.BindTo(this, () => Entry.KeyboardType); DetailTextFontProperty.BindTo(this, () => Entry.Font); #endif } }
public override void BindProperties() { base.BindProperties(); ValueProperty.BindTo(this, () => Checkmark); }
public override void BindProperties() { base.BindProperties(); ValueProperty.BindTo(this, () => Switch.On); }