'Declaration
Public Overridable Function CalculatePreferredSize( _ ByVal context As NPaintContext, _ ByVal item As NImageAndTextItem, _ ByVal available As NSize _ ) As NSize
'Usage
Dim instance As NImageAndTextLayout Dim context As NPaintContext Dim item As NImageAndTextItem Dim available As NSize Dim value As NSize value = instance.CalculatePreferredSize(context, item, available)
public virtual NSize CalculatePreferredSize( NPaintContext context, NImageAndTextItem item, NSize available )
Parameters
- context
- item
- available