Color legend plain property method
What the properties of one name share over all the elements of a class: the class’s own pre- and post-action (set once, in its static constructor) and the default value. The generated code creates one per dependency property, as the static FooDPActions field of the element class.
A class. The styles page shows it in context.
Names are colored by what they are: a property, a method or an event; values and fields keep the plain color.
Properties
DefaultValue 🠆
T · Read-only. The value read while no source has one. Some defaults are read from DefaultSettings each time (see default settings).
OwnerPostAction 🠆
Action<BaseElement, T> · The element class’s own reaction to a new value in effect, with the element it runs for: before the property’s PostAction and OnPropertyChanged. Set once, like OwnerPreAction.
OwnerPreAction 🠆
OwnerPreActionDelegate · The element class’s own check of every value before it is stored, from any source: it may correct the value or reject it (canProceed). It runs before the property’s PreAction. Set it once, in the element class’s static constructor: a second set throws, so the actions of a class (the library’s elements’ too) can’t be replaced from outside.
Methods
DependencyPropertyActions() 🠆
DependencyPropertyActions() · Creates an empty set of actions with the default default(T).