Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我在使用 Xamarin.Plugin.Calendar 时遇到了一些问题。有什么方法可以禁用以前的和某些特定的日期?所以我可以让它不可点击。
您可以在该控件的DayTappedCommand中对其进行管理。
希望能帮助到你。
关于为 Xamarin.Plugin.Calendar 禁用一些以前的数据,有一个属性, MinimumDate属性,您可以设置数据。
<controls:Calendar HorizontalOptions="FillAndExpand" MinimumDate="3/17/2020" Month="3" VerticalOptions="FillAndExpand" Year="2020" />