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

Hi,

This list view is using group by.

I want the first item to be open all other items of grouping will be closed  it possible?

       <telerikDataControls:RadListView ItemsSource="{Binding RulesSource, Mode=TwoWay}" x:Name="rulesListView" 
                
                >
                <telerikDataControls:RadListView.SelectedItemStyle>
                    <telerikListView:ListViewItemStyle BackgroundColor="#83A9E2"
                                    TextCellTextColor="#AAC7F6"
                                    BorderColor="#0A3A82"
                                    BorderWidth="2"
                                    BorderLocation="Bottom"/>
                </telerikDataControls:RadListView.SelectedItemStyle>
                <telerikDataControls:RadListView.PressedItemStyle>
                    <telerikListView:ListViewItemStyle BackgroundColor="#C1C1C1"
                                    TextCellTextColor="#AAC7F6"
                                    BorderColor="#0B3D89"
                                    BorderWidth="2"
                                    BorderLocation="Bottom"/>
                </telerikDataControls:RadListView.PressedItemStyle>
                <telerikDataControls:RadListView.ReorderItemStyle>
                    <telerikListView:ListViewItemStyle BackgroundColor="#0B3D89"
                                    TextCellTextColor="#AAC7F6"
                                    BorderColor="Black"
                                    BorderWidth="2"
                                    BorderLocation="All" />
                </telerikDataControls:RadListView.ReorderItemStyle>
                <telerikDataControls:RadListView.GroupDescriptors>
                    <telerikListView:PropertyGroupDescriptor PropertyName="Portal" />
                </telerikDataControls:RadListView.GroupDescriptors>
                <telerikDataControls:RadListView.ItemTemplate>
                    <DataTemplate>
                        <telerikListView:ListViewTemplateCell>
                            <telerikListView:ListViewTemplateCell.View>
                                <telerik:RadBorder  BorderColor="{DynamicResource PrimaryColor}" BorderThickness="1"   VerticalOptions="Center" CornerRadius="5" Margin="5" >
                                    <Grid HeightRequest="200" RowSpacing="10" RowDefinitions="auto, auto, auto, auto, auto" ColumnSpacing="10" ColumnDefinitions="auto, auto, auto, auto" HorizontalOptions="Center" VerticalOptions="Center">
                                        <Label Grid.Row="0" Grid.Column="0" Text="Capacity (Mega):" TextColor="Black" VerticalOptions="Center" FontSize="16" FontAttributes="Bold" Margin="5"/>
                                        <Label Grid.Row="0" Grid.Column="1" Text="{Binding Capacity}" TextColor="Black" VerticalOptions="Center" />
                                        <Label Grid.Row="0" Grid.Column="2" Text="Capacity in used (Mega):" TextColor="Black" VerticalOptions="Center" FontSize="16" FontAttributes="Bold" Margin="5"/>
                                        <Label Grid.Row="0" Grid.Column="3" Text="{Binding CapacityUsed}" TextColor="Black" VerticalOptions="Center" />

                                        <Label Grid.Row="1" Grid.Column="0" Text="Scan capacity (Mega/Mounth):" TextColor="Black" VerticalOptions="Center" FontSize="16" FontAttributes="Bold" Margin="5"/>
                                        <Label Grid.Row="1" Grid.Column="1" Text="{Binding ScanCapacity}" TextColor="Black" VerticalOptions="Center" />
                                        <Label Grid.Row="1" Grid.Column="2" Text="Scan capacity in used: (Mega/Mounth)" TextColor="Black" VerticalOptions="Center" FontSize="16" FontAttributes="Bold" Margin="5"/>
                                        <Label Grid.Row="1" Grid.Column="3" Text="{Binding ScanCapacityUsed}" TextColor="Black" VerticalOptions="Center" />

                                        <Label Grid.Row="2" Grid.Column="0" Text="File type black list:" TextColor="Black" VerticalOptions="Center" FontSize="16" FontAttributes="Bold" Margin="5"/>
                                        <Label Grid.Row="2" Grid.Column="1" Text="{Binding FileTypeBlackList}" TextColor="Black" VerticalOptions="Center" />
                                        <Label Grid.Row="2" Grid.Column="2" Text="File type black list:" TextColor="Black" VerticalOptions="Center" FontSize="16" FontAttributes="Bold" Margin="5"/>
                                        <Label Grid.Row="2" Grid.Column="3" Text="{Binding FileTypeWhiteList}" TextColor="Black" VerticalOptions="Center" />

                                        <Label Grid.Row="3" Grid.Column="0" Text="Max single file size: (Mega)" TextColor="Black" VerticalOptions="Center" FontSize="16" FontAttributes="Bold" Margin="5"/>
                                        <Label Grid.Row="3" Grid.Column="1" Text="{Binding MaxSingleFileSize}" TextColor="Black" VerticalOptions="Center" />
                                        <Label Grid.Row="3" Grid.Column="2" Text="Max files in job: (Mega)" TextColor="Black" VerticalOptions="Center" FontSize="16" FontAttributes="Bold" Margin="5"/>
                                        <Label Grid.Row="3" Grid.Column="3" Text="{Binding MaxFilesInJob}" TextColor="Black" VerticalOptions="Center" />
                                       
                                        <Label Grid.Row="4" Grid.Column="0" Text="Max total files size in job: (Mega)" TextColor="Black" VerticalOptions="Center" FontSize="16" FontAttributes="Bold" Margin="5"/>
                                        <Label Grid.Row="4" Grid.Column="1" Text="{Binding MaxSingleFileSize}" TextColor="Black" VerticalOptions="Center" />


                                    </Grid>
                                </telerik:RadBorder>
                            </telerikListView:ListViewTemplateCell.View>
                        </telerikListView:ListViewTemplateCell>
                    </DataTemplate>
                </telerikDataControls:RadListView.ItemTemplate>
                <telerikDataControls:RadListView.LayoutDefinition>
                    <telerikListView:ListViewLinearLayout ItemLength="200" />
                </telerikDataControls:RadListView.LayoutDefinition>
            </telerikDataControls:RadListView>
Lance | Senior Manager Technical Support
Telerik team
 answered on 27 Apr 2022
1 answer
355 views

Hi,

I want for given keys to show data  in master details style ?

Thanks,

Lance | Senior Manager Technical Support
Telerik team
 answered on 27 Apr 2022
0 answers
148 views

Hi,

How I set Height to ListViewTemplateCell.View to see all content?

Thanks,


      <telerikDataControls:RadListView ItemsSource="{Binding RulesSource, Mode=TwoWay}" x:Name="rulesListView" >
                <telerikDataControls:RadListView.GroupDescriptors>
                    <telerikListView:PropertyGroupDescriptor PropertyName="Portal"/>
                </telerikDataControls:RadListView.GroupDescriptors>
                <telerikDataControls:RadListView.ItemTemplate>
                    <DataTemplate>
                        <telerikListView:ListViewTemplateCell>
                            <telerikListView:ListViewTemplateCell.View>
                                <telerik:RadBorder  BorderColor="{DynamicResource PrimaryColor}" BorderThickness="1"   VerticalOptions="Center" CornerRadius="5" Margin="5" >
                                    <Grid RowSpacing="10" RowDefinitions="auto, auto, auto" ColumnSpacing="10" ColumnDefinitions="auto, auto, auto, auto, auto, auto,auto, auto" HorizontalOptions="Center" VerticalOptions="Center">
                                        <Label Grid.Row="0" Grid.Column="0" Text="Capacity (In Mega):" TextColor="Black" VerticalOptions="Center" FontSize="16" FontAttributes="Bold" Margin="5"/>
                                        <Label Grid.Row="0" Grid.Column="1" Text="{Binding Capacity}" TextColor="Black" VerticalOptions="Center" />
                                        <Label Grid.Row="0" Grid.Column="2" Text="Capacity in used (In Mega):" TextColor="Black" VerticalOptions="Center" FontSize="16" FontAttributes="Bold" Margin="5"/>
                                        <Label Grid.Row="0" Grid.Column="3" Text="{Binding CapacityUsed}" TextColor="Black" VerticalOptions="Center" />

                                        <Label Grid.Row="0" Grid.Column="4" Text="Scan capacity (In Mega/Mounth):" TextColor="Black" VerticalOptions="Center" FontSize="16" FontAttributes="Bold" Margin="5"/>
                                        <Label Grid.Row="0" Grid.Column="5" Text="{Binding ScanCapacity}" TextColor="Black" VerticalOptions="Center" />
                                        <Label Grid.Row="0" Grid.Column="6" Text="Scan capacity in used: (In Mega/Mounth)" TextColor="Black" VerticalOptions="Center" FontSize="16" FontAttributes="Bold" Margin="5"/>
                                        <Label Grid.Row="0" Grid.Column="7" Text="{Binding ScanCapacityUsed}" TextColor="Black" VerticalOptions="Center" />

                                        <Label Grid.Row="1" Grid.Column="0" Text="File type black list:" TextColor="Black" VerticalOptions="Center" FontSize="16" FontAttributes="Bold" Margin="5"/>
                                        <Label Grid.Row="1" Grid.Column="1" Text="{Binding FileTypeBlackList}" TextColor="Black" VerticalOptions="Center" />
                                        <Label Grid.Row="1" Grid.Column="2" Text="File type black list:" TextColor="Black" VerticalOptions="Center" FontSize="16" FontAttributes="Bold" Margin="5"/>
                                        <Label Grid.Row="1" Grid.Column="3" Text="{Binding FileTypeWhiteList}" TextColor="Black" VerticalOptions="Center" />

                                        <Label Grid.Row="2" Grid.Column="0" Text="Max single file size: (In Mega)" TextColor="Black" VerticalOptions="Center" FontSize="16" FontAttributes="Bold" Margin="5"/>
                                        <Label Grid.Row="2" Grid.Column="1" Text="{Binding MaxSingleFileSize}" TextColor="Black" VerticalOptions="Center" />
                                        <Label Grid.Row="2" Grid.Column="2" Text="Max files in job: (In Mega)" TextColor="Black" VerticalOptions="Center" FontSize="16" FontAttributes="Bold" Margin="5"/>
                                        <Label Grid.Row="2" Grid.Column="3" Text="{Binding MaxFilesInJob}" TextColor="Black" VerticalOptions="Center" />
                                        <Label Grid.Row="2" Grid.Column="4" Text="Max total files size in job: (In Mega)" TextColor="Black" VerticalOptions="Center" FontSize="16" FontAttributes="Bold" Margin="5"/>
                                        <Label Grid.Row="2" Grid.Column="5" Text="{Binding MaxSingleFileSize}" TextColor="Black" VerticalOptions="Center" />


                                    </Grid>
                                </telerik:RadBorder>
                            </telerikListView:ListViewTemplateCell.View>
                        </telerikListView:ListViewTemplateCell>
                    </DataTemplate>
                </telerikDataControls:RadListView.ItemTemplate>
                <telerikDataControls:RadListView.LayoutDefinition>
                    <telerikListView:ListViewLinearLayout ItemLength="60" />
                </telerikDataControls:RadListView.LayoutDefinition>
            </telerikDataControls:RadListView>

