Back to Devexpress

RichEditControl.IsSelectionInHeaderOrFooter Property

windowsforms-devexpress-dot-xtrarichedit-dot-richeditcontrol-3bcca36b.md

latest2.1 KB
Original Source

RichEditControl.IsSelectionInHeaderOrFooter Property

Indicates whether the selection (CaretPosition) is located in the main document or the header or footer.

Namespace : DevExpress.XtraRichEdit

Assembly : DevExpress.XtraRichEdit.v25.2.dll

NuGet Package : DevExpress.Win.RichEdit

Declaration

csharp
[Browsable(false)]
public bool IsSelectionInHeaderOrFooter { get; }
vb
<Browsable(False)>
Public ReadOnly Property IsSelectionInHeaderOrFooter As Boolean

Property Value

TypeDescription
Boolean

true if the caret is located in the header or footer; otherwise, false.

|

Remarks

For more specific information use the RichEditControl.IsSelectionInHeader and the RichEditControl.IsSelectionInFooter methods.

See Also

CaretPosition

HasHeader(HeaderFooterType)

HasFooter(HeaderFooterType)

ChangeActiveDocument(SubDocument)

RichEditControl Class

RichEditControl Members

DevExpress.XtraRichEdit Namespace