-
Notifications
You must be signed in to change notification settings - Fork 37
Open
Description
Hello All:
I have a user request to make the expanded view text a different color than TintColor Property. Here is my xaml code:
I want the text to be black.
SegmentedControlOption has no TextColor on it.
<exp:ExpandableView.SecondaryViewTemplate>
<DataTemplate>
<StackLayout VerticalOptions="StartAndExpand" >
<segmented:SegmentedControl HeightRequest="54" FontSize="Micro" Margin="5,15,5,15"
TintColor="{x:Static const:Colors.ClientFacingColor}"
SelectedSegment="{Binding Answer, Mode=TwoWay}"
SegmentSelectedCommand="{Binding Path=BindingContext.SelectAnswerCommand, 

Source={x:Reference mainStack}}"
SegmentSelectedCommandParameter="{Binding}">
<segmented:SegmentedControl.Children>
<segmented:SegmentedControlOption Text="{x:Static localRes:AppResources.Disagree}" />
<segmented:SegmentedControlOption Text="{x:Static localRes:AppResources.Uncertain}" />
<segmented:SegmentedControlOption Text="{x:Static localRes:AppResources.Agree}" />
<segmented:SegmentedControlOption Text="{x:Static localRes:AppResources.StronglyAgree}" />
</segmented:SegmentedControl.Children>
</segmented:SegmentedControl>
</StackLayout>
</DataTemplate>
</exp:ExpandableView.SecondaryViewTemplate>
here is the visual this draws:
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels
