Hello, I have this bottom bar:
Pretty much the markup is:
<Select Data="{view.bottomMenuItems.top}">
<BottomMenuItem />
</Select>
<Select Data="{view.bottomMenuItems.myPage}">
<BottomMenuItem />
</Select>
...
BottomMenuItem markup relevant code is:
<StackPanel>
<Icon .../>
<Text .../>
</StackPanel>
<StateGroup ux:Name="stateGroup">
<State ux:Name="defaultState">
<Change self.Color="#6D8092" />
<Change self.TxtColor="#ffffff" />
</State>
<State ux:Name="enabledState">
<Change self.Color="#2c3e50" />
<Change self.TxtColor="#f1c40f" />
</State>
</StateGroup>
<Tapped>
<Set stateGroup.Active="enabledState" />
</Tapped>
</Rectangle>
This works, when button is clicked, status changes to enable:
But, how can I synchronize the status of the other buttons? I mean, if I click another one, the others should go back to “disabledState”. I tried different things, but none works…