Wednesday, July 6, 2011

CurrentUICulture Property

Gets or sets the current culture used by the Resource Manager to look up culture-specific resources at run time.

// Set the user interface to display in the
// same culture as that set in Control Panel.
Thread.CurrentThread.CurrentUICulture = Thread.CurrentThread.CurrentCulture;


CurrentCulture Property:

Gets or sets the culture for the current thread.

' Set the user interface to display in the
' same culture as that set in Control Panel.

No comments:

Post a Comment

Open default email app in .NET MAUI

Sample Code:  if (Email.Default.IsComposeSupported) {     string subject = "Hello!";     string body = "Excellent!";    ...