Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

WebPartVerb.Checked Property

Gets or sets a value indicating that some state associated with a custom verb is currently active or selected.

Namespace:  System.Web.UI.WebControls.WebParts
Assembly:  System.Web (in System.Web.dll)
[ThemeableAttribute(false)]
public virtual bool Checked { get; set; }

Property Value

Type: System.Boolean
true if a state associated with a custom verb is currently active; otherwise, false. The default is false.

This property is not used with any of the standard verbs provided with the Web Parts control set. When it is used with custom verbs, and the property value is set to true, a selected check box appears next to the verb to indicate the active status of the verb.

The purpose of this property is to give developers a way of indicating that some custom state associated with a verb is currently active. For example, suppose a developer creates a custom verb that enlarges the text size (for accessibility purposes) of the body text on all WebPart controls in a zone. If a user clicks the verb, this property value could be set to true, which would cause a selected check box to appear next to the Increase Text Size verb in the verbs menu, indicating to users that the state associated with the verb (enlarged text) is active.

This property cannot be set by themes or style sheet themes. For more information, see ThemeableAttribute and ASP.NET Themes and Skins.

.NET Framework

Supported in: 4.5.1, 4.5, 4, 3.5, 3.0, 2.0

Windows Phone 8.1, Windows Phone 8, Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.