windowsforms-devexpress-dot-xtrarichedit-dot-richeditcontrol-f509295b.md
Indicates whether any floating object in the document is selected.
Namespace : DevExpress.XtraRichEdit
Assembly : DevExpress.XtraRichEdit.v25.2.dll
NuGet Package : DevExpress.Win.RichEdit
[Browsable(false)]
public bool IsFloatingObjectSelected { get; }
<Browsable(False)>
Public ReadOnly Property IsFloatingObjectSelected As Boolean
| Type | Description |
|---|---|
| Boolean |
true if a floating object is selected; otherwise, false.
|
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the IsFloatingObjectSelected 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.
winforms-rich-edit-implement-ms-office-word-format-painter/CS/DXApplication9/Form1.cs#L78
tableToolsRibbonPageCategory1.Visible = richEditControl.IsSelectionInTable();
floatingPictureToolsRibbonPageCategory1.Visible = richEditControl.IsFloatingObjectSelected;
}
winforms-rich-edit-implement-ms-office-word-format-painter/VB/DXApplication9/Form1.vb#L71
tableToolsRibbonPageCategory1.Visible = richEditControl.IsSelectionInTable()
floatingPictureToolsRibbonPageCategory1.Visible = richEditControl.IsFloatingObjectSelected
End Sub
See Also