DotNet 4.8.1 build of DotNetBar

This commit is contained in:
2025-02-07 10:35:23 -05:00
parent 33439b63a0
commit 6b0a5d60f4
2609 changed files with 989814 additions and 7 deletions

View File

@@ -0,0 +1,41 @@
#if FRAMEWORK20
using System.Globalization;
namespace DevComponents.DotNetBar.Schedule
{
public static class ScheduleSettings
{
public static double TimeSlotSliceHeight = 23d;
public static string TimeRulerHourFormatString = "00";
public static string TimeRulerMinuteFormatString = "00";
private static CultureInfo _currentCulture;
/// <summary>
/// Gets or sets the CultureInfo for the culture used by the DateTime and Numeric Input controls.
/// Default value is null which indicates that controls will use CurrentUICulture.
/// </summary>
public static CultureInfo CurrentCulture
{
get
{
return _currentCulture;
}
set
{
_currentCulture = value;
}
}
/// <summary>
/// Gets the Culture used by the date time input and month calendar controls
/// </summary>
/// <returns>reference to CultureInfo</returns>
public static CultureInfo GetActiveCulture()
{
return (_currentCulture ?? CultureInfo.CurrentCulture);
}
}
}
#endif