CollectionViewSource::Culture Property

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Gets or sets the culture that is used for operations such as sorting and comparisons.

Namespace:   System.Windows.Data
Assembly:  PresentationFramework (in PresentationFramework.dll)

public:
[TypeConverterAttribute((CultureInfoIetfLanguageTagConverter^::typeid))]
property CultureInfo^ Culture {
	CultureInfo^ get();
	void set(CultureInfo^ value);
}

Property Value

Type: System.Globalization::CultureInfo^

The culture that is used for operations such as sorting and comparisons.

This property is forwarded to any collection view created from this Source collection.

<object Culture="ietfLanguageTag"/>

ietfLanguageTag

A string used to set the CultureInfo. This string is used to internally call. GetCultureInfoByIetfLanguageTag. For details on the string format, see CultureInfo::GetCultureInfoByIetfLanguageTag.

.NET Framework
Available since 3.0
Silverlight
Available since 3.0
Windows Phone Silverlight
Available since 7.0
Return to top
Show: