Telerik Forums
UI for Universal Windows Platform Forum
2 answers
30 views

Hi,

I have developed a UWP app which is working fine on my computer (x86 Architecture). The application should be run on a Raspberry PI3. I have moved from the the standard datagrid to using the RadDataGrid.

When I now want to build my app against the ARM architecture I get an error message: 'DataGridxxxx is not a member of xxxxControl'.

Is Telerik UI for UWP compatible with ARM? If not I need to revert to using the standard datagrid.

Bart
Top achievements
Rank 1
 answered on 17 Feb 2020
6 answers
105 views

Hi everyone,

In the UWP app I'm working on one page I have downloads multiple files (mostly PDF's) concurrently for users attending board meetings and lists them in a DataGrid with some columns  being defined in DataTemplates. The business requirements for this grid specify that while each item is downloading the DataGrid row should be disabled but from reading the docs and googling I cannot see any way to do this.

I am very new to the Telerik DataGrid though so still hoping this can be done, even if it involves some sort of hack - does anyone know how I could achieve this?

I have listed just the DataGrid XAML below but can add the DataTemplate code if needed.

<Grid:RadDataGrid x:Name="agendaDataGrid"
                              Grid.Row="4"
                              Margin="48,0,48,24"
                              HorizontalAlignment="Stretch"
                              VerticalAlignment="Stretch"
                              ItemsSource="{x:Bind ViewModel.AgendaItems, Mode=OneWay}"
                              UserGroupMode="Disabled"
                              UserFilterMode="Disabled"
                              UserColumnReorderMode="None"
                              UserSortMode="None"
                              AutoGenerateColumns="False"
                              GridLinesVisibility="Horizontal"
                              BorderBrush="Transparent"
                              BorderThickness="0"
                              SelectedItem="{x:Bind ViewModel.SelectedAgendaItem, Mode=TwoWay}"                             
                              LayoutUpdated="OnLayoutUpdated">

                <Grid:RadDataGrid.Columns>

                    <!-- Read state of item -->
                    <Grid:DataGridTemplateColumn SizeMode="Auto"                                                  
                                                 CellContentTemplate="{StaticResource ReadStateDataTemplate}">
                        <Grid:DataGridTemplateColumn.Header>
                            <Border CornerRadius="45"
                                    Background="{ThemeResource SystemControlDisabledChromeDisabledLowBrush}"
                                    Height="10"
                                    Width="10"
                                    />
                        </Grid:DataGridTemplateColumn.Header>
                    </Grid:DataGridTemplateColumn>

                    <!-- Item position -->
                    <Grid:DataGridNumericalColumn Header="#"
                                                  PropertyName="DisplayPosition"
                                                  SizeMode="Auto"  />

                    <!-- Download status -->
                    <Grid:DataGridTemplateColumn SizeMode="Auto" CellContentTemplateSelector="{StaticResource DownloadAgendaItemTemplateSelector}">
                        <Grid:DataGridTemplateColumn.Header>
                            <TextBlock FontFamily="{ThemeResource SymbolThemeFontFamily}"
                                       Text="&#xE896;" />
                        </Grid:DataGridTemplateColumn.Header>
                    </Grid:DataGridTemplateColumn>

                    <!-- Download status -->
                    <Grid:DataGridTemplateColumn SizeMode="Auto"
                                                 CellContentTemplateSelector="{StaticResource MediaAgendaItemDataTemplateSelector}">
                        <Grid:DataGridTemplateColumn.Header>
                            <TextBlock FontFamily="{ThemeResource SymbolThemeFontFamily}"
                                       Text="&#xEE56;" />
                        </Grid:DataGridTemplateColumn.Header>
                    </Grid:DataGridTemplateColumn>

                    <!-- Item name -->
                    <Grid:DataGridTextColumn x:Name="ItemNameColumn"
                                             Header="Item name"
                                             PropertyName="Name"
                                             SizeMode="Stretch"                                             
                                             />

                    <!-- Item type/style -->
                    <Grid:DataGridTextColumn Header="Type"
                                             PropertyName="Style"
                                             SizeMode="Auto" />

                    <!-- Estimated time of each item (or video length) -->
                    <Grid:DataGridTextColumn Header="Timing"
                                             PropertyName="Timing"
                                             SizeMode="Auto" />

                    <!-- Number of pages (PDF only)-->
                    <Grid:DataGridTextColumn Header="Pages"
                                             PropertyName="Pages"
                                             SizeMode="Auto" />

                    <!-- Colour of item in documents navigation bar in PdfAgendaItem -->
                    <Grid:DataGridTemplateColumn SizeMode="Fixed"
                                                 Width="5"
                                                 CellContentTemplate="{StaticResource ItemColourDataTemplate}" />
                </Grid:RadDataGrid.Columns>
            
                <FlyoutBase.AttachedFlyout>
                    <Flyout Placement="Full"
                            FlyoutPresenterStyle="{StaticResource VoteFlyoutPresenterStyle}">
                        <Grid Width="430">
                            <Grid.RowDefinitions>
                                <RowDefinition Height="Auto" />
                                <RowDefinition Height="Auto" />
                                <RowDefinition Height="Auto" />
                            </Grid.RowDefinitions>
                            <TextBlock TextWrapping="Wrap"
                                       Text="{x:Bind ViewModel.SelectedVoteItem.VoteTitle, Mode=OneWay}" />
                            <TextBlock TextWrapping="Wrap"
                                       Text="{x:Bind ViewModel.SelectedVoteItem.VoteDescription, Mode=OneWay}"
                                       Grid.Row="1" />
                            <ListView Grid.Row="3"
                                      ItemsSource="{x:Bind ViewModel.SelectedVoteItem.VoteOptions, Mode=OneWay}"
                                      ScrollViewer.VerticalScrollBarVisibility="Disabled" />
                        </Grid>
                    </Flyout>
                </FlyoutBase.AttachedFlyout>          
            
                <Interactivity:Interaction.Behaviors>
                    <Core:DataTriggerBehavior ComparisonCondition="NotEqual"
                                              Binding="{x:Bind ViewModel.SelectedVoteItem, Mode=OneWay}">
                        <components:OpenFlyoutAction TargetObject="{x:Bind agendaDataGrid, Mode=OneWay}" />
                    </Core:DataTriggerBehavior>
                </Interactivity:Interaction.Behaviors>
            
            </Grid:RadDataGrid>

