Esempio n. 1
0
        public virtual void OnButtonChanged(RangeChangedEventArgs e)
        {
            EventHandler <RangeChangedEventArgs> handler = ButtonChanged;

            if (handler != null)
            {
                handler(this, e);
            }
        }
Esempio n. 2
0
 private void PanelViewModelOnButtonChanged(object sender, RangeChangedEventArgs rangeChangedEventArgs)
 {
     ButtonId = rangeChangedEventArgs.NewId * 12 + _relativeButtonId;
     AttachEnabledHandlers();
     Update();
 }
 void panel_ButtonChanged(object sender, RangeChangedEventArgs e)
 {
     base.IsSelected = e.NewId == Id;
     Update();
 }