GH_WindowsControlUtil

public sealed class GH_WindowsControlUtil
Exposes some static (Shared) utility functions for setting text-rendering properties en masse.

Methods

FixTextRenderingDefault

#
public static void FixTextRenderingDefault(Control control)
Sets the UseCompatibleTextRendering value to False on the control.
control (Control)

FixTextRenderingDefault

#
public static void FixTextRenderingDefault(ControlCollection iControls)
Recursively sets the UseCompatibleTextRendering value to False on each control.
iControls (Control.ControlCollection)
This example shows how to use this function to modify all the controls on a windows Form.
Dim frm As New MyVerySpecialForm()
Grasshopper.GUI.GH_WindowsControlUtil.FixTextRenderingDefault(frm.Controls)

frm.Show()

FixTextRenderingDefault

#
public static void FixTextRenderingDefault(IEnumerable<Control> C)
C (IEnumerable<Control>)