Extension methods for IHtmlAttributesContainer.
Definition
Namespace:Kendo.Mvc.Extensions
Assembly:Kendo.Mvc.dll
Syntax:
C#
public static class HtmlAttributesContainerExtensions
Inheritance: objectHtmlAttributesContainerExtensions
Inherited Members
Methods
Throws an exception if the specified CSS class is present in the container's HTML attributes.
C#
public static void ThrowIfClassIsPresent(this IHtmlAttributesContainer container, string @class, string message)
The HTML attributes container.
classstringThe CSS class to check for.
messagestringThe error message to display if the class is found.