Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
CssClassPropertyAttribute Class
Collapse the table of content
Expand the table of content

CssClassPropertyAttribute Class

Adds Cascading Style Sheet (CSS) editing capabilities to a property at design time.

Namespace:  System.Web.UI
Assembly:  System.Web (in System.Web.dll)

[AttributeUsageAttribute(AttributeTargets.Property)]
[AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, Level = AspNetHostingPermissionLevel.Minimal)]
public sealed class CssClassPropertyAttribute : Attribute

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.

System.Object
  System.Attribute
    System.Web.UI.CssClassPropertyAttribute

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

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.

.NET Framework

Supported in: 3.5 SP1, 3.0 SP1, 2.0 SP1

Community Additions

ADD
Show:
© 2015 Microsoft