Share via


ModelProperty.IsPropertyOfType Method (Type)

Gets a value that indicates whether this property 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 IsPropertyOfType ( _
    type As Type _
) As Boolean
public virtual bool IsPropertyOfType(
    Type type
)
public:
virtual bool IsPropertyOfType(
    Type^ type
)
abstract IsPropertyOfType : 
        type:Type -> bool 
override IsPropertyOfType : 
        type:Type -> bool 
public function IsPropertyOfType(
    type : Type
) : boolean

Parameters

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

Return Value

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

.NET Framework Security

See Also

Reference

ModelProperty Class

IsPropertyOfType Overload

Microsoft.Windows.Design.Model Namespace

Other Resources

WPF Designer Extensibility Architecture