Ask Your Question
3

What is the method for removing the today button in SfCalendar?

asked 2023-05-25 11:13:25 +0000

david gravatar image

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2023-05-25 11:42:01 +0000

plato gravatar image

To remove the today button in SfCalendar, you need to set the showTodayButton property to false. This can be done in the constructor of SfCalendar or in XAML as shown below:

C#:

SfCalendar calendar = new SfCalendar();
calendar.ShowTodayButton = false;

XAML:

<calendar:SfCalendar ShowTodayButton="False"/>

This will hide the today button in the SfCalendar control.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss

Add Answer


Question Tools

Stats

Asked: 2023-05-25 11:13:25 +0000

Seen: 9 times

Last updated: May 25 '23