HtmlHelperExtensions..::..GetTextFor<(Of <(<'TModel, TProperty>)>)> Method
Text value of model property.
Namespace:
Suoranta.WebApp.View.RazorHelpersAssembly: Suoranta.WebApp (in Suoranta.WebApp.dll)
Syntax
public static IHtmlString GetTextFor<TModel, TProperty>( this HtmlHelper<TModel> htmlHelper, Expression<Func<TModel, TProperty>> selector, string defaultPlaceholder )
Type Parameters
- TModel
- The type of the model.
- TProperty
- The type of the property.
Parameters
- htmlHelper
- Type: Suoranta.WebApp.View..::..HtmlHelper<(Of <(<'TModel>)>)>
The HTML helper.
- selector
- Type: Expression<(Of <(<'Func<(Of <(<'TModel, TProperty>)>)>>)>)>
- defaultPlaceholder
- Type: String
Placeholder text for the default value.

