TryParse Method
Try parsing source as PixelSize.
Definition
Namespace: Avalonia
Assembly: Avalonia.Base (in Avalonia.Base.dll)
- C#
- VB
- F#
public static bool TryParse(
string? source,
out PixelSize? result
)
Public Shared Function TryParse (
source As String,
<OutAttribute> ByRef result As PixelSize
) As Boolean
static member TryParse :
source : string *
result : PixelSize byref -> bool
Parameters
Return Value
Boolean
true
if source is valid PixelSize, otherwise false
.