Gets or sets a value indicating that this form can get keyboard/input focus when the user clicks on it or any child control.
Namespace:
Eto.Forms
Assembly:
Eto (in Eto.dll) Version: 2.5.3-dev
Syntax [DefaultValueAttribute(true)]
public bool CanFocus { get; set; }
<DefaultValueAttribute(true)>
Public Property CanFocus As Boolean
Get
Set
[<DefaultValueAttribute(true)>]
member CanFocus : bool with get, set
Property Value
Type:
Booleantrue if the form can get focus; otherwise,
false.
Remarks
This is useful for windows that provide interaction but do not steal focus from the current window, such as a tooltip, popover, etc.
See Also