Skip to main content

SpellChecker.ParentContainer Property

Gets or sets the control, representing the parent container for the XtraSpellChecker instance.

Namespace: DevExpress.XtraSpellChecker

Assembly: DevExpress.XtraSpellChecker.v24.1.dll

NuGet Package: DevExpress.Win.SpellChecker

Declaration

public Control ParentContainer { get; set; }

Property Value

Type Description
Control

A Control object, which is the parent container for the controls to be checked.

Remarks

Use the ParentContainer property to specify the control that contains the controls which should be checked for spelling mistakes. It could be a form or a panel populated with text controls. You can check all controls contained within the parent container by calling the SpellChecker.CheckContainer method without parameter. In the SpellCheckMode.AsYouType checking mode the spellchecker can be activated automatically for each control within the ParentContainer if the CheckAsYouTypeOptions.CheckControlsInParentContainer option is set to true.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the ParentContainer 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