WebPartVerb.Checked Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets a value indicating that some state associated with a custom verb is currently active or selected.
public:
virtual property bool Checked { bool get(); void set(bool value); };
[System.Web.UI.Themeable(false)]
public virtual bool Checked { get; set; }
[<System.Web.UI.Themeable(false)>]
member this.Checked : bool with get, set
Public Overridable Property Checked As Boolean
Property Value
true
if a state associated with a custom verb is currently active; otherwise, false
. The default is false
.
- Attributes
Remarks
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.
Applies to
.NET
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기