<telerik:RadBusyIndicator x:Name="BusyTest"
IsBusy="{Binding IsBusy, Mode=TwoWay}"
AnimationContentColor="DodgerBlue"
AnimationContentHeightRequest="40"
AnimationContentWidthRequest="40"
VerticalOptions="Center"
HorizontalOptions="Center"
AnimationType="Animation6">
<telerik:RadBusyIndicator.Content>
<Label Text="{Binding LabelText, Mode=TwoWay}" TextColor="Blue" FontSize="16"/>
</telerik:RadBusyIndicator.Content>
<telerik:RadBusyIndicator.BusyContent>
<Label Text="{Binding LabelText, Mode=TwoWay}"
TextColor="Red" FontSize="20"/>
</telerik:RadBusyIndicator.BusyContent>
</telerik:RadBusyIndicator>
set the text directly to the BusyContent:
<telerik:RadBusyIndicator x:Name="BusyTest"
IsBusy="{Binding IsBusy, Mode=TwoWay}"
AnimationContentColor="DodgerBlue"
AnimationContentHeightRequest="40"
AnimationContentWidthRequest="40"
VerticalOptions="Center"
HorizontalOptions="Center"
AnimationType="Animation6">
<telerik:RadBusyIndicator.Content>
<Label Text="{Binding LabelText, Mode=TwoWay}" TextColor="Blue" FontSize="16"/>
</telerik:RadBusyIndicator.Content>
<telerik:RadBusyIndicator.BusyContent>
<Label Text="Loading....."
TextColor="Red" FontSize="20"/>
</telerik:RadBusyIndicator.BusyContent>
</telerik:RadBusyIndicator>
When having a nested grid layouts with auto and definitive row heights, the content in the ListView ItemTemplate is not property sized only on iOS. On Android, MacCatalyst and WinUI the content is property sized.
Solution:
1. Using only auto-sized grid rows,
2. Using grouping and simplifying the layout, removing nested grid layouts, and using a vertical stack.
An example with CollectionView:
<CollectionView ItemsSource="{Binding EmptyMonkeys}"
EmptyView="No items to display" />
Provide an option to sort the template column by nested property.
For example:
<dataGrid:DataGridTemplateColumn>
<dataGrid:DataGridTemplateColumn.CellContentTemplate>
<DataTemplate>
<Label Text="{Binding MyAddress.City}" />
</DataTemplate>
</dataGrid:DataGridTemplateColumn.CellContentTemplate>
<dataGrid:DataGridTemplateColumn.SortDescriptor>
<dataGrid:PropertySortDescriptor PropertyName="MyAddress.City" />
</dataGrid:DataGridTemplateColumn.SortDescriptor>
</dataGrid:DataGridTemplateColumn>
Changing the ItemsSource property of the ListView causes it to recreate its cells. The problem is that the existing cells are never reclaimed by the garbage collector, so the memory usage grows constantly. Eventually, the application can run out of memory, if the ItemsSource is updated too many times.
Note: It is possible the memory leak is caused by the bindings holding objects longer than necessary. Similar memory leaks can be reproduced with the .NET MAUI CollectionView as well. Here are a few GitHub issues for the CollectionView that might be related:
SDKBrowserMaui application, change PopupStyling.xaml and see that text changes are not reflected in the control.
For example, changing it to:
<Style TargetType="Button" x:Key="cancelButtonStyle">
<Setter Property="BackgroundColor" Value="Transparent"/>
<Setter Property="Text" Value="bob"/>
<Setter Property="TextColor" Value="#1188FF"/>
</Style>
Text is not applied. It affects all pickers.
Workaround:
Set Accept and Cancel Button text properties to the pickers:
<telerikInput:RadDatePicker >
<telerikInput:RadDatePicker.SelectorSettings>
<telerikInput:PickerPopupSelectorSettings
HeaderLabelText="Date Picker"
AcceptButtonText="Yes"
CancelButtonText="X"/>
</telerikInput:RadDatePicker.SelectorSettings>
</telerikInput:RadDatePicker>
I have a RadPieChart in my application. When removing the app from the backstack and service is running, then opening the app from the notification, the app crashes with:
Java.Lang.IllegalStateException: ChildNode is already parented by a ChartElement instance.
Hi team,
When deploying to certain platforms, under cetain circumstances, there is an exception that occurs in the DatePicker, TimePicker and a few other controls that rely on the same inner components. The stacktrace looks like it has to do with a default value for AppThemeBinding.
Thank you,
Nathan
when adding ComboBox inside the SideDrawer and setting ComboBox.IsEditable to false, the control is editable.
This happens only when the control is inside SideDrawer.
I would like to set the Keyboard Type the same way as it's possible for the regular Entry (see docs).
The reason is that I have a MaskedEntry with a mask that allows only numeric input. That's why I want to set Keyboard="Numeric".
This is how it should look like in the end:
<telerik:RadTextMaskedEntry
x:Name="entry"
Keyboard="Numeric"
Mask="00:00" />
I have a DataGrid with ItemsSource bound to ObservableRangeCollection,
First I Clear() the existing items of the collection, then add new items, and raises a single CollectionChanged event with action = NotifyCollectionChangedAction.Reset.
the grid continues to show nothing.
This works with .NET MAUI CollectionView and ListView
Workaround: Add a delay after clearing the collection.
Hi Team,
Please refer to the following screenshot from the ControlsSamples project on Windows:
Notice the descender on the y character is pushing up the Delivery column header's Label container, but the Price text is flush with the bottom? This is causing misalignment between text in other column headers that do not have descenders.
You might not immediately notice this, for example in the Aggregates demo, only the first column has no descenders but the next two do.
However, it's a more serious visual problem when every other column is vertically offset. Please consider adding a default Padding to account for descenders, or maybe change the VerticalOptions of the text container to be center aligned.
Thank you,
Matthew & Team
<telerik:RadDataGrid x:Name="dataGrid" AutomationId="dataGrid" AutoGenerateColumns="False">
<telerik:RadDataGrid.Columns>
<telerik:DataGridTextColumn PropertyName="Country" HeaderText="HighlightedLabel">
<telerik:DataGridTextColumn.CellContentTemplate>
<DataTemplate>
<telerik:RadHighlightLabel UnformattedText="{Binding Country}"
HighlightText="{Binding Source={x:Reference searchEntry}, Path=Text}"
HighlightTextColor="Red"/>
</DataTemplate>
</telerik:DataGridTextColumn.CellContentTemplate>
</telerik:DataGridTextColumn>
</telerik:RadDataGrid.Columns>
</telerik:RadDataGrid>
Actual: The highlighted text doesn't get updated and stays the same.
When the selected item is set initially, the selected style is not applied to the row/cell.
Workaround: You can use a Dispatcher to workaround the issue, code looks as follows:
this.Dispatcher.StartTimer(TimeSpan.FromMilliseconds(200), () =>
{
if (dataGrid.SelectedItem == null)
{
dataGrid.SelectItem(viewModel.PersonCollection.First());
}
return false;
});
provide an option to set ignore attribute in the model for ignoring certain properties from the business object, that should not be visible or editable.
I have used scaffold attribute, which does not work in the RadDataForm.