Example #1
0
 /// <summary>
 /// Forwards the <see cref="VisualStateChanged"/> event from a child graphic to listeners of a parent graphic.
 /// </summary>
 /// <param name="e">Data for the <see cref="VisualStateChanged"/> event.</param>
 internal void NotifyVisualStateChanged(VisualStateChanged3DEventArgs e)
 {
     if (e.Graphic == this)
     {
         OnVisualStateChanged(e.PropertyName);
     }
     EventsHelper.Fire(_visualStateChanged, this, e);
 }
 private void OnGraphicVisualStateChanged3D(object sender, VisualStateChanged3DEventArgs e)
 {
     if (e.Graphic == this)
     {
         OnVisualStateChanged(e.PropertyName);
     }
     EventsHelper.Fire(_visualStateChanged3D, this, e);
 }
		private void OnGraphicVisualStateChanged3D(object sender, VisualStateChanged3DEventArgs e)
		{
			if (e.Graphic == this) OnVisualStateChanged(e.PropertyName);
			EventsHelper.Fire(_visualStateChanged3D, this, e);
		}
		private void OnGraphicVisualStateChanged(object sender, VisualStateChanged3DEventArgs e)
		{
			NotifyVisualStateChanged(e);
		}
Example #5
0
 private void OnGraphicVisualStateChanged(object sender, VisualStateChanged3DEventArgs e)
 {
     NotifyVisualStateChanged(e);
 }
Example #6
0
		/// <summary>
		/// Forwards the <see cref="VisualStateChanged"/> event from a child graphic to listeners of a parent graphic.
		/// </summary>
		/// <param name="e">Data for the <see cref="VisualStateChanged"/> event.</param>
		internal void NotifyVisualStateChanged(VisualStateChanged3DEventArgs e)
		{
			if (e.Graphic == this) OnVisualStateChanged(e.PropertyName);
			EventsHelper.Fire(_visualStateChanged, this, e);
		}