Xceed.Silverlight.ListBox.v2.0 Assembly > Xceed.Silverlight.ListBox Namespace > ListBox Class : FilterExpression Property |
Public Property FilterExpression As FilterExpressionBase
Dim instance As ListBox Dim value As FilterExpressionBase instance.FilterExpression = value value = instance.FilterExpression
public FilterExpressionBase FilterExpression {get; set;}
<sllb:ListBox.FilterExpression> <!-- Predefine a FilterExpression representing: (OrderID >= 10251) && (ShipCountry == 'USA') --> <sllb:AndFilterExpression> <sllb:FilterExpression MemberName="OrderID" FilterOperator="GreaterThanOrEqual"> <sllb:FilterExpression.Value> <s:Int32>10251</s:Int32> </sllb:FilterExpression.Value> </sllb:FilterExpression> <sllb:FilterExpression MemberName="ShipCountry" FilterOperator="Equal"> <sllb:FilterExpression.Value> <s:String>USA</s:String> </sllb:FilterExpression.Value> </sllb:FilterExpression> </sllb:AndFilterExpression> </sllb:ListBox.FilterExpression>
sldgListBoxControl.FilterExpression = New FilterExpression( "ShipCity", FilterOperator.LessThan, "N" )
sldgListBoxControl.FilterExpression = new FilterExpression( "ShipCity", FilterOperator.LessThan, "N" );
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