Intersoft.Client.UI.Data Namespace > UXDataFilter Class : ValueMemberPath Property |
<CategoryAttribute("Common Properties")> Public Property ValueMemberPath As String
Dim instance As UXDataFilter Dim value As String instance.ValueMemberPath = value value = instance.ValueMemberPath
[CategoryAttribute("Common Properties")] public string ValueMemberPath {get; set;}
[CategoryAttribute("Common Properties")] public: property String^ ValueMemberPath { String^ get(); void set ( String^ value); }
The following code shows how to populate UXDataFilter using ItemsSource and set the ValueMemberPath property to CategoryID.
XAML |
Copy Code
|
---|---|
<Intersoft:UXDataFilter FilterDescriptors="{Binding QueryDescriptor.FilterDescriptors, Mode=TwoWay}" ItemsSource="{Binding Categories}" QueryOperation="Server" IsBatchFilter="True" Header="By Category:" DisplayMemberPath="CategoryName" ValueMemberPath="CategoryID" Margin="8,0"> </Intersoft:UXDataFilter> |
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2