Method RaisePaintForNonPlatformChildren
RaisePaintForNonPlatformChildren(AbstractControl?, Func<Graphics>)
Triggers the paint event for all non-platform child controls of the specified control.
public static void RaisePaintForNonPlatformChildren(AbstractControl? control, Func<Graphics> dc)
Parameters
controlAbstractControlThe parent control whose non-platform child controls will be painted. Can be null.
dcFunc<Graphics>A function that provides the Graphics object used for painting.
Remarks
This method iterates through the child controls of the specified
control and raises the paint event for those that
are not marked as platform controls.