PixelSizeWithWidth Method
Returns a new
PixelSize with the same height and the specified width.
Namespace: AvaloniaAssembly: Avalonia.Base (in Avalonia.Base.dll) Version: 11.3.999
public PixelSize WithWidth(
int width
)
Public Function WithWidth (
width As Integer
) As PixelSize
member WithWidth :
width : int -> PixelSize
- width Int32
- The width.
PixelSizeThe new
PixelSize.