Avalonia Data Trigger

Does anyone know if you can do data triggers in avalonia

what i want to do is change the background color of a button if it is selected or not

or could i do this with a checkbox but i want to change the check box to a star or some type of shape ... the shape would start out not filled and if it is selected then it would be filled ... can you change the shape of a check box?
Was this page helpful?