Yana
Telerik team
 answered on 28 Jan 2020
1 answer
20 views

Chart Type: RadCartesianChart

The default Major Y grid lines are dashed.  Is there a way to style these as solid lines instead?  
I can't find a Setter for the DashStyle. 

Applicable UWP XAML below

xmlns:chart ="using:Telerik.UI.Xaml.Controls.Chart"
<Page.Resources>

   <Style TargetType="Line" x:Key="TChartGridLineStyle">
      <Setter Property="Stroke" Value="Gray"/>
      <Setter Property="StrokeThickness" Value="1"/>
   </Style>
</Page.Resources>

<chart:RadCartesianChart x:Name="TChart" >                           

<chart:RadCartesianChart.Grid>
      <chart:CartesianChartGrid MajorLinesVisibility="XY" MajorYLineStyle="{StaticResource ResourceKey=TChartGridLineStyle}" />
   </chart:RadCartesianChart.Grid>

</chart:RadCartesianChart>

 

Mark
Top achievements
Rank 1
 answered on 26 Jan 2020
3 answers
33 views

I'm using WPF to create an application that will using drag and drop elements from a large image.  For example I have a image of a panel and I want to be able to drag and drop sections of the image over to another image and drop it.  This action will trigger some underlying work.

I'm not really sure of the best way to do this with WPF and/or if there are any helpful Telerik UI WPF controls that will make this process easier.  My thought is:

1.  Sub divide my main large image into smaller individual images.

2.  Organize the smaller images using a control (here is where I'm not really sure what control to use) such that they can position next to each other making up what would appear to be a single "seamless" large image (kinda like a completed jigsaw puzzle but all the pieces are rectangular).

3.  User can drag and drop the image onto another image (which would be sub divided also), this would then trigger some internal process on the drop.

OR 

...is there some more refined/better approach where all I need to do is define hotspots for a single image and do a drag/drop operation that uses the defined hotspot area/coordinates?

Thoughts?

Cheers, Rob.

Martin Ivanov
Telerik team
 answered on 09 Jan 2020
1 answer
13 views

I'd like to be able to not show a group header if the group contains only 1 row. Using the grouping examples I am able to show a different header based on the number of children in the group, but can not see how to not show any header for single item groups.

 

Thanks

 

Yana
Telerik team
 answered on 09 Jan 2020
3 answers
29 views

Hello,

I was somewhat puzzled by the relatively short list of controls Telerik provide for UWP desktop apps 21 vs. the list of controls for WPF which is 92 (or so).

Was the list of controls restricted because of interchangeability with other platforms?

Cheers, Rob.

Yana
Telerik team
 answered on 16 Dec 2019
3 answers
5 views

Hi all

I have been looking for an example of how to open a radial menu as a context menu from a Telerik RadDataGrid but cannot seem to find one.

Does anybody have one?

Thanks

Yana
Telerik team
 answered on 31 Oct 2019
1 answer
19 views
Hi,

I just downloaded Telerik UI for UWP. I tried to use provided LineSeriesChart to draw some realtime data. However i have a problem with flickering. Could you please help me with this issue? I've attached the code from my project and the whole project as well.


Thank you very much!!!!
Didi
Telerik team
 answered on 15 Oct 2019
3 answers
63 views

Hi All

I am aiming to use Telerik.UWP for a real-time presentation of a
lineseries, which is the expected the refresh rate be around 10 to 100
fps.
I tried a very basic presentation with the following modifications, but
it seems that it can't generate the plot with the expected refresh rate. but it is fine with 1 or 2 fps.

Would you mind please to find out how I can solve the problem?
Kind regards
Reza

Lance | Manager Technical Support
Telerik team
 answered on 13 Oct 2019
3 answers
146 views

Hi,

 

Any plans to support this platform for Wasm, how about a blog post on how to compile Telerik UWP for Uno?

 

Thanks,

Scott

Lance | Manager Technical Support
Telerik team
 answered on 20 Sep 2019
Top users last month
Bernd
Top achievements
Rank 2
Iron
Iron
Iron
Benedikt
Top achievements
Rank 2
Iron
Veteran
Iron
Richard
Top achievements
Rank 2
Iron
Iron
Iron
Peter
Top achievements
Rank 1
Veteran
Iron
Salma
Top achievements
Rank 1
Iron