-
Notifications
You must be signed in to change notification settings - Fork 1.7k
/
Issue6693.xaml
27 lines (24 loc) · 1.11 KB
/
Issue6693.xaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
<?xml version="1.0" encoding="utf-8" ?>
<ContentPage xmlns="http://xamarin.com/schemas/2014/forms"
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
xmlns:d="http://xamarin.com/schemas/2014/forms/design"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:local="clr-namespace:Xamarin.Forms.Controls.Issues"
mc:Ignorable="d"
x:Class="Xamarin.Forms.Controls.Issues.Issue6693">
<Grid HorizontalOptions="Center" VerticalOptions="Center">
<Grid.ColumnDefinitions>
<ColumnDefinition/>
<ColumnDefinition/>
</Grid.ColumnDefinitions>
<StackLayout Grid.Column="0">
<Label Text="IsEnabled"/>
<Switch x:Name="isEnabledSwitch"/>
</StackLayout>
<StackLayout Grid.Column="1">
<local:Issue6693Control IsEnabled="{Binding IsToggled, Source={x:Reference isEnabledSwitch}}"
HeightRequest="100"
WidthRequest="200"/>
</StackLayout>
</Grid>
</ContentPage>