https://learn.microsoft.com/en-us/dotnet/api/system.windows.forms.control.getstyle?view=netframework-4.8.1&redirectedfrom=MSDN
Control.GetStyle(ControlStyles) Method (System.Windows.Forms) | Microsoft Learn
Retrieves the value of the specified control style bit for the control.
windows formscontrolmethodsystemmicrosoft