Class DefaultExtension
- Namespace
- Alternet.FormDesigner.Wpf
- Assembly
- Alternet.FormDesigner.Wpf.v10.dll
Base class for extensions that have an parameter-less constructor and are initialized using the OnInitialize method.
public class DefaultExtension : Extension
- Inheritance
-
DefaultExtension
- Derived
Properties
- Context
Gets the design context of the extended item. "Context" is equivalent to "ExtendedItem.Context".
- ExtendedItem
Gets the item that is being extended by the BehaviorExtension.
- Services
Gets the service container of the extended item. "Services" is equivalent to "ExtendedItem.Services".
Methods
- OnInitialized()
Is called after the ExtendedItem was set. Override this method to register your behavior with the item.
- OnRemove()
Is called when the extension is removed.