Skip to main content

CheckAsYouTypeOptions.CheckControlsInParentContainer Property

Gets or sets whether the spell checker is activated on a user entering the control in the parent container.

Namespace: DevExpress.XtraSpellChecker

Assembly: DevExpress.XtraSpellChecker.v24.1.dll

NuGet Package: DevExpress.Win.SpellChecker

Declaration

[DefaultValue(false)]
[XtraSerializableProperty]
public bool CheckControlsInParentContainer { get; set; }

Property Value

Type Default Description
Boolean false

true if the spell check is started automatically when any control within a container gets focus; otherwise, false.

Property Paths

You can access this nested property as listed below:

Object Type Path to CheckControlsInParentContainer
SpellChecker
.CheckAsYouTypeOptions .CheckControlsInParentContainer

Remarks

If the CheckControlsInParentContainer property value is set to true, the spell checker activates the Check As You Type mode for a control on a form when this control gets a focus. So, misspelled words in a control’s text are underlined whenever a user enters the control.

Note

You can disable spell check for a particular control at design time by setting the CanCheckText on … field value in the Property Grid to false.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the CheckControlsInParentContainer property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also