XamForms.Controls.Calendar | Custom calendar control for Xamarin.Forms | Form library
kandi X-RAY | XamForms.Controls.Calendar Summary
kandi X-RAY | XamForms.Controls.Calendar Summary
Custom calendar control for Xamarin.Forms. Customizable border thickness, color, background colors and formats. Version 1.0.8 or lower Built against: 2.1.0.6521 Version 1.1.0 or above Built against: 2.3.4.231
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of XamForms.Controls.Calendar
XamForms.Controls.Calendar Key Features
XamForms.Controls.Calendar Examples and Code Snippets
Community Discussions
Trending Discussions on XamForms.Controls.Calendar
QUESTION
I have made a Xamarin app that allows me to choose a date in a DatePicker
and and save it to a Database using SQLite. I then get those dates and show them in a ListView
, and I was wondering if its possible to highlight the days that are in the database onto the Calendar?
This is what is used to save the data
...ANSWER
Answered 2021-Jun-01 at 06:13As Jason's reply, you can get list data from Sqlite database, then create ObservableCollection attendances
to add current Date data.
ObservableCollection Class represents a dynamic data collection that provides notifications when items get added, removed, or when the whole list is refreshed.
I do one simple that you can take a look:
QUESTION
I would like to add school lessons, exams, etc to specific dates dynamically to my calendar (for example: right click the date to add the lesson/exam or select the date and having an add event button). Tried many ways for days but nothing were successful. These are my C# codes:
...ANSWER
Answered 2021-Apr-05 at 07:12You could use DateClicked
event to simulate the add event. And then display a prompt to get the event to want to input. After that add the event into special datas. The last thing is to refresh.
Xaml:
QUESTION
I am using XamForms.Controls.Calendar
for marking events. The special dates are marked in yellow color. If a date has more than 1 event, first I list all the events using a DisplayActionSheet
. After that user can select an event from the DisplayActionSheet
. Then the event detail page will show to the user. If the date has only one event it will directly load the event detail page when tapping on it.
My problem happening when the events titles have duplicate entries. So it will open all the event detail pages when selecting one item.
I have uploaded a sample project here for the reference. The special dates are marked in yellow color. If we click on Sep 18 or 25 it will open the event detail page. There are multiple events added for June 27. When clicking on the June 27 date, it will show the list of events using DisplayActionSheet
. The first 3 events have the same title, if we click on any one from the first 3, it will open the 3 details page.
Code for opening Detail Page:
...ANSWER
Answered 2020-Sep-25 at 12:05Since the title
of events is not the only .You could add a string (number index) to tag each options
QUESTION
So when testing my app on an android emulator i had no problems, but when i tested my app on iOS, i get the starting blue screen of Xamarin then the app closes and i am taken to all the apps page on the emulator ( but it acts like it's still running since you still see the red square on visual studio that shows when the app is running).
So i don't get any error message, so i am not sure how i can find the problem since i'm new in mobile dev.
Any idea ? Thanks a lot !
App.xaml
...ANSWER
Answered 2020-Aug-28 at 02:28I have checked the repo in local site, find that the problem is CalendarPage.And after check that, the problem comes from ViewModel.
The BindingContext
of CalendarPage is:
QUESTION
Right now i have a calendar
which is : https://github.com/lubiepomaranczki/XamForms.Controls.Calendar, if i click on the day and there's data for this day, it lists the data for this day like that :
[
My problem is that i don't know how to go from ViewModel to code behind to tell him to switch the IsVisible value to true. I never faced this problem, usually we just send data from the UI to ViewModel.
Thanks for help.
If i click a date with no value
, i want to make this stacklayout which is from CalendarPage.xaml visible
:
ANSWER
Answered 2020-Jul-21 at 16:36i don't know how to go from ViewModel to code behind to tell him to switch the IsVisible value to true.
You don't need to do this. If you want to control the value of a UI property from the ViewModel, use data binding to do it. You don't need to do anything in the code-behind
QUESTION
I am using https://github.com/lubiepomaranczki/XamForms.Controls.Calendar currently on my app, I have an agenda view and a calendar view, when I click a date on the calendar I want to be able to display the agenda view of this day under the calendar.
Do you think it will be possible to do this with xamforms.controls.calendar? If yes how? I looked up the documentation and there's not much information.
Thanks.
...ANSWER
Answered 2020-Jun-17 at 14:39if you look at the demo project as suggested in the docs, there is a
QUESTION
i am using this calendar plugin for my xamarin forms app :
https://github.com/lubiepomaranczki/XamForms.Controls.Calendar
Is there any way i can change the language of this calendar ? ( I want to put it in french )
Thanks.
...ANSWER
Answered 2020-Jun-17 at 07:14QUESTION
I am using XamForms.Controls.Calendar
for showing events on the calendar. I have give color for special dates on the calendar using the following code:
ANSWER
Answered 2020-May-06 at 10:46The error caused by that the newEventsList
do not get the correct index.
Change the code in calendar_DateClicked
event from:
QUESTION
I am using XamForms.Controls.Calendar
package for showing calendar in my project. I am marking events on the calendar using the below code.
ANSWER
Answered 2020-May-04 at 20:12You could get the index of SpecialDate in your list in the event DateClicked
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install XamForms.Controls.Calendar
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page