Override GetBoundingRectangleCoreto return the indicator's position and size

Namespace:  Microsoft.Lync.Controls.AutomationPeers
Assembly:  Microsoft.Lync.Controls(in Microsoft.Lync.Controls.dll)

Syntax

C#
protected 
override 
Rect 
GetBoundingRectangleCore()

Return Value

Remarks

In Silverlight, Viewbox does not allow for an automation client to find the size of it's underlying contents, so we manually do the computation and expose it through the override. In WPF, we can rely on FrameworkElement's implementation of GetBoundingRectangleCore

See Also