Summary
Instances a setter on a control.
- Namespace
- Avalonia
.Styling - Containing Type
- ISetter
Syntax
ISetterInstance Instance(IStyleable target)
Remarks
This method should return an
ISetterInstance
which can be used to apply
the setter to the specified control. Note that it should not apply the setter value
until Start(bool)
is called.
Parameters
Name | Type | Description |
---|---|---|
target | IStyleable | The control. |
Return Value
Type | Description |
---|---|
ISetterInstance | An ISetterInstance . |