Class DataBindingProperty<TProperty>
Supports all classes in the .NET class hierarchy and provides low-level services to derived classes. This is the ultimate base class of all .NET classes; it is the root of the type hierarchy.
public class DataBindingProperty<TProperty> : IDataBindingProperty
Type Parameters
TProperty
- Inheritance
-
objectDataBindingProperty<TProperty>
- Implements
Properties
DisplayName
Gets or sets the display name of the data binding registration
public string DisplayName { get; }
Property Value
Getter
Gets the function to call to get the value of the property
public Func<TProperty> Getter { get; }
Property Value
- Func<TProperty>
Setter
Gets the action to call to set the value of the property
public Action<TProperty?> Setter { get; }
Property Value
- Action<TProperty>
ValueType
Gets the type of the value this data binding registration points to
public Type ValueType { get; }
Property Value
Methods
GetValue()
Gets the value of the property this registration points to
public object? GetValue()
Returns
- object
A value matching the type of ValueType
SetValue(object)
Sets the value of the property this registration points to
public void SetValue(object value)
Parameters
valueobjectA value matching the type of ValueType