-
-
Notifications
You must be signed in to change notification settings - Fork 11
Open
Labels
enhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomershelp wantedExtra attention is neededExtra attention is needed
Description
Working fine on Android and iOS,
Clicking doesnt change BackgroundColor nor firing events
Am trying the basic from README
<stateButton:StateButton Padding="20,10" Pressed="StateButton_Clicked_1" Clicked="StateButton_Clicked_1" BackgroundColor="Red">
<stateButton:StateButton.StrokeShape>
<RoundRectangle CornerRadius="10" />
</stateButton:StateButton.StrokeShape>
<stateButton:StateButton.Triggers>
<Trigger TargetType="stateButton:StateButton" Property="State" Value="Pressed">
<Setter Property="BackgroundColor" Value="Green" />
</Trigger>
</stateButton:StateButton.Triggers>
<Label Text="Test" TextColor="White">
<Label.Triggers>
<DataTrigger Binding="{Binding Source={RelativeSource AncestorType={x:Type stateButton:StateButton}}, Path=State}"
TargetType="Label"
Value="Pressed">
<Setter Property="TextColor" Value="Blue" />
</DataTrigger>
</Label.Triggers>
</Label>
</stateButton:StateButton>
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomershelp wantedExtra attention is neededExtra attention is needed