protected string style;
private TapGestureDetector tapGestureDetector = new TapGestureDetector();
- private bool isFocused = false;
/// This will be public opened in tizen_6.0 after ACR done. Before ACR, need to be hidden as inhouse API.
[EditorBrowsable(EditorBrowsableState.Never)]
/// <since_tizen> 6 </since_tizen>
internal bool StateFocusableOnTouchMode { get; set; }
- internal bool IsFocused => (isFocused || HasFocus());
+ internal bool IsFocused { get; set; } = false;
/// <summary>
/// Dispose Control and all children on it.
[EditorBrowsable(EditorBrowsableState.Never)]
public override void OnFocusGained()
{
- isFocused = true;
+ IsFocused = true;
}
/// <summary>
[EditorBrowsable(EditorBrowsableState.Never)]
public override void OnFocusLost()
{
- isFocused = false;
+ IsFocused = false;
}
/// <summary>