CurrentGetActiveViewContentService(Type) Method |
Equivalent to SD.Workbench.ActiveViewContent.GetService(type),
but does not throw a NullReferenceException when ActiveViewContent is null.
(instead, null is returned).
Namespace: AltaxoAssembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3572.0 (4.8.3572.0)
Syntaxpublic static Object? GetActiveViewContentService(
Type type
)
Parameters
- type Type
- The service type to retrieve.
Return Value
ObjectThe service instance, or
null if no active view content or service is available.
See Also