Telerik Forums
UI for .NET MAUI Forum
0 answers
154 views

Issue is only present on iOS.  Android and windows work as expected.

When using a ScatterLineSeries with a ItemSource set to an ObservableCollection the Chart control has a tendency to hang and lock the application when the ObservableCollection data slides (items are removed at position 0, and items are added to the end)

    When the issue occurs iOS Device log has entries such as:

    "default 09:31:45.095875-0500 myApp.Client.Mobile Hang detected: 0.39s (always-on hang reporting)"

    //this is called once during the setup of the control

    var data = new ObservableCollection<SeriesData>(); ScatterLineSeries lineSeries = new ScatterLineSeries() { DisplayName = series.Name, XValueBinding = new PropertyNameDataPointBinding(nameof(SeriesData.XScaled)), YValueBinding = new PropertyNameDataPointBinding(nameof(SeriesData.YScaled)), ItemsSource = data, }; chart.Series.Add(lineSeries);

    //this is called periodically as new data is available to display

    public void AddSeriesData(IEnumerable<SeriesData> data) { float? min = null; float? max = null; lock (_data) { foreach (var d in data) { d.XScaled = d.X; d.YScaled = ((d.Y ?? 0) - d.Series.MinValue) / (d.Series.MaxValue - d.Series.MinValue) * 100; if (_data.TryGetValue(d.Series, outvar collection)) { collection.Add(d); max = d.XScaled; min = collection[0].XScaled; while (max - min > settings.XAxisRange) {

    //application will start to hang here, once items are removed from beginning of the collection collection.RemoveAt(0); min = collection[0].XScaled; } } } } if (max != null) { xAxis.Maximum = max.Value; xAxis.Minimum = max.Value - settings.XAxisRange; } }

    public class SeriesData
        {
            public readonly Series Series;
            public readonly float? X;
            public readonly float? Y;
    
            public float? XScaled { get; internal set; }
            public float? YScaled { get; internal set; }
    
            public SeriesData(Series series, float? x, float? y)
            {
                Series = series;
                X = x;
                Y = y;
            }
        }
    Steve
    Top achievements
    Rank 1
    Iron
     asked on 08 Aug 2023
    1 answer
    226 views

    I have a RadPopup with buttons that navigate to new pages via shell navigation.  When I click to navigate to the new page it remains open.  

     

    I would like the popup to disappear like the rest of the page, but when I press back, I would expect it to still be open

    Didi
    Telerik team
     answered on 08 Aug 2023
    1 answer
    405 views

    Good morning,

    Is there a way to format/customize what the empty view looks like? Currently it just says "No data", I wasn't sure if it was possible to add a custom message/style.

    Thank you!

     

    Lance | Senior Manager Technical Support
    Telerik team
     answered on 04 Aug 2023
    2 answers
    150 views

    I am looking to have aBadge which is basically a styled label sitting on its own.

    I have tried adding a Badge View without content which wont work


    <telerik:RadBadgeView BadgeText="Archived" BadgeHorizontalAlignment="Start" BackgroundColor="#ffc107" BadgeTextColor="Black">
                               <telerik:RadBadgeView.Content>
                                    
                                </telerik:RadBadgeView.Content> 
                            </telerik:RadBadgeView>

    Is there something I can do to just use the Badge as its own control?
    Didi
    Telerik team
     answered on 04 Aug 2023
    1 answer
    295 views

    Hi Telerik,

    In MAUI android app I am restricting the dark theme on my app from getting applied, for all the controls except for the RadDatePicker it works fine.

     

    NOTE:

    The RadDatePicker is not restricting the dark theme from getting applied in MAUI.

    Whereas in Xamarin it works fine.

    Below is the screen shot how it looks:

    Xamarin:

    MAUI:

    Thanks,

    Mohammed Rameez Raza.

    Maria
    Telerik team
     answered on 04 Aug 2023
    1 answer
    209 views

    Hello I hope you can help me.
    I have a RadListView that gets populated from a collection provided in the ViewModel. Within the template there is a button to delete the selected element and it works fine, but when there is only one element left and I delete it, the application crashes.

    The xaml of the list


    <telerik:RadListView ItemsSource="{Binding SelectedProducts, Mode=TwoWay}"  SelectionMode="None" >
                            <telerik:RadListView.ItemTemplate>
                                <DataTemplate  x:DataType="modles:ProductExhibitionDTO">
                                    <telerik:ListViewTemplateCell>
                                        <telerik:ListViewTemplateCell.View>
                                            <Grid BackgroundColor="#FAFAFA" RowDefinitions="auto, auto, *, auto, auto, auto">
                                                <Grid Grid.Row="0" ColumnDefinitions="auto, *, auto">
                                                    <Label Grid.Column="0" Text="{Binding ProductNumber}" Margin="8" FontSize="14" FontFamily="RobotoBold" TextColor="#000" />
                                                    <Button Grid.Column="2" HorizontalOptions="End" Margin="8" ImageSource="delete_out_6" HeightRequest="24" WidthRequest="24" Command="{Binding Source={RelativeSource AncestorType={x:Type viewModel:NegotiatedExhibitionViewModel}}, Path=DeleteProductCommand}" CommandParameter="{Binding .}" BackgroundColor="Transparent" />
                                                </Grid>
                                                <Grid Grid.Row="1" RowDefinitions="auto, auto, auto" ColumnDefinitions="auto, 3*, *" >
                                                    <Image Grid.Row="0" Grid.RowSpan="3" Grid.Column="0"  Source="{Binding ProductImageURL}" HeightRequest="100" WidthRequest="100" Margin="8"/>
                                                    <Label Grid.Row="0" Grid.Column="1" VerticalOptions="Start" Margin="8,4" FontSize="12" TextColor="#000" FontFamily="RobotoRegular" Text="{Binding BrandName}" />
                                                    <Label Grid.Row="1" Grid.Column="1" VerticalOptions="Start" HorizontalOptions="Fill" Margin="8,4" FontSize="14" TextColor="#000" FontFamily="RobotoBold" Text="{Binding ProductName}" LineBreakMode="WordWrap" />
                                                    <Label Grid.Row="2" Grid.Column="1" VerticalOptions="Start" Margin="8,4" FontSize="14" TextColor="#000" FontFamily="RobotoRegular" Text="{Binding GTIN}" />
                                                </Grid>
                                                <Grid Grid.Row="2" ColumnDefinitions=".5*,.5*" RowDefinitions="auto, auto">
                                                    <HorizontalStackLayout Grid.Row="0" Grid.Column="0">
                                                        <Label Grid.Row="0" Grid.Column="0" TextTransform ="Uppercase" Margin="8" Text="Frentes" TextColor="#757575" FontSize="10" FontFamily="RobotoRegular" />
                                                        <Image Source="warning_out" IsVisible="{Binding IsFrontRequired,Mode=TwoWay}" Margin="8" HeightRequest="15" WidthRequest="15"/>
                                                    </HorizontalStackLayout>
                                                    <HorizontalStackLayout Grid.Row="0" Grid.Column="1">
                                                        <Label Grid.Row="0" Grid.Column="1" TextTransform ="Uppercase" Margin="8" Text="Fondos" TextColor="#757575" FontSize="10" FontFamily="RobotoRegular"/>
                                                        <Image Source="warning_out" IsVisible="{Binding IsFundRequired,Mode=TwoWay}" Margin="8" HeightRequest="15" WidthRequest="15"/>
                                                    </HorizontalStackLayout>
                                                    <telerik:RadBorder Grid.Row="1" Grid.Column="0" Margin="8,4">
                                                        <telerik:RadEntry  Text="{Binding Front}"  Keyboard="Numeric" BackgroundColor="#FFFFFF" FontSize="14" FontFamily="RobotoRegular" WidthRequest="80" HorizontalOptions="Start" ClearButtonVisibility="Never" FocusedBorderBrush="Transparent" IsReadOnly="{Binding IsReadOnly}" />
                                                    </telerik:RadBorder>
                                                    <telerik:RadBorder Grid.Row="1" Grid.Column="1"  Margin="8,4" >
                                                        <telerik:RadEntry  Text="{Binding Fund}"  Keyboard="Numeric" BackgroundColor="#FFFFFF"  FontSize="14" FontFamily="RobotoRegular" WidthRequest="80" HorizontalOptions="Start" ClearButtonVisibility="Never" FocusedBorderBrush="Transparent" IsReadOnly="{Binding IsReadOnly}" />
                                                    </telerik:RadBorder>
                                                </Grid>
                                            </Grid>
                                        </telerik:ListViewTemplateCell.View>
                                    </telerik:ListViewTemplateCell>
                                </DataTemplate>
                            </telerik:RadListView.ItemTemplate>
                        </telerik:RadListView>

     The DeleteItem command in the viewModel,


     [RelayCommand]
            void DeleteProduct(Object obj) //ProductExhibitionDTO productExhibitionDTO
            {
                ProductExhibitionDTO productExhibitionDTO = obj as ProductExhibitionDTO;
                if (productExhibitionDTO != null)
                {
                    SelectedProducts.Remove(productExhibitionDTO);
                }
            }

     

    And finally, the error:

     

     

     

     

    Didi
    Telerik team
     answered on 04 Aug 2023
    1 answer
    999 views

    Can we link/associate a Label to a CheckBox to handle toggling the checkbox?

    It would be useful to do this using  MAUI standard label or providing a Text property to show next to the Checkbox?

    Am I missing something? If this is not possible, its seems like a good feature?

    eg:

    Lance | Senior Manager Technical Support
    Telerik team
     answered on 03 Aug 2023
    1 answer
    234 views

    I am trying to do a Line Series chart based on DateTimeAxis. Here is my XAML:

    <StackLayout>
                        <telerik:RadCartesianChart
                            VerticalOptions="FillAndExpand">
                            <telerik:RadCartesianChart.HorizontalAxis>
                                <telerik:DateTimeContinuousAxis LabelFitMode="Rotate"
                                                                MajorStepUnit="Month" />
                            </telerik:RadCartesianChart.HorizontalAxis>
                            <telerik:RadCartesianChart.VerticalAxis>
                                <telerik:NumericalAxis
                                    Maximum="{Binding StartWeight}"
                                    Minimum="{Binding GoalWeight}"/>
                            </telerik:RadCartesianChart.VerticalAxis>
                            <telerik:RadCartesianChart.Series>
                                <telerik:LineSeries ValueBinding="Weight"
                                                    CategoryBinding="Date"
                                                    ItemsSource="{Binding SeriesData}" />
                            </telerik:RadCartesianChart.Series>
                        </telerik:RadCartesianChart>
                    </StackLayout>

    Here is where I create the observable collection:

    private async Task<ObservableCollection<ProgressSeriesData>> GetCategoricalDataFromDbAsync()
        {
            var entries = await _database.GetItemsAsync(); // Retrieve all entries from database
            ObservableCollection<ProgressSeriesData> data = new();
            var ID = 0;

            foreach (var entry in entries)
            {
                ProgressSeriesData progressSeriesData = new()
                {
                    Date = entry.Date,
                    Weight = entry.Weight,
                    ID = ID
                };
                data.Add(progressSeriesData);
                ID++;
            }

            return data;
        }

    and here is what is displayed in the app:

     

    I'm not sure why it won't plot the line for me? Here is what the data looks like in the model:

    Any and all help is appreciated :)

     

    Thanks!

    Lance | Senior Manager Technical Support
    Telerik team
     answered on 02 Aug 2023
    1 answer
    140 views

     

    xaml:

     <telerik:RadCartesianChart Background="Transparent"
                                       x:Name="chart"
                                       Grid.Row="0">
    
                <telerik:RadCartesianChart.HorizontalAxis>
                    <telerik:NumericalAxis x:Name="xAxis" />
                </telerik:RadCartesianChart.HorizontalAxis>
    
                <telerik:RadCartesianChart.VerticalAxis>
                    <telerik:NumericalAxis x:Name="yAxis" />
                </telerik:RadCartesianChart.VerticalAxis>
    
                <telerik:RadCartesianChart.Series />
    
                <telerik:RadCartesianChart.Annotations>
    
                    <telerik:CartesianGridLineAnnotation x:Name="marker"
                                                         Axis="{x:Reference xAxis}"
                                                         Value="0"/>
    
                </telerik:RadCartesianChart.Annotations>
    
                <telerik:RadCartesianChart.ChartBehaviors>
    
                    <telerik:ChartSelectionBehavior x:Name="selection"
                                                    DataPointSelectionMode="Single"
                                                    SelectionChanged="ChartSelectionBehavior_SelectionChanged" />
                </telerik:RadCartesianChart.ChartBehaviors>
    
            </telerik:RadCartesianChart>
    

    C# Code Behind (initialization snippet)..   When setting of the StrokeThickness is skipped on iOS, the app continues to work, otherwise an app crash results.

    foreach (Series series in SeriesList)
                {
                    var data = new ObservableCollection<SeriesData>();
    
                    ScatterLineSeries lineSeries = new ScatterLineSeries()
                    {
                        DisplayName = series.Name,
                        XValueBinding = new PropertyNameDataPointBinding(nameof(SeriesData.XScaled)),
                        YValueBinding = new PropertyNameDataPointBinding(nameof(SeriesData.YScaled)),
                        ItemsSource = data
                    };
    
                    if (Series.AllowLineThickness) //set to false for iOS
                    {
                        //ios chart series thickness bug
                        lineSeries.StrokeThickness = series.Thickness; //series.Thickness is always 1
                    }
    
                    if (Series.AllowLineColor) //set to false for android
                    {
                        //android chart legend color bug
                        lineSeries.Stroke = series.Color;
                    }
    
                    chart.Series.Add(lineSeries);
                    _lineSeries[series] = lineSeries;
                    _data[series] = data;
                }

     

    resulting NullReferenceException w/ stack trace

     

    Object reference not set to an instance of an object. at Telerik.Maui.Controls.Compatibility.ChartRenderer.iOS.ScatterLineSeriesAdapter`1[[Telerik.Maui.Controls.Compatibility.Chart.ScatterLineSeries, Telerik.Maui.Controls.Compatibility, Version=6.0.0.0, Culture=neutral, PublicKeyToken=5803cfa389c90ce7]].UpdateStrokeThickness(ScatterLineSeries sourceOwner, TKChartSeries targetOwner) at Telerik.Maui.Controls.Compatibility.ChartRenderer.iOS.ScatterLineSeriesAdapter`1[[Telerik.Maui.Controls.Compatibility.Chart.ScatterLineSeries, Telerik.Maui.Controls.Compatibility, Version=6.0.0.0, Culture=neutral, PublicKeyToken=5803cfa389c90ce7]].UpdateSeriesProperties(String propertyName, ScatterLineSeries sourceOwner, TKChartSeries targetOwner, RadChartBase sourceChart, TKChart targetChart) at Telerik.Maui.Controls.Compatibility.ChartRenderer.iOS.ChartSeriesAdapter`2[[Telerik.Maui.Controls.Compatibility.Chart.ScatterLineSeries, Telerik.Maui.Controls.Compatibility, Version=6.0.0.0, Culture=neutral, PublicKeyToken=5803cfa389c90ce7],[TelerikUI.TKChartSeries, Telerik.iOS, Version=6.0.0.0, Culture=neutral, PublicKeyToken=5803cfa389c90ce7]].UpdateCore(ScatterLineSeries sourceOwner, TKChartSeries targetOwner, String propertyName, IParentElement sourceOwnerRoot, Object targetOwnerRoot) at Telerik.Maui.Controls.Compatibility.Chart.ChartElementFacadeAdapter`2[[Telerik.Maui.Controls.Compatibility.Chart.ScatterLineSeries, Telerik.Maui.Controls.Compatibility, Version=6.0.0.0, Culture=neutral, PublicKeyToken=5803cfa389c90ce7],[TelerikUI.TKChartSeries, Telerik.iOS, Version=6.0.0.0, Culture=neutral, PublicKeyToken=5803cfa389c90ce7]].Update(Object sourceOwner, Object targetOwner, String propertyName, Object sourceOwnerRoot, Object targetOwnerRoot) at Telerik.Maui.Controls.Compatibility.Common.XamarinToNativeControlExtensions.Update[TKChartSeries,ChartSeries](TKChartSeries nativeElement, ChartSeries xfElement, String propertyName, Object sourceOwnerRoot, Object targetOwnerRoot) at Telerik.Maui.Controls.Compatibility.ChartRenderer.iOS.ManagedChartDataSource.CreateSeries(RadChartBase xfChart, TKChart chart) at Telerik.Maui.Controls.Compatibility.ChartRenderer.iOS.BaseChartAdapter`1[[Telerik.Maui.Controls.Compatibility.Chart.RadCartesianChart, Telerik.Maui.Controls.Compatibility, Version=6.0.0.0, Culture=neutral, PublicKeyToken=5803cfa389c90ce7]].UpdateCore(RadCartesianChart sourceOwner, TKExtendedChart targetOwner, String propertyName, IParentElement sourceOwnerRoot, Object targetOwnerRoot) at Telerik.Maui.Controls.Compatibility.ChartRenderer.iOS.CartesianChartAdapter.UpdateCore(RadCartesianChart sourceOwner, TKExtendedChart targetOwner, String propertyName, IParentElement sourceOwnerRoot, Object targetOwnerRoot) at Telerik.Maui.Controls.Compatibility.ChartRenderer.iOS.BaseChartAdapter`1[[Telerik.Maui.Controls.Compatibility.Chart.RadCartesianChart, Telerik.Maui.Controls.Compatibility, Version=6.0.0.0, Culture=neutral, PublicKeyToken=5803cfa389c90ce7]].Update(Object sourceOwner, Object targetOwner, String propertyName, Object sourceOwnerRoot, Object targetOwnerRoot) at Telerik.Maui.Controls.Compatibility.Common.XamarinToNativeControlExtensions.Update[TKExtendedChart,RadCartesianChart](TKExtendedChart nativeElement, RadCartesianChart xfElement, String propertyName, Object sourceOwnerRoot, Object targetOwnerRoot) at Telerik.Maui.Controls.Compatibility.ChartRenderer.iOS.BaseChartRenderer`1[[Telerik.Maui.Controls.Compatibility.Chart.RadCartesianChart, Telerik.Maui.Controls.Compatibility, Version=6.0.0.0, Culture=neutral, PublicKeyToken=5803cfa389c90ce7]].OnElementAttached(RadCartesianChart newElement) at Telerik.Maui.Controls.Compatibility.ChartRenderer.iOS.CartesianChartRenderer.OnElementAttached(RadCartesianChart newElement) at Telerik.Maui.Controls.Compatibility.Common.iOS.IosRendererBase`2[[Telerik.Maui.Controls.Compatibility.Chart.RadCartesianChart, Telerik.Maui.Controls.Compatibility, Version=6.0.0.0, Culture=neutral, PublicKeyToken=5803cfa389c90ce7],[Telerik.Maui.Controls.Compatibility.ChartRenderer.iOS.TKExtendedChart, Telerik.Maui.Controls.Compatibility, Version=6.0.0.0, Culture=neutral, PublicKeyToken=5803cfa389c90ce7]].OnElementChanged(ElementChangedEventArgs`1 e) at Microsoft.Maui.Controls.Handlers.Compatibility.VisualElementRenderer`1[[Telerik.Maui.Controls.Compatibility.Chart.RadCartesianChart, Telerik.Maui.Controls.Compatibility, Version=6.0.0.0, Culture=neutral, PublicKeyToken=5803cfa389c90ce7]].SetVirtualView(IElement view, IPlatformViewHandler nativeViewHandler, Action`1 onElementChanged, RadCartesianChart& currentVirtualView, IPropertyMapper& _mapper, IPropertyMapper _defaultMapper, Boolean autoPackage) at Microsoft.Maui.Controls.Handlers.Compatibility.VisualElementRenderer`1[[Telerik.Maui.Controls.Compatibility.Chart.RadCartesianChart, Telerik.Maui.Controls.Compatibility, Version=6.0.0.0, Culture=neutral, PublicKeyToken=5803cfa389c90ce7]].Microsoft.Maui.IElementHandler.SetVirtualView(IElement view) at Microsoft.Maui.Controls.Element.SetHandler(IElementHandler newHandler) at Microsoft.Maui.Controls.Element.set_Handler(IElementHandler value) at Microsoft.Maui.Controls.VisualElement.Microsoft.Maui.IElement.set_Handler(IElementHandler value) at Microsoft.Maui.Platform.ElementExtensions.ToHandler(IElement view, IMauiContext context) at Microsoft.Maui.Platform.ElementExtensions.ToPlatform(IElement view, IMauiContext context) at Microsoft.Maui.Handlers.LayoutHandler.SetVirtualView(IView view) at Microsoft.Maui.Handlers.ViewHandler`2[[Microsoft.Maui.ILayout, Microsoft.Maui, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null],[Microsoft.Maui.Platform.LayoutView, Microsoft.Maui, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].SetVirtualView(IElement view) at Microsoft.Maui.Controls.Element.SetHandler(IElementHandler newHandler) at Microsoft.Maui.Controls.Element.set_Handler(IElementHandler value) at Microsoft.Maui.Controls.VisualElement.Microsoft.Maui.IElement.set_Handler(IElementHandler value) at Microsoft.Maui.Platform.ElementExtensions.ToHandler(IElement view, IMauiContext context) at Microsoft.Maui.Platform.ElementExtensions.ToPlatform(IElement view, IMauiContext context) at Microsoft.Maui.Handlers.ContentViewHandler.UpdateContent(IContentViewHandler handler) at Microsoft.Maui.Handlers.ContentViewHandler.MapContent(IContentViewHandler handler, IContentView page) at Microsoft.Maui.PropertyMapper`2.<>c__DisplayClass5_0[[Microsoft.Maui.IContentView, Microsoft.Maui, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null],[Microsoft.Maui.Handlers.IContentViewHandler, Microsoft.Maui, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].<Add>b__0(IElementHandler h, IElement v) at Microsoft.Maui.PropertyMapper.UpdatePropertyCore(String key, IElementHandler viewHandler, IElement virtualView) at Microsoft.Maui.PropertyMapper.UpdateProperties(IElementHandler viewHandler, IElement virtualView) at Microsoft.Maui.Handlers.ElementHandler.SetVirtualView(IElement view) at Microsoft.Maui.Handlers.ViewHandler`2[[Microsoft.Maui.IContentView, Microsoft.Maui, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null],[Microsoft.Maui.Platform.ContentView, Microsoft.Maui, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].SetVirtualView(IView view) at Microsoft.Maui.Handlers.ContentViewHandler.SetVirtualView(IView view) at Microsoft.Maui.Handlers.ViewHandler`2[[Microsoft.Maui.IContentView, Microsoft.Maui, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null],[Microsoft.Maui.Platform.ContentView, Microsoft.Maui, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].SetVirtualView(IElement view) at Microsoft.Maui.Controls.Element.SetHandler(IElementHandler newHandler) at Microsoft.Maui.Controls.Element.set_Handler(IElementHandler value) at Microsoft.Maui.Controls.VisualElement.Microsoft.Maui.IElement.set_Handler(IElementHandler value) at Microsoft.Maui.Platform.ElementExtensions.ToHandler(IElement view, IMauiContext context) at Microsoft.Maui.Platform.ElementExtensions.ToPlatform(IElement view, IMauiContext context) at Microsoft.Maui.Handlers.LayoutHandler.SetVirtualView(IView view) at Microsoft.Maui.Handlers.ViewHandler`2[[Microsoft.Maui.ILayout, Microsoft.Maui, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null],[Microsoft.Maui.Platform.LayoutView, Microsoft.Maui, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].SetVirtualView(IElement view) at Microsoft.Maui.Controls.Element.SetHandler(IElementHandler newHandler) at Microsoft.Maui.Controls.Element.set_Handler(IElementHandler value) at Microsoft.Maui.Controls.VisualElement.Microsoft.Maui.IElement.set_Handler(IElementHandler value) at Microsoft.Maui.Platform.ElementExtensions.ToHandler(IElement view, IMauiContext context) at Microsoft.Maui.Platform.ElementExtensions.ToPlatform(IElement view, IMauiContext context) at Microsoft.Maui.Handlers.ContentViewHandler.UpdateContent(IContentViewHandler handler) at Microsoft.Maui.Handlers.ContentViewHandler.MapContent(IContentViewHandler handler, IContentView page) at Microsoft.Maui.PropertyMapper`2.<>c__DisplayClass5_0[[Microsoft.Maui.IContentView, Microsoft.Maui, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null],[Microsoft.Maui.Handlers.IContentViewHandler, Microsoft.Maui, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].<Add>b__0(IElementHandler h, IElement v) at Microsoft.Maui.PropertyMapper.UpdatePropertyCore(String key, IElementHandler viewHandler, IElement virtualView) at Microsoft.Maui.PropertyMapper.UpdateProperties(IElementHandler viewHandler, IElement virtualView) at Microsoft.Maui.Handlers.ElementHandler.SetVirtualView(IElement view) at Microsoft.Maui.Handlers.ViewHandler`2[[Microsoft.Maui.IContentView, Microsoft.Maui, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null],[Microsoft.Maui.Platform.ContentView, Microsoft.Maui, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].SetVirtualView(IView view) at Microsoft.Maui.Handlers.ContentViewHandler.SetVirtualView(IView view) at Microsoft.Maui.Handlers.ViewHandler`2[[Microsoft.Maui.IContentView, Microsoft.Maui, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null],[Microsoft.Maui.Platform.ContentView, Microsoft.Maui, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].SetVirtualView(IElement view) at Microsoft.Maui.Controls.Element.SetHandler(IElementHandler newHandler) at Microsoft.Maui.Controls.Element.set_Handler(IElementHandler value) at Microsoft.Maui.Controls.VisualElement.Microsoft.Maui.IElement.set_Handler(IElementHandler value) at Microsoft.Maui.Platform.ElementExtensions.ToHandler(IElement view, IMauiContext context) at Microsoft.Maui.Platform.ElementExtensions.ToPlatform(IElement view, IMauiContext context) at Microsoft.Maui.Handlers.LayoutHandler.SetVirtualView(IView view) at Microsoft.Maui.Handlers.ViewHandler`2[[Microsoft.Maui.ILayout, Microsoft.Maui, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null],[Microsoft.Maui.Platform.LayoutView, Microsoft.Maui, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].SetVirtualView(IElement view) at Microsoft.Maui.Controls.Element.SetHandler(IElementHandler newHandler) at Microsoft.Maui.Controls.Element.set_Handler(IElementHandler value) at Microsoft.Maui.Controls.VisualElement.Microsoft.Maui.IElement.set_Handler(IElementHandler value) at Microsoft.Maui.Platform.ElementExtensions.ToHandler(IElement view, IMauiContext context) at Microsoft.Maui.Platform.ElementExtensions.ToPlatform(IElement view, IMauiContext context) at Microsoft.Maui.Handlers.LayoutHandler.SetVirtualView(IView view) at Microsoft.Maui.Handlers.ViewHandler`2[[Microsoft.Maui.ILayout, Microsoft.Maui, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null],[Microsoft.Maui.Platform.LayoutView, Microsoft.Maui, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].SetVirtualView(IElement view) at Microsoft.Maui.Controls.Element.SetHandler(IElementHandler newHandler) at Microsoft.Maui.Controls.Element.set_Handler(IElementHandler value) at Microsoft.Maui.Controls.VisualElement.Microsoft.Maui.IElement.set_Handler(IElementHandler value) at Microsoft.Maui.Platform.ElementExtensions.ToHandler(IElement view, IMauiContext context) at Microsoft.Maui.Platform.ElementExtensions.ToPlatform(IElement view, IMauiContext context) at Microsoft.Maui.Handlers.LayoutHandler.SetVirtualView(IView view) at Microsoft.Maui.Handlers.ViewHandler`2[[Microsoft.Maui.ILayout, Microsoft.Maui, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null],[Microsoft.Maui.Platform.LayoutView, Microsoft.Maui, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].SetVirtualView(IElement view) at Microsoft.Maui.Controls.Element.SetHandler(IElementHandler newHandler) at Microsoft.Maui.Controls.Element.set_Handler(IElementHandler value) at Microsoft.Maui.Controls.VisualElement.Microsoft.Maui.IElement.set_Handler(IElementHandler value) at Microsoft.Maui.Platform.ElementExtensions.ToHandler(IElement view, IMauiContext context) at Microsoft.Maui.Platform.ElementExtensions.ToPlatform(IElement view, IMauiContext context) at Microsoft.Maui.Handlers.LayoutHandler.SetVirtualView(IView view) at Microsoft.Maui.Handlers.ViewHandler`2[[Microsoft.Maui.ILayout, Microsoft.Maui, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null],[Microsoft.Maui.Platform.LayoutView, Microsoft.Maui, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].SetVirtualView(IElement view) at Microsoft.Maui.Controls.Element.SetHandler(IElementHandler newHandler) at Microsoft.Maui.Controls.Element.set_Handler(IElementHandler value) at Microsoft.Maui.Controls.VisualElement.Microsoft.Maui.IElement.set_Handler(IElementHandler value) at Microsoft.Maui.Platform.ElementExtensions.ToHandler(IElement view, IMauiContext context) at Microsoft.Maui.Platform.ElementExtensions.ToPlatform(IElement view, IMauiContext context) at Microsoft.Maui.Handlers.ContentViewHandler.UpdateContent(IContentViewHandler handler) at Microsoft.Maui.Handlers.ContentViewHandler.MapContent(IContentViewHandler handler, IContentView page) at Microsoft.Maui.PropertyMapper`2.<>c__DisplayClass5_0[[Microsoft.Maui.IContentView, Microsoft.Maui, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null],[Microsoft.Maui.Handlers.IContentViewHandler, Microsoft.Maui, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].<Add>b__0(IElementHandler h, IElement v) at Microsoft.Maui.PropertyMapper.UpdatePropertyCore(String key, IElementHandler viewHandler, IElement virtualView) at Microsoft.Maui.PropertyMapper.UpdateProperties(IElementHandler viewHandler, IElement virtualView) at Microsoft.Maui.Handlers.ElementHandler.SetVirtualView(IElement view) at Microsoft.Maui.Handlers.ViewHandler`2[[Microsoft.Maui.IContentView, Microsoft.Maui, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null],[Microsoft.Maui.Platform.ContentView, Microsoft.Maui, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].SetVirtualView(IView view) at Microsoft.Maui.Handlers.ContentViewHandler.SetVirtualView(IView view) at Microsoft.Maui.Handlers.ViewHandler`2[[Microsoft.Maui.IContentView, Microsoft.Maui, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null],[Microsoft.Maui.Platform.ContentView, Microsoft.Maui, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].SetVirtualView(IElement view) at Microsoft.Maui.Controls.Element.SetHandler(IElementHandler newHandler) at Microsoft.Maui.Controls.Element.set_Handler(IElementHandler value) at Microsoft.Maui.Controls.VisualElement.Microsoft.Maui.IElement.set_Handler(IElementHandler value) at Microsoft.Maui.Platform.ElementExtensions.ToHandler(IElement view, IMauiContext context) at Microsoft.Maui.Platform.ElementExtensions.ToPlatform(IElement view, IMauiContext context) at Microsoft.Maui.Handlers.LayoutHandler.SetVirtualView(IView view) at Microsoft.Maui.Handlers.ViewHandler`2[[Microsoft.Maui.ILayout, Microsoft.Maui, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null],[Microsoft.Maui.Platform.LayoutView, Microsoft.Maui, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].SetVirtualView(IElement view) at Microsoft.Maui.Controls.Element.SetHandler(IElementHandler newHandler) at Microsoft.Maui.Controls.Element.set_Handler(IElementHandler value) at Microsoft.Maui.Controls.VisualElement.Microsoft.Maui.IElement.set_Handler(IElementHandler value) at Microsoft.Maui.Platform.ElementExtensions.ToHandler(IElement view, IMauiContext context) at Microsoft.Maui.Platform.ElementExtensions.ToPlatform(IElement view, IMauiContext context) at Microsoft.Maui.Handlers.BorderHandler.UpdateContent(IBorderHandler handler) at Microsoft.Maui.Handlers.BorderHandler.MapContent(IBorderHandler handler, IBorderView border) at Microsoft.Maui.PropertyMapper`2.<>c__DisplayClass5_0[[Microsoft.Maui.IBorderView, Microsoft.Maui, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null],[Microsoft.Maui.Handlers.IBorderHandler, Microsoft.Maui, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].<Add>b__0(IElementHandler h, IElement v) at Microsoft.Maui.PropertyMapper.UpdatePropertyCore(String key, IElementHandler viewHandler, IElement virtualView) at Microsoft.Maui.PropertyMapper.UpdateProperties(IElementHandler viewHandler, IElement virtualView) at Microsoft.Maui.Handlers.ElementHandler.SetVirtualView(IElement view) at Microsoft.Maui.Handlers.ViewHandler`2[[Microsoft.Maui.IBorderView, Microsoft.Maui, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null],[Microsoft.Maui.Platform.ContentView, Microsoft.Maui, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].SetVirtualView(IView view) at Microsoft.Maui.Handlers.BorderHandler.SetVirtualView(IView view) at Microsoft.Maui.Handlers.ViewHandler`2[[Microsoft.Maui.IBorderView, Microsoft.Maui, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null],[Microsoft.Maui.Platform.ContentView, Microsoft.Maui, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].SetVirtualView(IElement view) at Microsoft.Maui.Controls.Element.SetHandler(IElementHandler newHandler) at Microsoft.Maui.Controls.Element.set_Handler(IElementHandler value) at Microsoft.Maui.Controls.VisualElement.Microsoft.Maui.IElement.set_Handler(IElementHandler value) at Microsoft.Maui.Platform.ElementExtensions.ToHandler(IElement view, IMauiContext context) at Microsoft.Maui.Platform.ElementExtensions.ToPlatform(IElement view, IMauiContext context) at Microsoft.Maui.Handlers.LayoutHandler.SetVirtualView(IView view) at Microsoft.Maui.Handlers.ViewHandler`2[[Microsoft.Maui.ILayout, Microsoft.Maui, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null],[Microsoft.Maui.Platform.LayoutView, Microsoft.Maui, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].SetVirtualView(IElement view) at Microsoft.Maui.Controls.Element.SetHandler(IElementHandler newHandler) at Microsoft.Maui.Controls.Element.set_Handler(IElementHandler value) at Microsoft.Maui.Controls.VisualElement.Microsoft.Maui.IElement.set_Handler(IElementHandler value) at Microsoft.Maui.Platform.ElementExtensions.ToHandler(IElement view, IMauiContext context) at Microsoft.Maui.Platform.ElementExtensions.ToPlatform(IElement view, IMauiContext context) at Microsoft.Maui.Handlers.ContentViewHandler.UpdateContent(IContentViewHandler handler) at Microsoft.Maui.Handlers.ContentViewHandler.MapContent(IContentViewHandler handler, IContentView page) at Microsoft.Maui.PropertyMapper`2.<>c__DisplayClass5_0[[Microsoft.Maui.IContentView, Microsoft.Maui, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null],[Microsoft.Maui.Handlers.IContentViewHandler, Microsoft.Maui, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].<Add>b__0(IElementHandler h, IElement v) at Microsoft.Maui.PropertyMapper.UpdatePropertyCore(String key, IElementHandler viewHandler, IElement virtualView) at Microsoft.Maui.PropertyMapper.UpdateProperties(IElementHandler viewHandler, IElement virtualView) at Microsoft.Maui.Handlers.ElementHandler.SetVirtualView(IElement view) at Microsoft.Maui.Handlers.ViewHandler`2[[Microsoft.Maui.IContentView, Microsoft.Maui, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null],[Microsoft.Maui.Platform.ContentView, Microsoft.Maui, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].SetVirtualView(IView view) at Microsoft.Maui.Handlers.ContentViewHandler.SetVirtualView(IView view) at Microsoft.Maui.Handlers.ViewHandler`2[[Microsoft.Maui.IContentView, Microsoft.Maui, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null],[Microsoft.Maui.Platform.ContentView, Microsoft.Maui, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].SetVirtualView(IElement view) at Microsoft.Maui.Controls.Element.SetHandler(IElementHandler newHandler) at Microsoft.Maui.Controls.Element.set_Handler(IElementHandler value) at Microsoft.Maui.Controls.VisualElement.Microsoft.Maui.IElement.set_Handler(IElementHandler value) at Microsoft.Maui.Platform.ElementExtensions.ToHandler(IElement view, IMauiContext context) at Microsoft.Maui.Platform.ElementExtensions.ToPlatform(IElement view, IMauiContext context) at Microsoft.Maui.Handlers.ContentViewHandler.UpdateContent(IContentViewHandler handler) at Microsoft.Maui.Handlers.ContentViewHandler.MapContent(IContentViewHandler handler, IContentView page) at Microsoft.Maui.PropertyMapper`2.<>c__DisplayClass5_0[[Microsoft.Maui.IContentView, Microsoft.Maui, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null],[Microsoft.Maui.Handlers.IContentViewHandler, Microsoft.Maui, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].<Add>b__0(IElementHandler h, IElement v) at Microsoft.Maui.PropertyMapper.UpdatePropertyCore(String key, IElementHandler viewHandler, IElement virtualView) at Microsoft.Maui.PropertyMapper.UpdateProperties(IElementHandler viewHandler, IElement virtualView) at Microsoft.Maui.Handlers.ElementHandler.SetVirtualView(IElement view) at Microsoft.Maui.Handlers.ViewHandler`2[[Microsoft.Maui.IContentView, Microsoft.Maui, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null],[Microsoft.Maui.Platform.ContentView, Microsoft.Maui, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].SetVirtualView(IView view) at Microsoft.Maui.Handlers.ContentViewHandler.SetVirtualView(IView view) at Microsoft.Maui.Handlers.ViewHandler`2[[Microsoft.Maui.IContentView, Microsoft.Maui, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null],[Microsoft.Maui.Platform.ContentView, Microsoft.Maui, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].SetVirtualView(IElement view) at Microsoft.Maui.Controls.Element.SetHandler(IElementHandler newHandler) at Microsoft.Maui.Controls.Element.set_Handler(IElementHandler value) at Microsoft.Maui.Controls.VisualElement.Microsoft.Maui.IElement.set_Handler(IElementHandler value) at Microsoft.Maui.Platform.ElementExtensions.ToHandler(IElement view, IMauiContext context) at Microsoft.Maui.Platform.ElementExtensions.ToPlatform(IElement view, IMauiContext context) at Microsoft.Maui.Handlers.LayoutHandler.SetVirtualView(IView view) at Microsoft.Maui.Handlers.ViewHandler`2[[Microsoft.Maui.ILayout, Microsoft.Maui, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null],[Microsoft.Maui.Platform.LayoutView, Microsoft.Maui, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].SetVirtualView(IElement view) at Microsoft.Maui.Controls.Element.SetHandler(IElementHandler newHandler) at Microsoft.Maui.Controls.Element.set_Handler(IElementHandler value) at Microsoft.Maui.Controls.VisualElement.Microsoft.Maui.IElement.set_Handler(IElementHandler value) at Microsoft.Maui.Platform.ElementExtensions.ToHandler(IElement view, IMauiContext context) at Microsoft.Maui.Platform.ElementExtensions.ToPlatform(IElement view, IMauiContext context) at Microsoft.Maui.Handlers.LayoutHandler.SetVirtualView(IView view) at Microsoft.Maui.Handlers.ViewHandler`2[[Microsoft.Maui.ILayout, Microsoft.Maui, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null],[Microsoft.Maui.Platform.LayoutView, Microsoft.Maui, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].SetVirtualView(IElement view) at Microsoft.Maui.Controls.Element.SetHandler(IElementHandler newHandler) at Microsoft.Maui.Controls.Element.set_Handler(IElementHandler value) at Microsoft.Maui.Controls.VisualElement.Microsoft.Maui.IElement.set_Handler(IElementHandler value) at Microsoft.Maui.Platform.ElementExtensions.ToHandler(IElement view, IMauiContext context) at Microsoft.Maui.Platform.ElementExtensions.ToPlatform(IElement view, IMauiContext context) at Microsoft.Maui.Handlers.BorderHandler.UpdateContent(IBorderHandler handler) at Microsoft.Maui.Handlers.BorderHandler.MapContent(IBorderHandler handler, IBorderView border) at Microsoft.Maui.PropertyMapper`2.<>c__DisplayClass5_0[[Microsoft.Maui.IBorderView, Microsoft.Maui, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null],[Microsoft.Maui.Handlers.IBorderHandler, Microsoft.Maui, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].<Add>b__0(IElementHandler h, IElement v) at Microsoft.Maui.PropertyMapper.UpdatePropertyCore(String key, IElementHandler viewHandler, IElement virtualView) at Microsoft.Maui.PropertyMapper.UpdateProperties(IElementHandler viewHandler, IElement virtualView) at Microsoft.Maui.Handlers.ElementHandler.SetVirtualView(IElement view) at Microsoft.Maui.Handlers.ViewHandler`2[[Microsoft.Maui.IBorderView, Microsoft.Maui, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null],[Microsoft.Maui.Platform.ContentView, Microsoft.Maui, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].SetVirtualView(IView view) at Microsoft.Maui.Handlers.BorderHandler.SetVirtualView(IView view) at Microsoft.Maui.Handlers.ViewHandler`2[[Microsoft.Maui.IBorderView, Microsoft.Maui, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null],[Microsoft.Maui.Platform.ContentView, Microsoft.Maui, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].SetVirtualView(IElement view) at Microsoft.Maui.Controls.Element.SetHandler(IElementHandler newHandler) at Microsoft.Maui.Controls.Element.set_Handler(IElementHandler value) at Microsoft.Maui.Controls.VisualElement.Microsoft.Maui.IElement.set_Handler(IElementHandler value) at Microsoft.Maui.Platform.ElementExtensions.ToHandler(IElement view, IMauiContext context) at Microsoft.Maui.Platform.ElementExtensions.ToPlatform(IElement view, IMauiContext context) at Microsoft.Maui.Handlers.ContentViewHandler.UpdateContent(IContentViewHandler handler) at Microsoft.Maui.Handlers.ContentViewHandler.MapContent(IContentViewHandler handler, IContentView page) at Microsoft.Maui.PropertyMapper`2.<>c__DisplayClass5_0[[Microsoft.Maui.IContentView, Microsoft.Maui, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null],[Microsoft.Maui.Handlers.IContentViewHandler, Microsoft.Maui, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].<Add>b__0(IElementHandler h, IElement v) at Microsoft.Maui.PropertyMapper.UpdatePropertyCore(String key, IElementHandler viewHandler, IElement virtualView) at Microsoft.Maui.PropertyMapper.UpdateProperties(IElementHandler viewHandler, IElement virtualView) at Microsoft.Maui.Handlers.ElementHandler.SetVirtualView(IElement view) at Microsoft.Maui.Handlers.ViewHandler`2[[Microsoft.Maui.IContentView, Microsoft.Maui, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null],[Microsoft.Maui.Platform.ContentView, Microsoft.Maui, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].SetVirtualView(IView view) at Microsoft.Maui.Handlers.ContentViewHandler.SetVirtualView(IView view) at Microsoft.Maui.Handlers.ViewHandler`2[[Microsoft.Maui.IContentView, Microsoft.Maui, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null],[Microsoft.Maui.Platform.ContentView, Microsoft.Maui, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].SetVirtualView(IElement view) at Microsoft.Maui.Controls.Element.SetHandler(IElementHandler newHandler) at Microsoft.Maui.Controls.Element.set_Handler(IElementHandler value) at Microsoft.Maui.Controls.VisualElement.Microsoft.Maui.IElement.set_Handler(IElementHandler value) at Microsoft.Maui.Platform.ElementExtensions.ToHandler(IElement view, IMauiContext context) at Microsoft.Maui.Platform.ViewExtensions.ToHandler(IView view, IMauiContext context) at Microsoft.Maui.Controls.Handlers.Items.TemplateHelpers.GetHandler(View view, IMauiContext context) at Microsoft.Maui.Controls.Handlers.Items.TemplatedCell.Bind(DataTemplate template, Object bindingContext, ItemsView itemsView) at Microsoft.Maui.Controls.Handlers.Items.ItemsViewController`1[[Microsoft.Maui.Controls.CarouselView, Microsoft.Maui.Controls, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].UpdateTemplatedCell(TemplatedCell cell, NSIndexPath indexPath) at Microsoft.Maui.Controls.Handlers.Items.ItemsViewController`1[[Microsoft.Maui.Controls.CarouselView, Microsoft.Maui.Controls, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].GetCell(UICollectionView collectionView, NSIndexPath indexPath) at Microsoft.Maui.Controls.Handlers.Items.CarouselViewController.GetCell(UICollectionView collectionView, NSIndexPath indexPath) at UIKit.UIApplication.UIApplicationMain(Int32 argc, String[] argv, IntPtr principalClassName, IntPtr delegateClassName) at UIKit.UIApplication.Main(String[] args, Type principalClass, Type delegateClass)


    Didi
    Telerik team
     updated answer on 02 Aug 2023
    2 answers
    221 views

    This is a change in behavior from previous versions. Changing the value from Center to End, then back to Center in the debugger will change the alignment, but I haven't found a way to make it work in my app. At present the alignment appears to be Start.

    Example code:

            <ControlTemplate x:Key="RotationRadNumericInputControlTemplate">
                <Grid>
                    <telerik:RadBorder x:Name="PART_BorderVisual" BorderColor="Transparent">
                        <Grid ColumnSpacing="{StaticResource Spacing}" HeightRequest="50">
                            <Grid.ColumnDefinitions>
                                <ColumnDefinition Width="50" />
                                <ColumnDefinition Width="*" />
                                <ColumnDefinition Width="50" />
                            </Grid.ColumnDefinitions>
                            <telerik:NumericInputButton
                                Grid.Column="0"
                                HorizontalContentAlignment="Center"
                                VerticalContentAlignment="Center"
                                BackgroundColor="Transparent"
                                BorderColor="DarkOrange"
                                BorderThickness="2"
                                Command="{TemplateBinding DecreaseCommand}"
                                CornerRadius="0"
                                FontSize="{StaticResource MediumFontSize}"
                                IsEnabled="{TemplateBinding IsEnabled}"
                                Text="-"
                                TextColor="DarkOrange" />
                            <telerik:NumericInputEntry
                                x:Name="PART_Entry"
                                Grid.Column="1"
                                BackgroundColor="Transparent"
                                BorderBrush="DarkOrange"
                                BorderThickness="1"
                                ClearButtonVisibility="Never"
                                CornerRadius="0"
                                FontSize="{StaticResource MediumFontSize}"
                                HeightRequest="50"
                                HorizontalTextAlignment="Center"
                                InputTransparent="{TemplateBinding IsReadOnly}"
                                IsReadOnly="True"
                                Text="{TemplateBinding Value}"
                                TextColor="DarkOrange"
                                VerticalTextAlignment="Center"
                                WidthRequest="100" />
                            <telerik:NumericInputButton
                                Grid.Column="2"
                                HorizontalContentAlignment="Center"
                                VerticalContentAlignment="Center"
                                BackgroundColor="Transparent"
                                BorderColor="DarkOrange"
                                BorderThickness="2"
                                Command="{TemplateBinding IncreaseCommand}"
                                CornerRadius="0"
                                FontSize="{StaticResource MediumFontSize}"
                                IsEnabled="{TemplateBinding IsEnabled}"
                                Text="+"
                                TextColor="DarkOrange" />
                        </Grid>
                    </telerik:RadBorder>
                    <telerik:RadBorder x:Name="PART_FocusBorderVisual" BorderColor="Transparent" />
                </Grid>
            </ControlTemplate>
    Didi
    Telerik team
     answered on 01 Aug 2023
    Top users last month
    Boardy
    Top achievements
    Rank 2
    Veteran
    Iron
    Benjamin
    Top achievements
    Rank 3
    Bronze
    Iron
    Veteran
    ivory
    Top achievements
    Rank 1
    Iron
    Iron
    Rob
    Top achievements
    Rank 3
    Bronze
    Bronze
    Iron
    ClausDC
    Top achievements
    Rank 2
    Iron
    Iron
    Iron
    Want to show your ninja superpower to fellow developers?
    Want to show your ninja superpower to fellow developers?