Gets an optimal width of Cell required to display the content without the loss of information.

Namespace: Dapfor.Net.Ui
Assembly: Dapfor.Net (in Dapfor.Net.dll) Version: 2.10.3.24917 (2.10.3.24917)

Syntax

C#
public int OptimalWidth { get; }
Visual Basic
Public ReadOnly Property OptimalWidth As Integer
	Get
Visual C++
public:
property int OptimalWidth {
	int get ();
}
F#
member OptimalWidth : int with get

Property Value

Type: Int32
The optimal width.

Remarks

This property is usually used by Adjust(Boolean, Boolean) method.

Thread Safety

The property is not thread safe.

See Also