Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets the first Visual ancestor for the focused element in a given Focus Scope.
Namespace: Microsoft.TeamFoundation.Controls.WPF
Assembly: Microsoft.TeamFoundation.Controls (in Microsoft.TeamFoundation.Controls.dll)
Syntax
'Declaration
Public Shared Function GetFocusedVisual ( _
focusScope As DependencyObject _
) As Visual
public static Visual GetFocusedVisual(
DependencyObject focusScope
)
public:
static Visual^ GetFocusedVisual(
DependencyObject^ focusScope
)
static member GetFocusedVisual :
focusScope:DependencyObject -> Visual
public static function GetFocusedVisual(
focusScope : DependencyObject
) : Visual
Parameters
- focusScope
Type: System.Windows.DependencyObject
Return Value
Type: System.Windows.Media.Visual
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.