BindingPropertyT, TValue Method (T, ExpressionFuncT, TValue) |
Creates a new direct property binding to the specified model object.
Namespace:
Eto.Forms
Assembly:
Eto (in Eto.dll) Version: 2.5.3-dev
Syntax public static DirectBinding<TValue> Property<T, TValue>(
T model,
Expression<Func<T, TValue>> propertyExpression
)
Public Shared Function Property(Of T, TValue) (
model As T,
propertyExpression As Expression(Of Func(Of T, TValue))
) As DirectBinding(Of TValue)
static member Property :
model : 'T *
propertyExpression : Expression<Func<'T, 'TValue>> -> DirectBinding<'TValue>
Parameters
- model
- Type: T
Model object to bind to. - propertyExpression
- Type: System.Linq.ExpressionsExpressionFuncT, TValue
Expression to the property of the model object.
Type Parameters
- T
- The model type.
- TValue
- The property value type.
Return Value
Type:
DirectBindingTValue[Missing <returns> documentation for "M:Eto.Forms.Binding.Property``2(``0,System.Linq.Expressions.Expression{System.Func{``0,``1}})"]
See Also