/// <summary> /// Handles the <see cref="WidgetCreated"/> event /// </summary> /// <param name="e">Arguments for the event</param> protected virtual void OnWidgetCreated(WidgetCreatedEventArgs e) { Eto.Style.OnStyleWidgetDefaults(e.Instance); if (WidgetCreated != null) { WidgetCreated(this, e); } }
internal void TriggerWidgetCreated(WidgetCreatedEventArgs args) { OnWidgetCreated(args); }
/// <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); }