Color legend plain property event
The static holder of the general style of one style type, where T is the style class. Button.GeneralStyle reads and writes GenericStyle<ButtonStyle>.GeneralStyle. It also keeps the framework defaults of the type, built the first time the type is used from the class’s defaults (internal, not reachable from your code).
A static 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
GeneralStyle 🠆
T · Static. The style every element of the type takes, over the framework defaults. Starts as a copy of the defaults; null leaves only the defaults.
Events
OnGeneralStyleChanged 🠆
(T prevStyle) · Static. GeneralStyle is replaced by another style; the handler gets the previous one. Not raised when a property of the style changes.
| Parameter | Type | Description |
|---|---|---|
prevStyle |
T |
The style that was replaced. |