Back to Devexpress

BarEditItemLink.CalcEditorBestSize(String) Method

windowsforms-devexpress-dot-xtrabars-dot-baredititemlink-dot-calceditorbestsize-x28-system-dot-string-x29.md

latest1.4 KB
Original Source

BarEditItemLink.CalcEditorBestSize(String) Method

Returns the size this editor should have to display the given text without clipping it.

Namespace : DevExpress.XtraBars

Assembly : DevExpress.XtraBars.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
public virtual Size CalcEditorBestSize(
    string displayText
)
vb
Public Overridable Function CalcEditorBestSize(
    displayText As String
) As Size

Parameters

NameTypeDescription
displayTextString

The text the editor should display.

|

Returns

TypeDescription
Size

The size required to display the given string entirely.

|

See Also

BarEditItemLink Class

BarEditItemLink Members

DevExpress.XtraBars Namespace