Passing Parameters to an Effect

PDF for offline use

Let us know how you feel about this


0/250

last updated: 2016-04

Effect parameters can be defined by properties, enabling the effect to be reused. Parameters can then be passed to the effect by specifying values for each property when instantiating the effect.

Passing Effect Parameters as Common Language Runtime Properties

Common Language Runtime (CLR) properties can be used to define effect parameters that don't respond to runtime property changes. This article demonstrates using CLR properties to pass parameters to an effect.

Passing Effect Parameters as Attached Properties

Attached properties can be used to define effect parameters that respond to runtime property changes. This article demonstrates using attached properties to pass parameters to an effect, and changing a parameter at runtime.

Xamarin Workbook

If it's not already installed, install the Xamarin Workbooks app first. The workbook file should download automatically, but if it doesn't, just click to start the workbook download manually.