CompositeControl - SirePi/duality-ui GitHub Wiki

A CompositeControl is a complex Control which is actually composed by a number of simpler sub-controls layout in a [ControlsContainer]] (i.e. a [[ScrollBar]] is actually composed by three [Buttons and a CanvasPanel inside a DockPanel). Derives from Control. Both CompositeControls and ControlsContainers implment ILayout interface, which exposes a

  • Property IsPassthrough property that defines if "empty" areas of the Control should let the mouse click events pass through to the lower UIs, or not.

In addition to the Control's base properties and delegates, it also exposes:

  • Property Margin - A Border object that defines the margin of the CompositeControl.