Win UI 3.0 Controls

Neeshu 1 Reputation point
2022-09-22T05:10:21.693+00:00

We're trying to develop Win UI 3.0 desktop application and required help for the following challenges-

  1. Controls like Graph, Charts is not found in WIN UI controls list.
  2. Datagrid binding with DataTable/DataSet- In WPF we can directly bind the DataTables to DataGrid. But the same is
    not working in WIn UI, though it is not showing error, the data are not populated successfully.
  3. Customization on the DataGrid. Would like to apply Column Header formats. Could not find an option to do that.
  4. Resizing the ContentDialogWindows during runtime- Its not working.
Windows development | Windows App SDK
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Castorix31 90,686 Reputation points
    2022-09-22T05:30:51.257+00:00

    About Datagrid, I had posted 2 ways to load data in this thread : win UI 3 - Load DataGrid from DataTable

    As WinUI 3 apps are win32 desktop apps, you can use Win32 OCX controls, like Chart controls or others, embedded in a child window, with ATL for example.
    There are also some controls from GitHub, like LiveCharts2 (not tested)

    For ContentDialog width, you can set ContentDialogMaxWidth like I posted in this thread,
    then you can change the width at runtime (with a Grid or UserControl as Content for example)

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.