PlotGroupStyleGetFirstStyleToApplyImplementingInterfaceT Method |
Looks first in externalGroups, then in localGroups for the type of PlotGroupStyle to apply.
In contrast to
GetStyleToApplyT(IPlotGroupStyleCollection, IPlotGroupStyleCollection), we are searching here only for an interface,
and return the first plot group style found that implements that interface.
If an instance with this interface 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.GroupsAssembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax public static T GetFirstStyleToApplyImplementingInterface<T>(
IPlotGroupStyleCollection externalGroups,
IPlotGroupStyleCollection localGroups
)
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 the interface to look for.
Return Value
TThe instance of the plot group style that implements the interface (if found), or null otherwise.
See Also