Daniel
Top achievements
Rank 1
Silver
Bronze
 asked on 27 Apr 2022
0 answers
69 views

Hi,

The template for new Add new view template in MAUI add dictionary file instead;

Can you help or give workaround how to overcome this issue ?

Thanks in advance,

 

Daniel
Top achievements
Rank 1
Silver
Bronze
 updated question on 27 Apr 2022
1 answer
1.9K+ views

Hi, 

Do you have this option ?

thanks,

Lance | Senior Manager Technical Support
Telerik team
 answered on 26 Apr 2022
1 answer
138 views

Hey Team,

I just want to know How can I custom a button derived  from telerik button? 

I want to use style to control different state. It should have front xaml and code behind for handling events or commands.

Do you have any suggestion?

Thanks

Lance | Senior Manager Technical Support
Telerik team
 answered on 22 Apr 2022
1 answer
174 views

I have try to set IsEnabled property for SegmentedControl,but not works.

And I want to disabled SegmentedControl without SetSegmentEnabled. 

Can I work this?

Thanks.

 


            <VerticalStackLayout>
                <!--  >> segmentcontrol-gettingstarted-xaml  -->
                <telerikInput:RadSegmentedControl x:Name="segmentControlText" 
                                              BackgroundColor="AliceBlue"
                                              IsEnabled="False"
                                              VerticalOptions="Start"/>
                <!--  << segmentcontrol-gettingstarted-xaml  -->
            </VerticalStackLayout>

 

Lance | Senior Manager Technical Support
Telerik team
 answered on 21 Apr 2022
2 answers
190 views

Hi,

Last VS 2022 preview released yesterday.

https://devblogs.microsoft.com/dotnet/dotnet-maui-rc-1/

Can I install it , without any change in Telerik controls.

If yes what are step to done after upgarding vs?

Thanks in advance,

Antoan
Telerik team
 answered on 19 Apr 2022
1 answer
1.1K+ views

Hi,

How  I set margin between the image and button text ?

Thanks,

Antoan
Telerik team
 answered on 18 Apr 2022
1 answer
484 views

MAUI popup

Can adjust the location of popup automatically, when Screen Resolution changed

let's say: the placement target change from normal with size to full-screen


TelerikUI popup

just stay where they are, when Screen Resolution changed

 

Antoan
Telerik team
 answered on 18 Apr 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?