public EnumTweak(Tweak tweak) { this.InitializeComponent(); ValuesList.SetValue(ListPicker.ItemCountThresholdProperty, 20); _tweak = tweak; _tweak.ValueChanged += ValueChanged; }
public InputTweak(Tweak tweak) { this.InitializeComponent(); _tweak = tweak; _tweak.ValueChanged += ValueChanged; if (!string.IsNullOrEmpty(_tweak.InputHelper)) { DefaultButton.Content = "Browse"; } }
public ToggleTweak(Tweak tweak) { this.InitializeComponent(); _tweak = tweak; _tweak.ValueChanged += ValueChanged; }
public ColorTweak(Tweak tweak) { InitializeComponent(); _tweak = tweak; }