ButtonEdit.IsNeedFocus Property

Gets a value indicating whether a container needs to set focus to the editor when it works as an inplace control.

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.XtraEditors.v20.1.dll

Declaration

[Browsable(false)]
public override bool IsNeedFocus { get; }
<Browsable(False)>
Public Overrides ReadOnly Property IsNeedFocus As Boolean

Property Value

Type Description
Boolean

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

Remarks

The IsNeedFocus property is mostly used when using editors inplace within container controls. It determines whether the editor needs to be focused when a user clicks or tries to focus the editor. If this property returns true, the container sets focus to the editor.

In the ButtonEdit class, IsNeedFocus returns true if the RepositoryItemButtonEdit.TextEditStyle property is set to TextEditStyles.Standard.

This property is used internally. Most commonly, you will have no need to use it in applications.

See Also