PixelSizeWithWidth Method

Returns a new PixelSize with the same height and the specified width.

Definition

Namespace: Avalonia
Assembly: Avalonia.Base (in Avalonia.Base.dll) Version: 11.3.999
public PixelSize WithWidth(
	int width
)

Parameters

width  Int32
The width.

Return Value

PixelSize
The new PixelSize.

See Also