Adds the specified Visual to the current
section. BeginStackedSection or
BeginSideBySideSection should be called prior to
this.
Namespace: Spotfire.Dxp.Application.Layout
Assembly: Spotfire.Dxp.Application (in Spotfire.Dxp.Application.dll) Version: 30.0.10915.3380 (30.0.10915.3380)
Syntax
C#
public void Add( Visual visual, float proportion )
Parameters
- visual
- Type: Spotfire.Dxp.ApplicationVisual
The Visual to be added. - proportion
- Type: SystemSingle
The proportion of this element relative to its siblings. Must be greater than 0.
Exceptions
Exception | Condition |
---|---|
InvalidOperationException | If this method is called before any section is created. |
ArgumentNullException | If visual is null. |
Version Information
See Also