Ejemplo n.º 1
0
        /// <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);
        }
Ejemplo n.º 2
0
 /// <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);
 }
Ejemplo n.º 3
0
 /// <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);
 }
Ejemplo n.º 4
0
 /// <summary>
 /// This method is to handle behavior when the region format is changed.
 /// </summary>
 /// <param name="e">The region format changed event argument</param>
 /// <since_tizen> 10 </since_tizen>
 public virtual void OnRegionFormatChanged(RegionFormatChangedEventArgs e)
 {
 }