Method GetBestSizeWithPadding
GetBestSizeWithPadding(PreferredSizeContext)
Gets size of the native control based on the specified available size.
protected SizeD GetBestSizeWithPadding(PreferredSizeContext context)
Parameters
contextPreferredSizeContextThe PreferredSizeContext representing context for the layout.