private void TrackDescription_PropertyChanged(object sender, System.ComponentModel.PropertyChangedEventArgs e) { if (OnPropertyChanged != null) { OnPropertyChanged.Invoke(sender, EventArgs.Empty); } }
private void UpdateBorder() { propertyMap[ImageVisualProperty.Border] = PropertyValue.CreateWithGuard(border); OnPropertyChanged?.Invoke(this); }
private void UpdateUrl() { propertyMap[ImageVisualProperty.URL] = PropertyValue.CreateWithGuard(url); OnPropertyChanged?.Invoke(this); }
public static void InvokeOnPropertyChanged(Mobile mob, PropertyInfo property, object instance, object oldValue, object newValue) { OnPropertyChanged?.Invoke(mob, property, instance, oldValue, newValue); }
public void Trigger(object value) { OnPropertyChanged?.Invoke(this, value); }
public void GameSetup(string userName, List <Player> playerNames, List <Player> playerOrder) { RemainingAuctionCards.CollectionChanged += (object sender, NotifyCollectionChangedEventArgs e) => OnPropertyChanged?.Invoke(RemainingAuctionCards); SetupPlayers(playerOrder); CurrentPlayer = Players.First(player => player.Name == playerOrder.First().Name); User = Players.First(player => player.Name == userName); peerConnection.StartConnections(Players.Where(player => player.Name != user.Name).ToList()); SetupAuctionCards(); CurrentState = States.ChooseAction; StartConnectionChecker(); }
private void OnPropertyValueChanged(object obj) { OnPropertyChanged?.Invoke(); }
protected void RaisePropertyChanged([CallerMemberName] string propertyName = "") { OnPropertyChanged?.Invoke(this, new PropertyChangedEventArgs(propertyName)); }
public void ChangeValue(CardProperty property, int value) { OnPropertyChanged?.Invoke(property, value); StartCoroutine(CountValue(property, value)); }
public NodeViewModel(IHealthChecker healthChecker, INetworkResolver networkResolver) { _healthChecker = healthChecker; _networkResolver = networkResolver; _healthChecker.OnPropertyChanged += (s, e) => OnPropertyChanged?.Invoke(s, e); }
public void Dispose() { _healthChecker.OnPropertyChanged -= (s, e) => OnPropertyChanged?.Invoke(s, e); }
private void trackBarValues_ValueChanged(object sender, EventArgs e) { var flag = checkBoxAuto.Checked ? 1 : 2; OnPropertyChanged?.Invoke(this, new PropertyBarEventArgs(this.Tag, trackBarValues.Value, flag)); }
private void Ctl_OnPropertyChanged(object sender, PropertyBarEventArgs e) => OnPropertyChanged?.Invoke(this, e);
public void NotifyElementPropertyChange(UIElement element) { OnPropertyChanged?.Invoke(new UIActionEvent(element, Main._drawInterfaceGameTime.TotalGameTime), this); }
private void UpdateBlurRadius() { // TODO update blur radius value in the property map OnPropertyChanged?.Invoke(this); }
private void UpdateColor() { propertyMap[ColorVisualProperty.MixColor] = PropertyValue.CreateWithGuard(color); OnPropertyChanged?.Invoke(this); }