PixelSizeTryParse Method
Namespace: AvaloniaAssembly: Avalonia.Base (in Avalonia.Base.dll) Version: 11.3.999
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
- source String
- The String to parse.
- result PixelSize
- The result of parsing. if source is not valid result is Empty
Booleantrue if
source is valid
PixelSize, otherwise
false.