PropertyGroupDescription 생성자

정의

PropertyGroupDescription 클래스의 새 인스턴스를 초기화합니다.

오버로드

PropertyGroupDescription()

PropertyGroupDescription 클래스의 새 인스턴스를 초기화합니다.

PropertyGroupDescription(String)

지정된 속성 이름을 사용하여 PropertyGroupDescription 클래스의 새 인스턴스를 초기화합니다.

PropertyGroupDescription(String, IValueConverter)

지정된 속성 이름 및 변환기를 사용하여 PropertyGroupDescription 클래스의 새 인스턴스를 초기화합니다.

PropertyGroupDescription(String, IValueConverter, StringComparison)

지정된 매개 변수를 사용하여 PropertyGroupDescription 클래스의 새 인스턴스를 초기화합니다.

PropertyGroupDescription()

PropertyGroupDescription 클래스의 새 인스턴스를 초기화합니다.

public:
 PropertyGroupDescription();
public PropertyGroupDescription ();
Public Sub New ()

예제

다음 예제에서는 이 생성자를 사용하는 방법을 보여 줍니다.

// This groups the items in the view by the property "Category"
PropertyGroupDescription groupDescription = new PropertyGroupDescription();
groupDescription.PropertyName = "Category";
listingDataView.GroupDescriptions.Add(groupDescription);
'This groups by property "Category"
Dim groupDescription As PropertyGroupDescription = New PropertyGroupDescription
groupDescription.PropertyName = "Category"
listingDataView.GroupDescriptions.Add(groupDescription)

전체 예제는 데이터 바인딩 데모를 참조하세요.

적용 대상

PropertyGroupDescription(String)

지정된 속성 이름을 사용하여 PropertyGroupDescription 클래스의 새 인스턴스를 초기화합니다.

public:
 PropertyGroupDescription(System::String ^ propertyName);
public PropertyGroupDescription (string propertyName);
new System.Windows.Data.PropertyGroupDescription : string -> System.Windows.Data.PropertyGroupDescription
Public Sub New (propertyName As String)

매개 변수

propertyName
String

항목이 속한 그룹을 지정하는 속성의 이름입니다.

적용 대상

PropertyGroupDescription(String, IValueConverter)

지정된 속성 이름 및 변환기를 사용하여 PropertyGroupDescription 클래스의 새 인스턴스를 초기화합니다.

public:
 PropertyGroupDescription(System::String ^ propertyName, System::Windows::Data::IValueConverter ^ converter);
public PropertyGroupDescription (string propertyName, System.Windows.Data.IValueConverter converter);
new System.Windows.Data.PropertyGroupDescription : string * System.Windows.Data.IValueConverter -> System.Windows.Data.PropertyGroupDescription
Public Sub New (propertyName As String, converter As IValueConverter)

매개 변수

propertyName
String

항목이 속한 그룹을 지정하는 속성의 이름입니다. null인 경우 항목 자체가 값 변환기에 전달됩니다.

converter
IValueConverter

속성 값에 적용할 IValueConverter 개체 또는 항목이 속한 그룹을 결정하는 데 사용되는 최종 값을 생성할 항목입니다. 변환기에서 컬렉션을 반환할 수 있으며 이는 항목이 여러 그룹에 나타날 수 있음을 의미합니다.

적용 대상

PropertyGroupDescription(String, IValueConverter, StringComparison)

지정된 매개 변수를 사용하여 PropertyGroupDescription 클래스의 새 인스턴스를 초기화합니다.

public:
 PropertyGroupDescription(System::String ^ propertyName, System::Windows::Data::IValueConverter ^ converter, StringComparison stringComparison);
public PropertyGroupDescription (string propertyName, System.Windows.Data.IValueConverter converter, StringComparison stringComparison);
new System.Windows.Data.PropertyGroupDescription : string * System.Windows.Data.IValueConverter * StringComparison -> System.Windows.Data.PropertyGroupDescription
Public Sub New (propertyName As String, converter As IValueConverter, stringComparison As StringComparison)

매개 변수

propertyName
String

항목이 속한 그룹을 지정하는 속성의 이름입니다. null인 경우 항목 자체가 값 변환기에 전달됩니다.

converter
IValueConverter

속성 값에 적용할 IValueConverter 개체 또는 항목이 속한 그룹을 결정하는 데 사용되는 최종 값을 생성할 항목입니다. 변환기에서 컬렉션을 반환할 수 있으며 이는 항목이 여러 그룹에 나타날 수 있음을 의미합니다.

stringComparison
StringComparison

항목 값과 그룹 이름 간의 비교를 지정하는 StringComparison 값입니다.

적용 대상