Answers for "Xamarin forms XAML change value"

C#
0

Xamarin forms XAML change value

<Label Text="Hello World!">
            <Label.Triggers>
                    <DataTrigger TargetType="Label" Binding="{Binding IsActive}" Value="false">
                        <Setter Property="Text"  Value="Not Active" />
                    </DataTrigger>
                    <DataTrigger TargetType="Label" Binding="{Binding IsActive}" Value="true">
                        <Setter Property="Text"  Value="Active" />
                    </DataTrigger>
                </Label.Triggers>

</Label>
Posted by: Guest on June-17-2021

Code answers related to "Xamarin forms XAML change value"

C# Answers by Framework

Browse Popular Code Answers by Language