Telerik Forums
UI for WinUI Forum
1 answer
141 views
Hi,

On the video, you see the WinUI and UWP versions of the same implementation. I use expando to set the ItemsSource.

Differences:
1- Header has a mouse over state on WinUI. What is the trick to not have this?

2- In my DescriptionControl.xaml, the control has an hard coded value of Height=192. WinUI grid ignores this value. However, setting the RowHeight in the RadDataGrid does the job. Is it a bug/regression/new expectation?

3- For each timestamp (TimestampColumn), the SizeMode is Auto. In WinUI, my columns are much larger than UWP version.

4- Surely super easy, how to change the foreground and background color of the header column? Background and Foreground don't exist on DataGridTypedColumn. The default output of UWP is nicer.

Thank you!
Vicky
Telerik team
 answered on 15 Jul 2022
1 answer
144 views

I was noticing that there is not a  VS Extensions for 2022 for the product set WinUI 2.X in my Progress folders.  And I'm not sure what this means.  

As you can see I have the templates for WinUI.  What am I missing?

Sincerely,
Keith Nicholson

Nikola
Telerik team
 answered on 13 Jul 2022
1 answer
174 views
Hi,

Load the sample app, it generates: Error HRESULT E_FAIL has been returned from a call to a COM component.

I have the same in a UWP app and it works perfectly.

<grid:RadDataGrid
            x:Name="DataGrid"
            Grid.Row="1"
            AutoGenerateColumns="True"
            Background="#f0f0f0"
            BorderThickness="0"
            FrozenColumnCount="4"
            GridLinesThickness="1"
            GridLinesVisibility="Horizontal"
            Margin="0,16,0,0"
            SelectionMode="None"
            UserColumnReorderMode="None"
            UserFilterMode="Disabled"
            UserGroupMode="Disabled">
            <grid:RadDataGrid.Commands>
                <powerNumbers:PowerNumbersAutoGenerateCommand />
            </grid:RadDataGrid.Commands>
        </grid:RadDataGrid>
Lance | Senior Manager Technical Support
Telerik team
 answered on 12 Jul 2022
2 answers
242 views

This works:

<Window
    x:Class="xxxxxx"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    xmlns:telerik="using:Telerik.UI.Xaml.Controls" 
    mc:Ignorable="d">
    <Grid>
        <TabView>
            <TabView.TabItems>
                <TabViewItem Header="CMD Prompt"/>
                <TabViewItem Header="PowerShell"/>
                <TabViewItem Header="Windows Subsystem for Linux"/>
            </TabView.TabItems>
        </TabView>
    </Grid>
</Window>


This does not due to the following. Using all of the latest nuget packages (2.0). I suspect it is related to being in a Window vs a control:

Microsoft.UI.Xaml.Markup.XamlParseException
  HResult=0x802B000A
  Message=XAML parsing failed.
  Source=WinRT.Runtime
  StackTrace:
   at WinRT.ExceptionHelpers.<ThrowExceptionForHR>g__Throw|20_0(Int32 hr)

<Window
    x:Class="xxxxxx"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    xmlns:telerik="using:Telerik.UI.Xaml.Controls" 
    mc:Ignorable="d">
    <Grid>
        <telerik:RadTabControl>
            <telerik:RadTabControl.Items>
                <telerik:RadTabItem Header="Tab 1" Content="The content of tab item 1"/>
                <telerik:RadTabItem Header="Tab 2" Content="The content of tab item 2"/>
                <telerik:RadTabItem Header="Tab 3" Content="The content of tab item 3"/>
                <telerik:RadTabItem Header="Tab 4" Content="The content of tab item 4"/>
            </telerik:RadTabControl.Items>
        </telerik:RadTabControl>
    </Grid>
</Window>

Alan
Top achievements
Rank 1
Iron
Iron
Iron
 answered on 18 May 2022
0 answers
238 views

Error NU1202 Package Telerik.WinUI.Controls 1.2.0 is not compatible with net6.0 (.NETCoreApp,Version=v6.0). Package Telerik.WinUI.Controls 1.2.0 supports:
  - net5.0-windows10.0.19041 (.NETCoreApp,Version=v5.0)
  - uap10.0 (UAP,Version=v10.0)

 

Is the above true? I am using 1.2 via nuget. Is that correct?

Alan
Top achievements
Rank 1
Iron
Iron
Iron
 asked on 29 Apr 2022
1 answer
91 views

So I was looking at the bits and I see three different sets of Binaries for the WinUI set.  What is the difference?

Sincerely,

Keith

Dilyan Traykov
Telerik team
 answered on 29 Apr 2022
1 answer
205 views

Ok so I have started a new project from the template and this is my XAML code#

I am getting the following error and cannot work out why ?

WMC0035 Duplication assignment to the 'Content' property of the 'Window'

WMC9997 There are multiple root elements. Line 21, position
<Window
    x:Class="Megasync_EAB.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="ListViewBasicSample">
    <Grid>
        <ListView
        x:Name="BaseExample"
        ItemTemplate="{StaticResource ContactListViewTemplate}"
        BorderThickness="1"
        BorderBrush="{ThemeResource SystemControlForegroundBaseMediumLowBrush}"
        Width="350"
        Height="400"
        HorizontalAlignment="Left"/>
    </Grid>

</Window>

<DataTemplate x:Key="ContactListViewTemplate" x:DataType="local:MegaData">
    <TextBlock Text="{x:Bind Name}" x:Phase="1" Margin="0,5,0,5"/>
</DataTemplate>


Lance | Senior Manager Technical Support
Telerik team
 answered on 13 Apr 2022
1 answer
129 views

Hi,

Any idea when we can expect the excel export functionality in Telerik WinUI?

 

Thanks

Stenly
Telerik team
 answered on 11 Feb 2022
1 answer
548 views

 

dear sir

I can't be executed in the unpackage mode.

 

 

 

Dilyan Traykov
Telerik team
 answered on 25 Jan 2022
1 answer
648 views

I can't launch any app because the code below shows this error: System.ComponentModel.Win32Exception: 'Access Denied'

var process = Process.Start(@"C:\foo.exe");

 

Lance | Senior Manager Technical Support
Telerik team
 answered on 12 Jan 2022
Top users last month
Patrick
Top achievements
Rank 1
Iron
Iron
Iron
MIS
Top achievements
Rank 1
Ross
Top achievements
Rank 1
Marcin
Top achievements
Rank 1
Iron
Iron
Sean
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?