Extenders
Last updated
Was this helpful?
Last updated
Was this helpful?
Wisej.NET extenders are components that add and manage properties for other components.
Extenders must implement the interface, determining which components can be extended through the implementation.
Some extenders integrate into existing components. For example, , , and add properties to their children. In web systems, this enables powerful features - when dropping a control into a FlexLayoutPanel
, it gains properties like FillWeight
, AlignX
, AlignY
. These properties are contextual to the container.
Other extenders, like and , operate without UI, adding features to extended controls.
The is part of .NET's System.ComponentModel infrastructure, requiring one method:
Returns true
if the extender supports extending the target object. Microsoft's documentation provides comprehensive examples.
Extender classes declare their provided properties using declarations.