Share via


RibbonTwoLineTextAutomationPeer.IsControlElementCore Method

Gets a value that indicates whether the RibbonTwoLineText that is associated with this automation peer contains data that is presented to the user. This method is called by IsControlElement.

Namespace:  Microsoft.Windows.Automation.Peers
Assembly:  RibbonControlsLibrary (in RibbonControlsLibrary.dll)

Syntax

'Declaration
Protected Overrides Function IsControlElementCore As Boolean
protected override bool IsControlElementCore()
protected:
virtual bool IsControlElementCore() override
abstract IsControlElementCore : unit -> bool 
override IsControlElementCore : unit -> bool 
protected override function IsControlElementCore() : boolean

Return Value

Type: System.Boolean
true if the RibbonTwoLineText that is associated with this automation peer contains data that is presented to the user; otherwise, false.

.NET Framework Security

See Also

Reference

RibbonTwoLineTextAutomationPeer Class

Microsoft.Windows.Automation.Peers Namespace