• Product Bundles

    DevCraft

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

    • Conversational UI
    • 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 ASP.NET AJAX UI for ASP.NET MVC UI for ASP.NET Core UI for Blazor UI for Silverlight UI for PHP UI for JSP
    Mobile
    UI for Xamarin
    Desktop
    UI for WinForms UI for WPF UI for WinUI UI for UWP
    Reporting & Mocking
    Telerik Reporting Telerik Report Server Telerik JustMock
    Automated Testing
    Test Studio Test Studio Dev Edition
    Debugging
    FiddlerCore Fiddler Everywhere
    CMS
    Sitefinity
    UX Design
    Unite UX
    Document Management
    Telerik Document Processing
    Innovations Lab
    VR DataViz
    Free Tools
    Fiddler Classic JustAssembly JustDecompile VB.NET to C# Converter Testing Framework
    View all products
  • Overview
  • Demos
    • What's New
    • Roadmap
    • Release History
  • Docs & Support
  • Pricing
  • Search
  • Shopping cart
    • Account Overview
    • Edit Profile
    • Payment Profiles
    • Renewals & Upgrades
    • Support Tickets
    • 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>>)

Was this article helpful?

Tell us how we can improve this article

Skip
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.