Version

RatingFor<TProperty>(Expression<Func<TModel,TProperty>>) Method

Helper to configure a Rating widget for a specific property of the model.
Syntax
'Declaration
 
Public Overloads Function RatingFor(Of TProperty)( _
   ByVal expression As System.Linq.Expressions.Expression(Of Func(Of TModel,TProperty)) _
) As RatingWrapper
public RatingWrapper RatingFor<TProperty>( 
   System.Linq.Expressions.Expression<Func<TModel,TProperty>> expression
)

Parameters

expression
The expression for a property of the model.

Type Parameters

TProperty
The type of the property.

Return Value

New instance of RatingWrapper
Requirements

Target Platforms: Windows 8.1, Windows 8.1, Windows 8, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

View on GitHub