Telerik Forums
UI for .NET MAUI Forum
1 answer
96 views

Hey Team, 

I have a question about how to modify only parts of components' TextColor which are included in ListView's TemplateCell if we disabled ListView.

For example, I have a DataTemplate which has two parts(right side, left side) , if I disabled listview, can we only modify right side TextColor to a Color?

For below code I just want to modify Description TextColor to a Color if we disabled ListView.

                    <DataTemplate>
                        <telerik:ListViewTemplateCell>
                            <telerik:ListViewTemplateCell.View>
                                <Grid x:Name="RadDockLayout"
                                      BackgroundColor="Gray">
                                    <Grid.ColumnDefinitions>
                                        <ColumnDefinition Width="152" />
                                        <ColumnDefinition Width="152" />
                                    </Grid.ColumnDefinitions>
                                    <Label HorizontalOptions="Start"
                                           Text="{Binding Name}"
                                           TextColor="White" />
                                    <Label Grid.Column="1"
                                           HorizontalOptions="End"
                                           Text="{Binding Description}"
                                           TextColor="White" />
                                </Grid>
                            </telerik:ListViewTemplateCell.View>
                        </telerik:ListViewTemplateCell>
                    </DataTemplate>

 

Thanks

Allen

Didi
Telerik team
 answered on 18 Aug 2022
1 answer
85 views

  Hi teams:

       When using the DataGrid control, when we use the DataGridTextColumn column property to generate a column and publish it to the ios real machine iphone test, a flashback operation will occur, but when we change the DataGridTemplateColumn column property to generate a column, the flashback operation will not occur.

       So we want to ask is it not possible to use this DataGridTextColumn to generate columns on the iphone? Or is there some other setting we missed?

       The code please refer to image,image1 will flash back,and image2 will not flash back.

        Thanks.

Antoan
Telerik team
 answered on 17 Aug 2022
1 answer
213 views

Hi Telerik Team,

I noticed that there is no more "Telerik UI for .NET MAUI pkg & MAUI Workload Mismatch Issue" like below in the latest version 2.3.0, my understanding is: Telerik UI for .NET MAUI pkg still has the dependency on MAUI Workload, but it did a good job on compatibility.

It will be perfect if you guys can share more insight or details about this improvement.

WINAPPSDKGENERATEPROJECTPRIFILE : error : PRI175: 0x80073b0f - Processing Resources failed with error: Duplicate Entry.
WINAPPSDKGENERATEPROJECTPRIFILE : error : PRI222: 0x80073b0f - Unspecified error occurred.

 

Note: version 2.3.0/version 2.2.0 worked with MAUI 419/449 and no matter what combination.

 

Antoan
Telerik team
 answered on 10 Aug 2022
2 answers
858 views

Hey Team,

I got a error when we added Telerik.UI.for.MAUI.Trial 1.0.1 reference into my MAUI class libraries, It said Project XXX is not compatible with net6.0 (.NETCoreApp,Version=v6.0). Project XXX supports: net6.0-windows10.0.19041 (.NETCoreApp,Version=v6.0)

For right now we created Unit Test for ClassLibrary and it is related Net 6.0. ClassLibrary needs other projects&amp;amp;nbsp;reference which include telerik, you can see my below screenshot.

Repro steps:

1. Create a MAUI class Library A and add Telerik.UI.for.MAUI.Trial 1.0.1 reference into library A.

2. Create a MAUI ClassLibrary B and add ClassLibraryA reference into B.

Is there a way to fix this issue?

 

Thanks

Allen

 

 

Lance | Senior Manager Technical Support
Telerik team
 answered on 05 Aug 2022
1 answer
195 views

I want to enlarge the font size in the option, but there is no fontsize attribute in this control. How can I enlarge the font of this option。

The code is as follows:


 <telerikInput:RadSegmentedControl Grid.Row="8" Grid.Column="1" Style="{StaticResource NormalSegmentControl}" ItemsSource="{Binding YesNoList}" SelectedIndex="{Binding CodeIndex, Mode=TwoWay}"/>

 

 

Antoan
Telerik team
 answered on 04 Aug 2022
1 answer
123 views

Hey Team, 

I have a question for how to implement zebra striping of RadListView? 

Do you have a in-built feature to do that?

 

