Click or drag to resize

FormCanFocus Property

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; }

Property Value

Type: Boolean
true 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