Class PropertySetter<TView, TValue>
Definition
- Assembly:
- Tizen.NUI.dll
Describes a property setter.
public class PropertySetter<TView, TValue> : IPropertySetter<TValue>
- Inheritance
-
objectPropertySetter<TView, TValue>
- Implements
-
IPropertySetter<TValue>
Constructors
View SourcePropertySetter(string, Action<TView, TValue>)
Creates an instance of the PropertySetter class.
Declaration
public PropertySetter(string name, Action<TView, TValue> setter)
Parameters
| Type | Name | Description |
|---|---|---|
| string | name | The name of the property. |
| Action<, ><TView, TValue> | setter | The action to set the property. |
Properties
View SourceName
The name of the property.
Declaration
public string Name { get; }
Property Value
| Type | Description |
|---|---|
| string |
Methods
View SourceInvoke(object, TValue)
Invokes property setter.
Declaration
public virtual void Invoke(object target, TValue value)
Parameters
| Type | Name | Description |
|---|---|---|
| object | target | |
| TValue | value |