GroupDescriptor.PropertyPath プロパティ
グループ化に使用するパブリック プロパティを取得または設定します。
名前空間: System.Windows.Controls
アセンブリ: System.Windows.Controls.DomainServices (system.windows.controls.domainservices.dll 内)
使用方法
'使用
Dim instance As GroupDescriptor
Dim value As String
value = instance.PropertyPath
instance.PropertyPath = value
構文
'宣言
Public Property PropertyPath As String
public string PropertyPath { get; set; }
public:
property String^ PropertyPath {
String^ get ();
void set (String^ value);
}
/** @property */
public String get_PropertyPath ()
/** @property */
public void set_PropertyPath (String value)
public function get PropertyPath () : String
public function set PropertyPath (value : String)
プロパティ値
グループ化に使用するパブリック プロパティ。
例
次の例は、グループ化に使用される値を追加する方法を示したものです。
<Grid x:Name="LayoutRoot" Background="White">
<riaControls:DomainDataSource Name="source" QueryName="GetProducts" AutoLoad="true">
<riaControls:DomainDataSource.DomainContext>
<domain:ProductDomainContext />
</riaControls:DomainDataSource.DomainContext>
<riaControls:DomainDataSource.GroupDescriptors>
<riaControls:GroupDescriptor PropertyPath="Size" />
</riaControls:DomainDataSource.GroupDescriptors>
</riaControls:DomainDataSource>
<data:DataGrid ItemsSource="{Binding Data, ElementName=source}" />
</Grid>
スレッド セーフ
この型の public static (Visual Basic では Shared) メンバーは、スレッド セーフです。インスタンス メンバーの場合は、スレッド セーフであるとは限りません。
プラットフォーム
開発プラットフォーム
Windows XP Home Edition, Windows XP Professional, Windows Server 2003 、Windows Server 2008、および Windows 2000
ターゲット プラットフォーム
Change History
参照
リファレンス
GroupDescriptor クラス
GroupDescriptor のメンバー
System.Windows.Controls 名前空間