ModelItem.IsItemOfType Method (Type)

Gets a value that indicates whether this item is of the specified type or implements the specified interface.

Namespace:  Microsoft.Windows.Design.Model
Assembly:  Microsoft.Windows.Design.Interaction (in Microsoft.Windows.Design.Interaction.dll)

Syntax

'Declaration
Public Overridable Function IsItemOfType ( _
    type As Type _
) As Boolean
public virtual bool IsItemOfType(
    Type type
)
public:
virtual bool IsItemOfType(
    Type^ type
)
abstract IsItemOfType : 
        type:Type -> bool 
override IsItemOfType : 
        type:Type -> bool 
public function IsItemOfType(
    type : Type
) : boolean

Parameters

  • type
    Type: System.Type
    The type or interface to test.

Return Value

Type: System.Boolean
true if this item is of the specified type or implements the specified interface; otherwise, false.

.NET Framework Security

See Also

Reference

ModelItem Class

IsItemOfType Overload

Microsoft.Windows.Design.Model Namespace

Other Resources

WPF Designer Extensibility Architecture

Editing Model Architecture