当你 select 和 XamForms.Controls.Calendar 约会时,你能做点什么(一个事件)吗?
Can you do something ( an event) when you select a date with XamForms.Controls.Calendar?
我目前在我的应用程序上使用 https://github.com/lubiepomaranczki/XamForms.Controls.Calendar,我有一个议程视图和一个日历视图,当我点击日历上的一个日期时,我希望能够在下方显示这一天的议程视图日历。
您认为 xamforms.controls.calendar 可以做到这一点吗?如果是如何?我查了一下文档,资料不多
谢谢。
如果您按照文档中的建议查看 demo project,则有一个
<controls:Calendar
Grid.Row="1"
Padding="10,0,10,0"
SelectedBorderWidth="4"
DisabledBorderColor="Black"
ShowNumberOfWeek="false"
StartDay="Monday"
TitleLabelTextColor="Purple"
TitleLeftArrowTextColor="Blue"
SelectedDate="{Binding Date}"
SpecialDates="{Binding Attendances}"
DateCommand="{Binding DateChosen}">
</controls:Calendar>
DateCommand
似乎在选择日期时触发,以及 DateClicked
事件
我目前在我的应用程序上使用 https://github.com/lubiepomaranczki/XamForms.Controls.Calendar,我有一个议程视图和一个日历视图,当我点击日历上的一个日期时,我希望能够在下方显示这一天的议程视图日历。
您认为 xamforms.controls.calendar 可以做到这一点吗?如果是如何?我查了一下文档,资料不多
谢谢。
如果您按照文档中的建议查看 demo project,则有一个
<controls:Calendar
Grid.Row="1"
Padding="10,0,10,0"
SelectedBorderWidth="4"
DisabledBorderColor="Black"
ShowNumberOfWeek="false"
StartDay="Monday"
TitleLabelTextColor="Purple"
TitleLeftArrowTextColor="Blue"
SelectedDate="{Binding Date}"
SpecialDates="{Binding Attendances}"
DateCommand="{Binding DateChosen}">
</controls:Calendar>
DateCommand
似乎在选择日期时触发,以及 DateClicked
事件