/// <summary> /// Handles the <see cref="WidgetCreated"/> event /// </summary> /// <param name="e">Arguments for the event</param> protected virtual void OnWidgetCreated(WidgetCreatedEventArgs e) { Eto.Style.Provider?.ApplyDefault(e.Instance); WidgetCreated?.Invoke(this, e); }
public void Apply(WidgetCreated e) { WidgetId = e.WidgetId; }