Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Specifies type constraints on the AssociatedObject of IBehavior.
Inheritance Hierarchy
System.Object
System.Attribute
Microsoft.Xaml.Interactivity.TypeConstraintAttribute
Namespace: Microsoft.Xaml.Interactivity
Assembly: Microsoft.Xaml.Interactivity (in Microsoft.Xaml.Interactivity.dll)
Syntax
'Declaration
<AttributeUsageAttribute(AttributeTargets.Class, AllowMultiple := False, Inherited := False)> _
Public NotInheritable Class TypeConstraintAttribute _
Inherits Attribute
[AttributeUsageAttribute(AttributeTargets.Class, AllowMultiple = false, Inherited = false)]
public sealed class TypeConstraintAttribute : Attribute
[AttributeUsageAttribute(AttributeTargets::Class, AllowMultiple = false, Inherited = false)]
public ref class TypeConstraintAttribute sealed : public Attribute
[<Sealed>]
[<AttributeUsageAttribute(AttributeTargets.Class, AllowMultiple = false, Inherited = false)>]
type TypeConstraintAttribute =
class
inherit Attribute
end
public final class TypeConstraintAttribute extends Attribute
The TypeConstraintAttribute type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
![]() |
TypeConstraintAttribute | Initializes a new instance of the TypeConstraintAttribute class. |
Top
Properties
| Name | Description | |
|---|---|---|
![]() |
Constraint | Gets the constraint type. |
Top
Methods
| Name | Description | |
|---|---|---|
![]() |
Equals | Infrastructure. Returns a value that indicates whether this instance is equal to a specified object. (Inherited from Attribute.) |
![]() |
GetHashCode | Returns the hash code for this instance. (Inherited from Attribute.) |
![]() |
GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Top
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
.gif)
.gif)