Share via


DomainDataSourceView.ICollectionView.Culture Property

[WCF RIA Services Version 1 Service Pack 2 is compatible with either .NET framework 4 or .NET Framework 4.5, and with either Silverlight 4 or Silverlight 5.]

Gets or sets the cultural information for any operations of the view that may differ by culture, such as sorting.

Namespace:  System.Windows.Controls
Assembly:  System.Windows.Controls.DomainServices (in System.Windows.Controls.DomainServices.dll)

Syntax

'Declaration
Private Property Culture As CultureInfo
    Implements ICollectionView.Culture
    Get
    Set
'Usage
Dim instance As DomainDataSourceView
Dim value As CultureInfo

value = CType(instance, ICollectionView).Culture

CType(instance, ICollectionView).Culture = value
CultureInfo ICollectionView.Culture { get; set; }
private:
virtual property CultureInfo^ Culture {
    CultureInfo^ get () sealed = ICollectionView::Culture::get;
    void set (CultureInfo^ value) sealed = ICollectionView::Culture::set;
}
private abstract Culture : CultureInfo with get, set
private override Culture : CultureInfo with get, set
JScript supports the use of explicit interface implementations, but not the declarations of new ones.

Property Value

Type: System.Globalization.CultureInfo
The culture information to use during culture-sensitive operations.

Implements

ICollectionView.Culture

Remarks

This member is an explicit interface member implementation. It can be used only when the DomainDataSourceView instance is cast to an ICollectionView interface

See Also

Reference

DomainDataSourceView Class

System.Windows.Controls Namespace