Click or drag to resize

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: Altaxo
Assembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3572.0 (4.8.3572.0)
Syntax
C#
public static Object? GetActiveViewContentService(
	Type type
)

Parameters

type  Type
The service type to retrieve.

Return Value

Object
The service instance, or null if no active view content or service is available.
See Also