Table of Contents

Property WantChars

Namespace
Alternet.UI
Assembly
Alternet.UI.Common.dll

WantChars

Gets or sets whether control wants to get all char/key events for all keys.

bool WantChars { get; set; }

Property Value

bool

Remarks

Use this to indicate that the control wants to get all char/key events for all keys

  • even for keys like TAB or ENTER which are usually used for dialog navigation and which wouldn't be generated without this style. If you need to use this style in order to get the arrows or etc., but would still like to have normal keyboard navigation take place, you should call Navigate in response to the key events for Tab and Shift-Tab.