SizeWithWidth Method
Returns a new
Size with the same height and the specified width.
Namespace: AvaloniaAssembly: Avalonia.Base (in Avalonia.Base.dll) Version: 11.3.999
public Size WithWidth(
double width
)
Public Function WithWidth (
width As Double
) As Size
member WithWidth :
width : float -> Size
- width Double
- The width.
SizeThe new
Size.