Skip to content

ReactiveWindowBase.IsValidViewModelValue(object?) method

Defined in

Type: ReactiveWindowBase Namespace: ReactiveUI.Avalonia.Reactive Assembly: ReactiveUI.Avalonia.Reactive.dll

Applies to

net10.0, net9.0, net8.0

protected virtual bool IsValidViewModelValue(object? value)

View source

Summary: Determines whether the specified value is valid for the view model property.

Parameters

NameTypeDescription
valueobject?The value to validate.

Returns: bool -- true when the value can be assigned to ViewModelProperty; otherwise, false.