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 ItemStateManagerBase

Inheritance
System.Object
ItemStateManagerBase
ItemStateManager
RadCheckmarkStateManager
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.Styles
Assembly: Telerik.WinControls.dll

Syntax

public abstract class ItemStateManagerBase

Constructors

ItemStateManagerBase()

Declaration
public ItemStateManagerBase()

Fields

stateDelimiter

Declaration
public const char stateDelimiter = '.'
Field Value
System.Char

Properties

DefaultVisibleStates

Declaration
public IEnumerable<string> DefaultVisibleStates { get; }
Property Value
System.Collections.Generic.IEnumerable<System.String>

Methods

AddDefaultVisibleState(String)

Declaration
public void AddDefaultVisibleState(string state)
Parameters
System.String state

AttachToItem(RadObject)

Declaration
public virtual StateManagerAttachmentData AttachToItem(RadObject item)
Parameters
RadObject item

Returns
StateManagerAttachmentData

AttachToItemOverride(StateManagerAttachmentData, RadObject)

Declaration
protected abstract void AttachToItemOverride(StateManagerAttachmentData attachData, RadObject item)
Parameters
StateManagerAttachmentData attachData

RadObject item

CombineStateNames(String, String)

Combines state names, using stateDelimiter Character.

Declaration
public static string CombineStateNames(string stateName, string stateName1)
Parameters
System.String stateName

System.String stateName1

Returns
System.String

Remarks

Egg. combining "Selected" and "MouseOver" gives "Selected.MouseOver"; combining "" and "MouseOver" gives "MouseOver"

Detach(StateManagerAttachmentData)

Declaration
public virtual void Detach(StateManagerAttachmentData data)
Parameters
StateManagerAttachmentData data

GetAvailableStates(String)

Declaration
public abstract StateDescriptionNode GetAvailableStates(string themeRoleName)
Parameters
System.String themeRoleName

Returns
StateDescriptionNode

GetInitialState(RadObject)

Declaration
public virtual string GetInitialState(RadObject item)
Parameters
RadObject item

Returns
System.String

GetStateFallbackList(RadItem)

Declaration
public IEnumerable<string> GetStateFallbackList(RadItem item)
Parameters
RadItem item

Returns
System.Collections.Generic.IEnumerable<System.String>

GetStateFullName(String, String)

Declaration
public string GetStateFullName(string itemThemeRole, string stateName)
Parameters
System.String itemThemeRole

System.String stateName

Returns
System.String

ItemStateChanged(RadObject, RadPropertyChangedEventArgs)

Declaration
public abstract void ItemStateChanged(RadObject senderItem, RadPropertyChangedEventArgs changeArgs)
Parameters
RadObject senderItem

RadPropertyChangedEventArgs changeArgs

RemoveDefaultVisibleState(String)

Declaration
public void RemoveDefaultVisibleState(string state)
Parameters
System.String state

SetItemState(RadObject, String[])

Combines ThemeRoleName with state names using "." as delimiter and sets the result to AttachedElement.Class

Declaration
protected void SetItemState(RadObject item, params string[] stateNames)
Parameters
RadObject item

System.String[] stateNames

VerifyState(String)

Declaration
public bool VerifyState(string state)
Parameters
System.String state

Returns
System.Boolean

VerifyState(String, String)

Declaration
public virtual bool VerifyState(string themeRoleName, string key)
Parameters
System.String themeRoleName

System.String key

Returns
System.Boolean

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.