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