【发布时间】:2021-09-28 09:31:35
【问题描述】:
我有两个页面元素(在同一个视图中),一个依赖于另一个。仅当未选中该复选框时,我才需要启用我的条目。我可以在不创建其他属性的情况下执行此操作吗?
<Label Text="Simulate" />
<CheckBox IsChecked="{Binding Simulate}"/>
<Label Text="Route Path"/>
<Entry Text="{Binding RoutePath}" IsEnabled="{Binding Simulate}"/>
【问题讨论】:
标签: c# xaml xamarin.forms data-binding