Silk4NET C# retrieve background color property of WPFTextBox
How to retrieve the background colour property of a WPFTextBox using Silk4NET C#
The following example uses the WPFTextBox shown below from the WPF Sample Applicatoin Basic Controls ToolTip tab.
In the Silk4NET test method we can do the following:
WPFBase t = (WPFBase)basicControls.WPFTextBox("Useful information goes here").GetProperty("Background");
When the test is run the Silk TrueLog Explorer result information will include the hex string of the backgroud color as follows:
In the RGB color space #FFFFFFFF is also known as white.