SystemSkinManager
Definition
Namespace:Telerik.WinControls
Assembly:Telerik.WinControls.dll
Syntax:
public class SystemSkinManager
Inheritance: objectSystemSkinManager
Constructors
public SystemSkinManager()
Fields
Used to instruct the system skin painting mechanism that a custom painting will be performed in the PaintElementSkin method.
public static readonly VisualStyleElement DefaultElement
Used internally by the framework to determine whether we just want to skip TPF's drawing.
public static readonly VisualStyleElement EmptyElement
Properties
Gets the currently attached element.
public VisualStyleElement CurrentElement { get; }
Gets the only instance of this manager.
public static SystemSkinManager Instance { get; }
public static bool IsVistaOrLater { get; }
Returns true on Windows Vista or newer operating systems; otherwise, false.
public VisualStyleRenderer Renderer { get; }
Determines whether system skins will be applied on RadControls
public bool UseSystemSkin { get; set; }
Methods
public Size GetPartPreferredSize(Graphics g, Rectangle bounds, ThemeSizeType type)
Gets the Color defined for the current element.
Invalidates all opened forms upon a user-triggered change in this class.
public void NotifyChange()
Sets the specified element as the "Current" for painting.
public bool SetCurrentElement(VisualStyleElement element)
True if the element may be painted (there is a theme part defined for it), false otherwise.