RichTextBlockAutomationPeer.IsControlElementCore Method


Gets a value that indicates whether the RichTextBlock associated with this peer is understood by the user as interactive or as contributing to the logical structure of the UI.

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

protected override bool IsControlElementCore()

Return Value

Type: System.Boolean
false if the element is part of an applied template; otherwise, true.

Silverlight implements a behavior for this method whereby a RichTextBlock reports IsControlElementCore as true if the RichTextBlock is a declarative part of the UI, but returns false if the RichTextBlock is part of the template and control composition for another control. This method is called by IsControlElement.


Supported in: 5

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

Community Additions