AutomationPeer.IsContentElement Method
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 a value that indicates whether the element that is associated with this automation peer contains data that is presented to the user.
public:
bool IsContentElement();
public bool IsContentElement ();
member this.IsContentElement : unit -> bool
Public Function IsContentElement () As Boolean
Returns
true
if the element is a content element; otherwise, false
.
Exceptions
A public call to this method is currently in progress.
Remarks
A content element contains data that is presented to the user. An example of a content element is an item in a list box or a button in a dialog box. You typically use non-content elements (which are also referred to as peripheral elements) to work with the content in a composite control. An example of a non-content element is the button in a drop-down control.
Applies to
See also
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