Canvas Page Grid Page
All posts by
.Pages general
Page grids, adding elements to a page, etc These things are all in separate dedicated folders on this site. A good place to start is at: https://ibex.tech/windows-iot/windows-iot/uwp-programming-in-c/grid/grid-2
Installing / Setting up for programming
Ensure you have installed the latest Windows 10 SDK Download the latest Windows 10 SDK https://developer.microsoft.com/en-us/windows/downloads/windows-10-sdk
.Where to start
Setup your device to run Windows 10 Iot Core Starting with the Raspberry Pi: https://ibex.tech/windows-iot/windows-iot/hardware/raspberry-pi/creating-image-for-for-a-raspberry-pi Create A New Project https://ibex.tech/windows-iot/windows-iot/uwp-programming-in-c/projects-general/creating-a-new-project
Converting Variables
Convert Float / Single to Bytes float float1 = 1.0F; Byte[] ByteArray1 = BitConverter.GetBytes(float1); Convert Bytes to Float/Single Byte[] ByteArray1 = new Byte[4] {1,2,3,4}; float float1 = BitConverter.ToSingle(ByteArray1, 0);
Making Visual C# work the way we like
Menu > Tools > Options Text Editor > C# Turn off “# references” being auto displayed above everything by VS Text Editor > C/C++ (we do these too for when we use VS to edit C files)
Verify Numeric Value
Convert string to value without erroring on fail For larger values: Verifying a form TextBox value example
Rename project
Open the project and rename in the solution explorer Change output exe name Right click on project in Solution Explorer and select “Properties” from popup menu > “Application” change the “Assembly name”
“is inaccessible due to its protection level”
"is inaccessible due to its protection level" error message Have you used "public" when creating the class and the constructor method the class you are accessing?
Data furnace
Really interesting data furnace idea at datafurnace.org