.NET Framework Class Library
CssClassPropertyAttribute Class
Adds Cascading Style Sheet (CSS) editing capabilities to a property at design time.
Assembly: System.Web (in System.Web.dll)
Syntax
Visual Basic (Declaration)
<AttributeUsageAttribute(AttributeTargets.Property)> _ <AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, Level := AspNetHostingPermissionLevel.Minimal)> _ Public NotInheritable Class CssClassPropertyAttribute _ Inherits Attribute
Visual Basic (Usage)
Dim instance As CssClassPropertyAttribute
C#
[AttributeUsageAttribute(AttributeTargets.Property)] [AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, Level = AspNetHostingPermissionLevel.Minimal)] public sealed class CssClassPropertyAttribute : Attribute
Visual C++
[AttributeUsageAttribute(AttributeTargets::Property)] [AspNetHostingPermissionAttribute(SecurityAction::LinkDemand, Level = AspNetHostingPermissionLevel::Minimal)] public ref class CssClassPropertyAttribute sealed : public Attribute
JScript
public final class CssClassPropertyAttribute extends Attribute
Remarks
The CssClassPropertyAttribute class is used by developers to add design time Cascading Style Sheet (CSS) editing capabilities to a property in a property grid.
CssClassPropertyAttribute is introduced in the .NET Framework version 3.5. For more information, see .NET Framework 3.5 Architecture.
.NET Framework Security
-
AspNetHostingPermission
for operating in a hosted environment. Demand value: LinkDemand; Permission value: Minimal.
Inheritance Hierarchy
System.Object
System.Attribute
System.Web.UI.CssClassPropertyAttribute
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.Platforms
Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003
The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Version Information
.NET Framework
Supported in: 3.5 SP1, 3.0 SP1, 2.0 SP1See Also