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.