Hi,telerik:
I want to show some images in the listbox with VirtualizingWrapPanel and some will not. It depends on the property(IsDefault) that i have defined.
here is the code:
<
P
><
ListBox.ItemContainerStyle
><
BR
>
<
Style
TargetType="{x:Type
ListBoxItem}"><
BR
>
<
Style.Triggers
><
BR
>
<
DataTrigger
Binding
=
"{Binding IsDefault}"
Value
=
"true"
><
BR
>
<
Setter
Property
=
"Visibility"
Value
=
"Collapsed"
/><
BR
>
</
DataTrigger
></
P
>
<
P
> </
P
>
<
P
>
</
Style.Triggers
><
BR
>
</
Style
><
BR
>
</
ListBox.ItemContainerStyle
><
BR
></
P
>
but even through the value of the "IsDefault" is set to "true",the listboxitem still display in the listbox ,and the item is blank.
How do I do before they can get the effect I want?
Thanks and Regards,
Bill.