Constructor PreferredSizeContext
PreferredSizeContext(SizeD)
Initializes a new instance of the PreferredSizeContext struct with the specified available size.
public PreferredSizeContext(SizeD availableSize)
Parameters
availableSizeSizeDThe available size for the UI element.
PreferredSizeContext(float, float)
Initializes a new instance of the PreferredSizeContext struct with the specified available width and height.
public PreferredSizeContext(float width, float height)