GetParentSurface<TDrawingSurface>() Method (DrawingSurfaceWrapper)
Returns a parent surface of specified type.
'Declaration
Public Function GetParentSurface<>() As TDrawingSurface
(Of As DrawingSurface)
public TDrawingSurface GetParentSurface<>()
where TDrawingSurface: DrawingSurface
public: TDrawingSurface* GetParentSurface<>()
where TDrawingSurface: DrawingSurface*
generic<typename >
public:
TDrawingSurface^ GetParentSurface()
where TDrawingSurface: DrawingSurface^
Type Parameters
- TDrawingSurface
- The drawing surface type.
Return Value
The parent surface of specified type.
Target Platforms: .NET 10; .NET 9; .NET 8; .NET 7; .NET 6; .NET Framework 4.8, 4.7, 4.6, 4.5, 4.0, 3.5