skip navigation
  • Product Bundles

    DevCraft

    All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with:

    • NEW: Design Kits for Figma
    • Online Training
    • Document Processing Library
    • Embedded Reporting for web and desktop

    Web

    Kendo UI UI for jQuery UI for Angular UI for React UI for Vue UI for Blazor UI for ASP.NET Core UI for ASP.NET MVC UI for ASP.NET AJAX

    Mobile

    UI for .NET MAUI

    Document Management

    Telerik Document Processing

    Desktop

    UI for .NET MAUI UI for WinUI UI for WinForms UI for WPF

    Reporting

    Telerik Reporting Telerik Report Server

    Testing & Mocking

    Test Studio Test Studio Dev Edition Telerik JustMock

    CMS

    Sitefinity

    UI/UX Tools

    ThemeBuilder Design System Kit Templates and Building Blocks

    Debugging

    Fiddler Fiddler Everywhere Fiddler Classic Fiddler Everywhere Reporter FiddlerCore

    Free Tools

    VB.NET to C# Converter Testing Framework
    View all products
  • Overview
  • Demos
    • What's New
    • Roadmap
    • Release History
  • Support and Learning

    • Support and Learning Hub
    • First Steps
    • Docs
    • Demos
    • Virtual Classroom
    • Forums
    • Videos
    • Blogs
    • Accessibility
    • Submit a Ticket

    Productivity and Design Tools

    • Visual Studio Extensions
    • Visual Studio Templates
    • Embedded Reporting
  • Pricing
  • Shopping cart
    • Account Overview
    • Your Licenses
    • Downloads
    • Support Center
    • Forum Profile
    • Payment Methods
    • Edit Profile
    • Log out
  • Login
  • Contact Us
  • Try now

Class SystemSkinManager

Inheritance
System.Object
SystemSkinManager
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Telerik.WinControls
Assembly: Telerik.WinControls.dll

Syntax

public class SystemSkinManager

Constructors

SystemSkinManager()

Declaration
public SystemSkinManager()

Fields

DefaultElement

Used to instruct the system skin painting mechanism that a custom painting will be performed in the PaintElementSkin method.

Declaration
public static readonly VisualStyleElement DefaultElement
Field Value
System.Windows.Forms.VisualStyles.VisualStyleElement

EmptyElement

Used internally by the framework to determine whether we just want to skip TPF's drawing.

Declaration
public static readonly VisualStyleElement EmptyElement
Field Value
System.Windows.Forms.VisualStyles.VisualStyleElement

Properties

CurrentElement

Gets the currently attached element.

Declaration
public VisualStyleElement CurrentElement { get; }
Property Value
System.Windows.Forms.VisualStyles.VisualStyleElement

Instance

Gets the only instance of this manager.

Declaration
public static SystemSkinManager Instance { get; }
Property Value
SystemSkinManager

IsVistaOrLater

Declaration
public static bool IsVistaOrLater { get; }
Property Value
System.Boolean

Returns true on Windows Vista or newer operating systems; otherwise, false.

Renderer

Declaration
public VisualStyleRenderer Renderer { get; }
Property Value
System.Windows.Forms.VisualStyles.VisualStyleRenderer

UseSystemSkin

Determines whether system skins will be applied on RadControls

Declaration
public bool UseSystemSkin { get; set; }
Property Value
System.Boolean

Methods

GetPartPreferredSize(Graphics, Rectangle, ThemeSizeType)

Declaration
public Size GetPartPreferredSize(Graphics g, Rectangle bounds, ThemeSizeType type)
Parameters
System.Drawing.Graphics g

System.Drawing.Rectangle bounds

System.Windows.Forms.VisualStyles.ThemeSizeType type

Returns
System.Drawing.Size

GetThemeColor(ColorProperty)

Gets the Color defined for the current element.

Declaration
public Color GetThemeColor(ColorProperty color)
Parameters
System.Windows.Forms.VisualStyles.ColorProperty color

Returns
System.Drawing.Color

NotifyChange()

Invalidates all opened forms upon a user-triggered change in this class.

Declaration
public void NotifyChange()

PaintCurrentElement(Graphics, Rectangle)

Paints the current element (previously specified by the SetCurrentElement method) on the provided graphics surface, within the desired bounds.

Declaration
public void PaintCurrentElement(Graphics g, Rectangle bounds)
Parameters
System.Drawing.Graphics g

System.Drawing.Rectangle bounds

SetCurrentElement(VisualStyleElement)

Sets the specified element as the "Current" for painting.

Declaration
public bool SetCurrentElement(VisualStyleElement element)
Parameters
System.Windows.Forms.VisualStyles.VisualStyleElement element

Returns
System.Boolean

True if the element may be painted (there is a theme part defined for it), false otherwise.

Extension Methods

SvgExtentions.Traverse<T>(T, Func<T, IEnumerable<T>>)
SvgExtentions.TraverseDepthFirst<T>(T, Func<T, IEnumerable<T>>)
Getting Started
  • Install Now
  • Demos
  • Step-by-Step Tutorial
  • Sample Applications
  • SDK Samples
  • Visual Studio Extensions
Support Resources
  • Code Library
  • Knowledge Base
  • Videos
Community
  • Forums
  • Blogs
  • Feedback Portal
  • Document Processing Feedback Portal

Copyright © 2018 Progress Software Corporation and/or its subsidiaries or affiliates.
All Rights Reserved.

Progress, Telerik, and certain product names used herein are trademarks or registered trademarks of Progress Software Corporation and/or one of its subsidiaries or affiliates in the U.S. and/or other countries. See Trademarks for appropriate markings.