Table of Contents

Constructor PreferredSizeContext

Namespace
Alternet.UI
Assembly
Alternet.UI.Common.dll

PreferredSizeContext(SizeD)

Initializes a new instance of the PreferredSizeContext struct with the specified available size.

public PreferredSizeContext(SizeD availableSize)

Parameters

availableSize SizeD

The 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)

Parameters

width float

The available width for the UI element.

height float

The available height for the UI element.