So I have a button that is revealed when a user swipes a cell. I then want to change the Cell BackgroundColor when the revealed button is tapped. I am having a tough time since the Button has no correlation to the cell the user swiped. I tried to implement a style trigger as I feel this would be the way to do it but I am not sure how to implement that with the RadListView. This is what I tried:
<ContentView.Resources> <ResourceDictionary> <Style TargetType="dataControls:RadListView" x:Key="CellStyle"> <Style.Triggers> <DataTrigger Binding="{Binding ButtonText}" Value="Start"> <Setter Property="BackgroundColor" Value="White" /> </DataTrigger> <DataTrigger Binding="{Binding ButtonText}" Value="Complete"> <Setter Property="BackgroundColor" Value="Gray" /> </DataTrigger> </Style.Triggers> </Style> </ResourceDictionary> </ContentView.Resources>