{
/// Internal used.
[EditorBrowsable(EditorBrowsableState.Never)]
- public static readonly BindableProperty CommandProperty = BindableProperty.Create("Command", typeof(ICommand), typeof(Control), null, propertyChanged: (bo, o, n) => ((Control)bo).OnCommandChanged());
+ public static readonly BindableProperty CommandProperty = BindableProperty.Create(nameof(Command), typeof(ICommand), typeof(Control), null, propertyChanged: (bo, o, n) => ((Control)bo).OnCommandChanged());
/// Internal used.
[EditorBrowsable(EditorBrowsableState.Never)]
- public static readonly BindableProperty CommandParameterProperty = BindableProperty.Create("CommandParameter", typeof(object), typeof(Button), null,
+ public static readonly BindableProperty CommandParameterProperty = BindableProperty.Create(nameof(CommandParameter), typeof(object), typeof(Button), null,
propertyChanged: (bindable, oldvalue, newvalue) => ((Button)bindable).CommandCanExecuteChanged(bindable, EventArgs.Empty));
private bool onThemeChangedEventOverrideChecker;
utilitySwitch[i].ApplyStyle(utilitySt);
utilitySwitch[i].Size = new Size(96, 60);
utilitySwitch[i].Margin = new Extents(100, 0, 20, 0);
+ utilitySwitch[i].IsTapGestureFeedback = true;
parentView[2].Add(utilitySwitch[i]);
}
for (i = 0; i < 4; i++)
familySwitch[i] = new Switch();
familySwitch[i].ApplyStyle(familySt);
familySwitch[i].Size = new Size(96, 60);
+ familySwitch[i].IsTapGestureFeedback = true;
parentView[2].Add(familySwitch[i]);
}
for (i = 0; i < 4; i++)
foodSwitch[i] = new Switch();
foodSwitch[i].ApplyStyle(foodSt);
foodSwitch[i].Size = new Size(96, 60);
+ foodSwitch[i].IsTapGestureFeedback = true;
parentView[2].Add(foodSwitch[i]);
}
for (i = 0; i < 4; i++)
kitchenSwitch[i] = new Switch();
kitchenSwitch[i].ApplyStyle(kitchenSt);
kitchenSwitch[i].Size = new Size(96, 60);
+ kitchenSwitch[i].IsTapGestureFeedback = true;
parentView[2].Add(kitchenSwitch[i]);
}
utilitySwitch2[i] = new Switch();
utilitySwitch2[i].ApplyStyle(utilitySt);
utilitySwitch2[i].Size = new Size(96, 60);
+ utilitySwitch2[i].IsTapGestureFeedback = true;
parentView[2].Add(utilitySwitch2[i]);
}
for (i = 0; i < 4; i++)
familySwitch2[i] = new Switch();
familySwitch2[i].ApplyStyle(familySt);
familySwitch2[i].Size = new Size(96, 60);
+ familySwitch2[i].IsTapGestureFeedback = true;
parentView[2].Add(familySwitch2[i]);
}
for (i = 0; i < 4; i++)
foodSwitch2[i] = new Switch();
foodSwitch2[i].ApplyStyle(foodSt);
foodSwitch2[i].Size = new Size(96, 60);
+ foodSwitch2[i].IsTapGestureFeedback = true;
parentView[2].Add(foodSwitch2[i]);
}
for (i = 0; i < 4; i++)
kitchenSwitch2[i] = new Switch();
kitchenSwitch2[i].ApplyStyle(kitchenSt);
kitchenSwitch2[i].Size = new Size(96, 60);
+ kitchenSwitch2[i].IsTapGestureFeedback = true;
parentView[2].Add(kitchenSwitch2[i]);
}