Hi Jean,
Thanks for using Syncfusion product.
We working to reproduce this in sample level. Could you please provide more information about the scenario in which did you get this issue.so that we can analyze furthermore and provide you the possible solution?
Regards
Vigneshkumar R
<DataTemplate x:Name="AppointmentTemplate">
<Grid Margin="-4,-4,-4,-4">
<Grid.RowDefinitions>
<RowDefinition Height="*" />
</Grid.RowDefinitions>
<Grid Grid.Row="0" Visibility="{Binding Type, ConverterParameter=Schedule, Converter={StaticResource AppointmentTypeToVisibilityConverter}}">
<Border Background="{Binding EmployeeColorCode, Converter={StaticResource ColorConverter}}" />
</Grid>
<Grid Grid.Row="0" Visibility="{Binding Type, ConverterParameter=Appointment, Converter={StaticResource AppointmentTypeToVisibilityConverter}}">
<Grid.RowDefinitions>
<RowDefinition Height="10" />
<RowDefinition Height="*" />
</Grid.RowDefinitions>
<Border Grid.Row="0" Background="{Binding EmployeeColorCode, Converter={StaticResource ColorConverter}}" />
<ScrollViewer Grid.Row="1" HorizontalScrollBarVisibility="Hidden" VerticalScrollBarVisibility="Auto" >
<Grid Background="{Binding BackgroundColorCode, Converter={StaticResource ColorConverter}}">
<Grid.RowDefinitions>
<RowDefinition Height="auto" />
<RowDefinition Height="auto" />
<RowDefinition Height="auto" />
<RowDefinition Height="auto" />
<RowDefinition Height="auto" />
<RowDefinition Height="auto" />
<RowDefinition Height="*" />
</Grid.RowDefinitions>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="10" />
<ColumnDefinition Width="*" />
<ColumnDefinition Width="30" />
</Grid.ColumnDefinitions>
<Border Grid.Row="1" Grid.RowSpan="6" Grid.Column="0" Background="{Binding TaskColorCode, Converter={StaticResource ColorConverter}}" />
<TextBlock Margin="2,2,0,0" Text="" FontFamily="Segoe UI Symbol" FontSize="20" Grid.Row="1" Grid.Column="1" Foreground="White" />
<TextBlock Margin="0,2,20,0" Text="{Binding SaleQuoteItemSequence}" Grid.Row="1" Grid.Column="2" HorizontalAlignment="Right" Foreground="White" Style="{StaticResource AppointementHeaderStyle}" />
<TextBlock Margin="2,2,0,0" Text="{Binding CustomerName}" Grid.Row="2" Grid.Column="1" Foreground="White" Style="{StaticResource AppointementHeaderStyle}" />
<TextBlock Margin="2,2,0,0" Text="{Binding CustomerPhoneNumber}" Grid.Row="3" Grid.Column="1" Foreground="White" Style="{StaticResource AppointementHeaderStyle}" />
<TextBlock Margin="2,2,0,0" Text="{Binding CustomerAdress}" Grid.Row="4" Grid.Column="1" Foreground="White" Style="{StaticResource AppointementHeaderStyle}" />
<TextBlock Margin="2,2,0,0" Text="{Binding VehicleDescription}" Grid.Row="5" Grid.Column="1" Foreground="White" Style="{StaticResource AppointementHeaderStyle}" />
<StackPanel Grid.Row="6" Grid.Column="1" Margin="2,2,0,0" Orientation="Horizontal">
<TextBlock Margin="0,0,5,0" Text="{Binding SaleQuoteItemServiceID}" Foreground="White" Style="{StaticResource AppointementHeaderStyle}" />
<TextBlock Text="{Binding SaleQuoteItemServiceTitle}" Foreground="White" Style="{StaticResource AppointementHeaderStyle}" Width="180" TextWrapping="Wrap"/>
</StackPanel>
</Grid>
</ScrollViewer>
</Grid>
</Grid>
</DataTemplate>
Hi Jean,
Thanks for the provided information.
We have analyzed the UI utilization issue with the shared information and based on the analysis we have found that there are more convertors used in appointment template. By adding more weight to the template in xaml(here appointment template), UI loading time will affect and thereby it will takes more UI utilization. Instead of using convertors you can directly bind corresponding datatype values to the property, this may increase the UI loading performance.
Please let us know if you have any concern.
Regards
Vigneshkumar R
Hi Jean,
As of now by calling Dispose method in the schedule control when exiting the schedule page, we can improve the CPU consumption. If the problem still exist at your end, please revert us back with more information by creating simple sample. So that we could analyze furthermore and provide you the possible solution.
Regards
Vigneshkumar R
Hi Jean,
Thanks for the update. Please let us know if you require further assistance on this.
Regards
Vigneshkumar R