maui-linux/Xamarin.Forms.Controls.Issues/Xamarin.Forms.Controls.Issu.../Issue1747.xaml

10 строки
443 B
XML

<?xml version="1.0" encoding="UTF-8"?>
<ContentPage xmlns="http://xamarin.com/schemas/2014/forms"
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
x:Class="Xamarin.Forms.Controls.Issue1747">
<StackLayout>
<Switch IsToggled="{Binding ShouldBeToggled, Mode=TwoWay}" IsEnabled="{Binding ShouldBeEnabled}"/>
<Button Text="Toggle Enabled" Clicked="Button_OnClick" />
</StackLayout>
</ContentPage>