編集

次の方法で共有


AutomationPeer.IsContentElement Method

Definition

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