ButtonBase.IsFocused Property
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Gets a value that determines whether the button has focus.
Assembly: System.Windows (in System.Windows.dll)
Property Value
Type: System.Booleantrue if the control has focus; otherwise, false. The default is false.
Dependency property identifier field: IsFocusedProperty
IsFocused will not be set until OnGotFocus has been called. Therefore, you should not rely on the accuracy of the IsFocused property in a handler for the Focus event.
Show: