Share via


RibbonTabAutomationPeer.GetBoundingRectangleCore Method

Gets the Rect object that represents the screen coordinates of the RibbonTab that is associated with the RibbonTabAutomationPeer.

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

Syntax

'Declaration
Protected Overrides Function GetBoundingRectangleCore As Rect
protected override Rect GetBoundingRectangleCore()
protected:
virtual Rect GetBoundingRectangleCore() override
abstract GetBoundingRectangleCore : unit -> Rect 
override GetBoundingRectangleCore : unit -> Rect 
protected override function GetBoundingRectangleCore() : Rect

Return Value

Type: System.Windows.Rect
The Rect object that represents the screen coordinates of the RibbonTab that is associated with theRibbonTabAutomationPeer.

.NET Framework Security

See Also

Reference

RibbonTabAutomationPeer Class

Microsoft.Windows.Automation.Peers Namespace