示例#1
0
 private void OnOpacityChanged()
 {
     if (OpacityChanged != null)
     {
         OpacityChanged.Invoke(this, EventArgs.Empty);
     }
 }
示例#2
0
 public void NotifyOpacityChanged(bool fromView, double value)
 {
     OpacityChanged?.Invoke(fromView, value);
 }
 private void OnOpacityChanged()
 {
     OpacityChanged?.Invoke(this, EventArgs.Empty);
 }
 //called when a drawn objects opacity changes - which necessitates moving from opaque <-> transparent list in ObjectManager - see ObjectManager::RegisterForEventHandling()
 protected virtual void OnOpacity(EventData eventData)
 {
     OpacityChanged?.Invoke(eventData);
 }