Share via


RichTextBlockAutomationPeer.IsControlElementCore Method

Microsoft Silverlight will reach end of support after October 2021. Learn more.

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)

Syntax

'Declaration
Protected Overrides Function IsControlElementCore As Boolean
protected override bool IsControlElementCore()

Return Value

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

Remarks

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.

Version Information

Silverlight

Supported in: 5

Platforms

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