WithWidth Method
Returns a new PixelSize with the same height and the specified width.
Definition
Namespace: Avalonia
Assembly: Avalonia.Base (in Avalonia.Base.dll)
- C#
- VB
- F#
public PixelSize WithWidth(
int width
)
Public Function WithWidth (
width As Integer
) As PixelSize
member WithWidth :
width : int -> PixelSize
Parameters
- Int32
- The width.