C# wpf --- This is a "continuation" of c-sharpcorner.com/forums/how-do-change-the-background-color-on-one-listbox-item-continued-sharp3.
This code
results in
The property "Value" is missing.
The property 'Condition' does not exist in XML namespace.
Tuhin PaulPosted Mar 17, 2024, 6:48 PM
Conditioninstead ofValuewithin theTrigger. In XAML, triggers useValueto specify the condition for activation.Condition. It doesn't exist within the relevant XML namespaces for XAML triggers.Triggerelement, changeCondition="True"toValue="True". This accurately sets the condition for the trigger to activate when theIsSelectedproperty of theListBoxItemis true.Rohini ParadePosted Mar 17, 2024, 1:45 AM
Try this
Color="Transparent"/>
------------------------
ItemContainerStyle="{StaticResource myLBStyle}">
If you want to highlight selected item