For right now I know we can use DataTemplateSelector or Converter,  do we have a better in-built feature to do that?

 

Thanks

Allen

Antoan
Telerik team
 answered on 02 Aug 2022
0 answers
365 views

Hey Team,

I was wondering if it is a problem, when I used RadListView in a Grid, Grid has ColumnSpacing, 

for example:

 <Grid ... 
RowSpacing="1"
      ColumnSpacing="1"
      WidthRequest="305"
      HeightRequest="303"
      BackgroundColor="#FF454545">
    <Grid.RowDefinitions>
        <RowDefinition Height="36"/>
        <RowDefinition Height="28"/>
        <RowDefinition Height="82"/>
        <RowDefinition Height="50"/>
        <RowDefinition Height="50"/>
        <RowDefinition Height="50"/>
    </Grid.RowDefinitions>
    <Grid.ColumnDefinitions>
        <ColumnDefinition Width="152"/>
        <ColumnDefinition Width="152"/>
    </Grid.ColumnDefinitions>

    <telerik:RadListView x:Name="listView" Grid.Row="5" Grid.ColumnSpan="2" WidthRequest="305">
        <telerik:RadListView.ItemTemplate>
            <DataTemplate>
                <telerik:ListViewTemplateCell>
                    <telerik:ListViewTemplateCell.View>
                        <Grid BackgroundColor="Gray">
                            <Label Margin="10" Text="{Binding Name}" />
                        </Grid>
                    </telerik:ListViewTemplateCell.View>
                </telerik:ListViewTemplateCell>
            </DataTemplate>
        </telerik:RadListView.ItemTemplate>
    </telerik:RadListView>
.
.
.
</Grid>

I found the RadListView.Width is 304(ColumnDefinition plus), not 305. 

I want RadListView to fill all row space, but I failed because of ColumnSpacing. This issue is only existing on Windows.

Allen
Top achievements
Rank 1
Iron
Iron
 asked on 01 Aug 2022
1 answer
143 views

Using the RadDataGrid MAUI control does not seem to be formatting as the normal windows WPF GridView control.

example:


it does not seem to be seeing the carriage returns within the cells values.

Is this a bug or is there some thing I have to set in the control?

Thanks.

Deasun

[edited by Telerik support to occlude information in screenshots]

Lance | Senior Manager Technical Support
Telerik team
 updated question on 29 Jul 2022
2 answers
670 views

ENV: Maui workload 6.0.312 with Telerik UI for .NET MAUI 1.0.1

#1: Dose RadComboBox the support insert a icon as placeholder and input validation as below in the future roadmap?

#2 the bordercolor doesn't work (tried in TelerikSample app as well), what do I miss for this bordercolor setting?

also tried the Maui workload 6.0.400 with Telerik UI for .NET MAUI 2.0.0
<telerik:RadComboBox SelectionMode="Multiple" IsEditable="True" BorderColor="Green" BorderThickness="3"
                     DropDownBorderColor="Blue"
                     DropDownBorderThickness="2"
                     DropDownCornerRadius="5"
                     DropDownBackgroundColor="LightBlue">
                <telerik:RadComboBox.ItemsSource>
                    <x:Array Type="{x:Type x:String}">
                        <x:String>USA</x:String>
                        <x:String>Uganda</x:String>
                        <x:String>Ukraine</x:String>
                        <x:String>Canada</x:String>
                        <x:String>France</x:String>
                        <x:String>Italy</x:String>
                        <x:String>United Kingdom</x:String>
                        <x:String>China</x:String>
                        <x:String>Japan</x:String>
                    </x:Array>
                </telerik:RadComboBox.ItemsSource>
            </telerik:RadComboBox>

Antoan
Telerik team
 answered on 29 Jul 2022
1 answer
268 views
Hi,

I want to get the data through the viewmodel, sort the data multiple times, and render to the ui correctly according to the order of the data.

can i do it?

the code please refer to images.

eg: Grouping by Index,and OrderBy Index,Then Orderby Country.

thanks.
Antoan
Telerik team
 answered on 28 Jul 2022
Top users last month
Henri
Top achievements
Rank 2
Iron
Iron
Iron
SUNIL
Top achievements
Rank 2
Iron
Iron
Iron
David
Top achievements
Rank 1
Jackson
Top achievements
Rank 1
Iron
Iron
Tim
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?