Skip to content

Commit f6e6931

Browse files
XAMARINANDROID-3933-Syntax Error resolved
1 parent eba70b3 commit f6e6931

File tree

1 file changed

+24
-16
lines changed

1 file changed

+24
-16
lines changed

xamarin-android/SfCalendar/Populating-Events.md

Lines changed: 24 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -128,19 +128,23 @@ By using the [InlineAppointmentTextSize](https://help.syncfusion.com/cr/xamarin-
128128
The following code explains how to customize the InlineAppointmentTextSize in Calendar InlineView.
129129

130130
{% highlight c# %}
131-
SfCalendar sfCalendar = new SfCalendar(this);
132-
sfCalendar.MonthViewSettings.InlineAppointmentTextSize = 20;
133-
sfCalendar.ShowEventsInline = true;
134-
sfCalendar.InlineViewMode = InlineViewMode.Inline;
131+
132+
SfCalendar sfCalendar = new SfCalendar(this);
133+
sfCalendar.MonthViewSettings.InlineAppointmentTextSize = 20;
134+
sfCalendar.ShowEventsInline = true;
135+
sfCalendar.InlineViewMode = InlineViewMode.Inline;
136+
135137
{% endhighlight %}
136138

137139
The following code explains how to customize the InlineAppointmentTextSize in Calendar AgendaView.
138140

139141
{% highlight c# %}
140-
SfCalendar sfCalendar = new SfCalendar(this);
141-
sfCalendar.MonthViewSettings.InlineAppointmentTextSize = 20;
142-
sfCalendar.InlineViewMode = InlineViewMode.Agenda;
143-
sfCalendar.ShowEventsInline = true;
142+
143+
SfCalendar sfCalendar = new SfCalendar(this);
144+
sfCalendar.MonthViewSettings.InlineAppointmentTextSize = 20;
145+
sfCalendar.InlineViewMode = InlineViewMode.Agenda;
146+
sfCalendar.ShowEventsInline = true;
147+
144148
{% endhighlight %}
145149

146150
### InlineAppointmentTimeTextSize
@@ -150,20 +154,24 @@ By using the [InlineAppointmentTimeTextSize](https://help.syncfusion.com/cr/xama
150154
The following code explains how to customize the InlineAppointmentTimeTextSize in Calendar InlineView.
151155

152156
{% highlight c# %}
153-
SfCalendar sfCalendar = new SfCalendar(this);
154-
sfCalendar.MonthViewSettings.InlineAppointmentTimeTextSize = 20;
155-
sfCalendar.ShowEventsInline = true;
156-
sfCalendar.InlineViewMode = InlineViewMode.Inline;
157+
158+
SfCalendar sfCalendar = new SfCalendar(this);
159+
sfCalendar.MonthViewSettings.InlineAppointmentTimeTextSize = 20;
160+
sfCalendar.ShowEventsInline = true;
161+
sfCalendar.InlineViewMode = InlineViewMode.Inline;
162+
157163
{% endhighlight %}
158164

159165

160166
The following code explains how to customize the InlineAppointmentTimeTextSize in Calendar AgendaView.
161167

162168
{% highlight c# %}
163-
SfCalendar sfCalendar = new SfCalendar(this);
164-
sfCalendar.MonthViewSettings.InlineAppointmentTimeTextSize = 20;
165-
sfCalendar.InlineViewMode = InlineViewMode.Agenda;
166-
sfCalendar.ShowEventsInline = true;
169+
170+
SfCalendar sfCalendar = new SfCalendar(this);
171+
sfCalendar.MonthViewSettings.InlineAppointmentTimeTextSize = 20;
172+
sfCalendar.InlineViewMode = InlineViewMode.Agenda;
173+
sfCalendar.ShowEventsInline = true;
174+
167175
{% endhighlight %}
168176

169177
## Getting inline/agenda view appointment details

0 commit comments

Comments
 (0)