Click or drag to resize

ViewModelIsPropertyValidTViewModel, TProperty Method (ExpressionFuncTViewModel, TProperty)

Determines whether the specified property contains a valid value.

Namespace:  Enkoni.Framework.UI.Mvvm
Assembly:  Enkoni.Framework.UI (in Enkoni.Framework.UI.dll) Version: 1.3.0.1
Syntax
public bool IsPropertyValid<TViewModel, TProperty>(
	Expression<Func<TViewModel, TProperty>> property
)

Parameters

property
Type: System.Linq.ExpressionsExpressionFuncTViewModel, TProperty
The property that must be evaluated.

Type Parameters

TViewModel
The type of view model whose property is validated.
TProperty
The type of property that is validated.

Return Value

Type: Boolean
if the specified property is valid; otherwise, .
See Also