Manually removes the skin from the specified control and optional child controls.


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

Syntax

Visual Basic (Declaration)
Public Shared Sub RemoveSkin( _ 
   ByVal control As Control,  _ 
   ByVal childControls As Boolean _ 
)
C#
public static void RemoveSkin(
   Control control,
   bool childControls
)
C++
public:
 static void RemoveSkin(
   Control control,
   bool childControls
)
J#
public static void RemoveSkin(
   Control control,
   bool childControls
)
JScript
public static  function RemoveSkin(
   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 remove the skin from a control, or when the SkinMode is set to Manual.

This method can be called anywhere in your application.

See Also