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.v21.2.dll
NuGet Packages: DevExpress.Win.Design, 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 |
|
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.