Manually applies the skin to the specified control and optional child controls.


Namespace: SkinSoft.OSSkin
Assembly: SkinSoft.OSSkin (in SkinSoft.OSSkin.dll)

Syntax

Visual Basic (Declaration)
Public Shared Sub ApplySkin( _ 
   ByVal control As Control,  _ 
   ByVal childControls As Boolean _ 
)
C#
public static void ApplySkin(
   Control control,
   bool childControls
)
C++
public:
 static void ApplySkin(
   Control control,
   bool childControls
)
J#
public static void ApplySkin(
   Control control,
   bool childControls
)
JScript
public static  function ApplySkin(
   control : Control,
   childControls : bool
)

Parameters

control
The target Control
childControls
If true, then all child controls are affected; if false then just the control is affected.

Remarks

You would typically use this method to manually apply the skin to controls, or when the SkinMode is set to Manual.

This method can be called anywhere in your application.

See Also