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