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

AutomationPeer.IsContentElement Method

Gets a value that indicates whether the element that is associated with this automation peer is an element that contains data that is presented to the user.

Namespace: System.Windows.Automation.Peers
Assembly: PresentationCore (in presentationcore.dll)

public bool IsContentElement ()
public boolean IsContentElement ()
public function IsContentElement () : boolean
You cannot use methods in XAML.

Return Value

true if the element is a content element; otherwise, false.

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 on a dialog box. You typically use non-content elements, which are also called peripheral elements, to manipulate the content in a composite control. An example of a non-content element is the button on a drop-down control.

Windows 98, Windows Server 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.