Xceed Toolkit Plus for WPF v4.6 Documentation
IsOfType<T,S> Method


Xceed.Wpf.AvalonDock Assembly > Xceed.Wpf.AvalonDock.Layout Namespace > Extensions Class : IsOfType<T,S> Method
A type to verify.
A type to verify.
The container whose type will be verified.
Returns whether the specified container is of either of the specified types.
Syntax
'Declaration
 
<ExtensionAttribute()>
Public Shared Function IsOfType
    (Of T,S)( _
   ByVal container As ILayoutContainer _
) As Boolean
'Usage
 
Dim container As ILayoutContainer
Dim value As Boolean
 
value = Extensions.IsOfType(Of T, S)(container)
[Extension()]
public static bool IsOfType<T,S>( 
   ILayoutContainer container
)

Parameters

container
The container whose type will be verified.

Type Parameters

T
A type to verify.
S
A type to verify.

Return Value

true if the specified container is of either of the specified types.
Requirements

Target Platforms: Windows 11, Windows 10, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

Extensions Class
Extensions Members