/// <summary> /// Overrides this method if want to handle behavior when the region format is changed. /// If base.OnRegionFormatChanged() is not called, the event 'RegionFormatChanged' will not be emitted. /// </summary> /// <param name="e">The region format changed event argument</param> /// <since_tizen> 3 </since_tizen> protected virtual void OnRegionFormatChanged(RegionFormatChangedEventArgs e) { if (!GlobalizationMode.Invariant) { ChangeCurrentCultureInfo(e.Region); } RegionFormatChanged?.Invoke(this, e); }
/// <summary> /// Overrides this method if want to handle behavior when the region format is changed. /// If base.OnRegionFormatChanged() is not called, the event 'RegionFormatChanged' will not be emitted. /// </summary> /// <param name="e">The region format changed event argument</param> /// <since_tizen> 3 </since_tizen> protected virtual void OnRegionFormatChanged(RegionFormatChangedEventArgs e) { RegionFormatChanged?.Invoke(this, e); }
/// <summary> /// Overrides this method if want to handle behavior when the region format is changed. /// If base.OnRegionFormatChanged() is not called, the event 'RegionFormatChanged' will not be emitted. /// </summary> /// <param name="e">The region format changed event argument</param> /// <since_tizen> 3 </since_tizen> protected virtual void OnRegionFormatChanged(RegionFormatChangedEventArgs e) { ChangeCurrentCultureInfo(e.Region); RegionFormatChanged?.Invoke(this, e); }
internal void OnRegionFormatChangedCallback(string region) { RegionFormatChanged?.Invoke(this, new RegionFormatChangedEventArgs(region)); }