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