Skip to main content

ButtonEdit.IsNeedFocus Property

Gets whether a container control needs to set focus to the editor. For internal use.

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.XtraEditors.v25.2.dll

NuGet Package: DevExpress.Win.Navigation

Declaration

[Browsable(false)]
public override bool IsNeedFocus { get; }

Property Value

Type Description
Boolean

true if a container needs to set focus to the editor; otherwise, false.

Remarks

The IsNeedFocus property is used by container controls (for example, the Data Grid or TreeList) to determine whether they should set focus to the editor when a user attempts to activate it. If the property returns true, the container sets focus to the editor.

In ButtonEdit, IsNeedFocus returns true when the Properties.TextEditStyle property is set to TextEditStyles.Standard.

The IsNeedFocus property is intended for internal use. Applications typically do not need to access it directly.

See Also