Detecting Clicks/Touches On A Page

PointerPressed PointerPressed is a high level function that will be triggered before any control clicked / touched gets their Tapped event. Add to the Page_Loading Add to the Page_Unloaded Method that will be called

Read More

DataGrid From Class List

Simple Example In the .xaml file Add this to the start with the other xmlns lines: Add this where you want your DataGrid: In the .cs file In your function:

Read More

Adding A DataGrid

Resources https://docs.microsoft.com/en-us/windows/communitytoolkit/controls/datagrid_guidance/datagrid_basics Set the project up to support the DataGrid control Add the package In Solution Explorer panel, right click on your project name and select Manage NuGet Packages. Search for “Microsoft.Toolkit.UWP.UI.Controls.DataGrid”. Install the Microsoft.Toolkit.Uwp.UI.Controls.DataGrid nuget package. Add the reference to the top of your xaml page Add the DataGrid

Read More