| Visual Basic (Declaration) | |
|---|---|
Public Property Filter As Func(Of DependencyProperty,PropertyInfo,Boolean) | |
| Visual Basic (Usage) | Copy Code |
|---|---|
Dim instance As ValueConverterConvention Dim value As Func(Of DependencyProperty,PropertyInfo,Boolean) instance.Filter = value value = instance.Filter | |
| C# | |
|---|---|
public Func<DependencyProperty,PropertyInfo,bool> Filter {get; set;} | |
| C++/CLI | |
|---|---|
public: property Func<DependencyProperty^,PropertyInfo^,bool>^ Filter { Func<DependencyProperty^,PropertyInfo^,bool>^ get(); void set ( Func<DependencyProperty^,PropertyInfo^,bool>^ value); } | |
Binding appropriateness determined by the binding property and the data property. See PathToImageSourceConverter for an example.
Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family