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 値。

適用対象