at Microsoft.Maui.Controls.ImmutableBrush.OnParentChangingCore(Element oldParent, Element newParent)
at Microsoft.Maui.Controls.Element.set_Parent(Element value)
at Telerik.Maui.Controls.RadEntry.OnBorderBrushPropertyChanged(Object newValue)
at Telerik.Maui.Controls.RadEntry.<>c.<.cctor>b__15_5(BindableObject b, Object o, Object n)
at Microsoft.Maui.Controls.BindableObject.SetValueCore(BindableProperty property, Object value, SetValueFlags attributes, SetValuePrivateFlags privateAttributes)
at Microsoft.Maui.Controls.BindableObject.SetValue(BindableProperty property, Object value, Boolean fromStyle, Boolean checkAccess)
at Microsoft.Maui.Controls.Setter.Apply(BindableObject target, Boolean fromStyle)
at Microsoft.Maui.Controls.Style.ApplyCore(BindableObject bindable, Style basedOn)
at Microsoft.Maui.Controls.Style.Microsoft.Maui.Controls.IStyle.Apply(BindableObject bindable)
at Microsoft.Maui.Controls.MergedStyle.set_Style(IStyle value)
at Microsoft.Maui.Controls.BindableObject.SetValueCore(BindableProperty property, Object value, SetValueFlags attributes, SetValuePrivateFlags privateAttributes)
at Microsoft.Maui.Controls.BindingExpression.ApplyCore(Object sourceObject, BindableObject target, BindableProperty property, Boolean fromTarget)
at Microsoft.Maui.Controls.BindingExpression.Apply(Object sourceObject, BindableObject target, BindableProperty property)
at Microsoft.Maui.Controls.Binding.<ApplyRelativeSourceBinding>d__27.MoveNext()
at System.Threading.Tasks.Task.<>c.<ThrowAsync>b__128_0(Object state)
at Microsoft.UI.Dispatching.DispatcherQueueSynchronizationContext.<>c__DisplayClass2_0.<Post>b__0()
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
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>
When setting BorderBrush, BorderThickess, FocusedBorderBrush and FocusedBorderThickness do not apply on the entire entry control, they apply only on bottom.
<VerticalStackLayout>
<telerik:RadEntry Text="Hello World" TextColor="DarkRed"
Background="Wheat"
FocusedBorderBrush="Yellow"
FocusedBorderThickness="10"
x:Name="entry"
BorderBrush="DarkRed"
BorderThickness="8"
CornerRadius="5,7,7,5"
WidthRequest="150"/>
</VerticalStackLayout>
And the result:
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
When I register the pages and controls using AddTransient it works but when I use AddSingleton it doesn't.
System.InvalidOperationException: PlatformView cannot be null here [mono-rt] at Microsoft.Maui.Handlers.ViewHandler`2[[Microsoft.Maui.ILayout, Microsoft.Maui, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null],[Microsoft.Maui.Platform.LayoutViewGroup, Microsoft.Maui, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]].get_PlatformView() in ViewHandlerOfT.cs:line 36 [mono-rt] at Telerik.Maui.Handlers.RadMaskedEntryHandler.GetTextInputFromNativeVisualTree() [mono-rt] at Telerik.Maui.Handlers.RadMaskedEntryHandler.UpdateNativeTextInput() [mono-rt] at Telerik.Maui.Handlers.RadMaskedEntryHandler.NativeView_ChildViewRemoved(Object sender, ChildViewRemovedEventArgs args)
BackgroundColor is not applied property when DynamicResource is used and button enabling state is changed
<Style TargetType="telerik:RadButton" x:Key="MyTelerikButtonStyle">
<Setter Property="TextColor" Value="{DynamicResource MyPrimaryColor}" />
<Setter Property="BackgroundColor" Value="{DynamicResource MySecondaryColor}" />
<Style.Triggers>
<Trigger TargetType="telerik:RadButton" Property="IsEnabled" Value="false" >
<Setter Property="BackgroundColor" Value="Gray" />
</Trigger>
</Style.Triggers>
</Style>
WORKAROUND:
Use StaticResource:
<Setter Property="TextColor" Value="White" />
<Setter Property="BackgroundColor" Value="Green" />
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.
Hi,
I'am testing Telerik .NET MAUI controls for windows and android. FontFamily property of columns (both for xaml and app.xaml) not working. If an embedded font is choosen for whole application, DataGrids look different from other parts of the application
here is my xaml, "fnt_bold" is a MauiFont in resources. All other ui components are shown in my font
<telerik:RadDataGrid x:Name="dataGrid" AutoGenerateColumns="False" UserEditMode="None" UserGroupMode="Disabled" SelectionMode="Single" SelectionUnit="Row" >
<telerik:RadDataGrid.Columns>
<telerik:DataGridTextColumn PropertyName="ID" HeaderText="RefID" Width="60" SizeMode="Fixed">
<telerik:DataGridTextColumn.CellContentStyle>
<telerik:DataGridTextCellStyle FontFamily="fnt_bold" FontSize="12.25"/>
</telerik:DataGridTextColumn.CellContentStyle>
</telerik:DataGridTextColumn>
<telerik:DataGridTextColumn PropertyName="CODE" HeaderText="Code" Width="80" SizeMode="Fixed">
<telerik:DataGridTextColumn.CellContentStyle>
<telerik:DataGridTextCellStyle FontFamily="fnt_bold" FontSize="12.25"/>
</telerik:DataGridTextColumn.CellContentStyle>
</telerik:DataGridTextColumn>
<telerik:DataGridTextColumn PropertyName="NAME" HeaderText="Name" Width="250" SizeMode="Fixed">
<telerik:DataGridTextColumn.CellContentStyle>
<telerik:DataGridTextCellStyle FontFamily="fnt_regular" FontSize="12.25"/>
</telerik:DataGridTextColumn.CellContentStyle>
</telerik:DataGridTextColumn>
</telerik:RadDataGrid.Columns>
</telerik:RadDataGrid>
I have attached a screenshot from my test app.
I also checked the sample telerik android app (Telerik UI for .NET MAUI Controls). DataGrid components in Telerik Sample app also dont use the expected font unlike all other ui components.
Just one of the DataGrid samples of one column in the sample app has the correct fontfamily property. I have attached that screenshot also. I couldn't figure out how to implement it.
Am i missing something?
Thanks in advance.
Ender
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.
Popup:
Calling
IsOpen = true,
IsOpen = false,
IsOpen = true,
IsOpen = false,
while the last IsOpen update isn't ready, kills the Popup.
It works async, even if animations are set to none/0s and there is no public event to validate the last update is fully done (Popup opened/closed)
In my case i have a popup opened, while a search operation is running in the background.
If this background search returns too fast and i set IsOpen to false, the update is ignored and the popup keeps in an opened state.
<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;
});
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.
when the tab IsEnabled is set to False -> the style of the disabled tab changes, but the the disabled tab is still clickable.
when the tab IsVisible is set to False -> the tab is not visible, but its content is still visible.
1. filter the column by any distinct value
2. The filter is applied
3. Open the same filtering again and tap reset
4. All rows are visible and everything is ok
5. Open the same filtering again
The Checkbox from step 1 is still checked and checking any other checkbox and applying filtering does not work
On Android: RadEntry and .NET Maui Entry behavior are identical. When unfocused, the focused background is still applied.
On WinUI: RadEntry and .NET Maui behavior when are unfocused, the focused background is still applied. When RadEntry is in the "Focused" and "PointerOver" visual states, the control behavior is with the default state. When .NET Maui Entry is in the "Focused" and "PointerOver" visual states, the control behavior is with the "PoinetOver" visual state.
On iOS and MacCatalys: When RadEntry is unfocused, the focused background is still applied.
Run SDKBrowserMaui example on WinUI
Navigate to DataGrid->LoadOnDemandCategory->LoadOnDemandExmaple
Start scrolling the grid using the scrollbar
Crash occurs on WinUI.