Click or drag to resize

PlotGroupStyleGetStyleToApplyT Method

Looks first in externalGroups, then in localGroups for the type of PlotGroupStyle to apply. If an instance of this type is found, this instance is returned. If found, the containig collection is informed that this group style will be applied now by calling OnBeforeApplication.

Namespace: Altaxo.Graph.Plot.Groups
Assembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public static T GetStyleToApply<T>(
	IPlotGroupStyleCollection externalGroups,
	IPlotGroupStyleCollection localGroups
)
where T : IPlotGroupStyle

Parameters

externalGroups  IPlotGroupStyleCollection
First collection to look for the group style.
localGroups  IPlotGroupStyleCollection
Second collection to look for the group style.

Type Parameters

T
Type of PlotGroupStyle to look for.

Return Value

T
The instance of the plot group style (if found), or null otherwise.
See Also