Cocktail Help Reference
Filter Property
See Also  Send Feedback
Cocktail Assembly > Cocktail Namespace > ValueConverterConvention Class : Filter Property



Glossary Item Box

Filter function returns true if the binding is appropriate for this Converter.

Syntax

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;}

Remarks

Binding appropriateness determined by the binding property and the data property. See PathToImageSourceConverter for an example.

Requirements

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

See Also

© 2013 All Rights Reserved.