Table of Contents

Class TypeConstraintAttribute

Namespace
HeBianGu.Base.WpfBase
Assembly
HeBianGu.Base.WpfBase.dll

Specifies type constraints on the AssociatedObject of TargetedTriggerAction and EventTriggerBase.

[AttributeUsage(AttributeTargets.Class, AllowMultiple = false, Inherited = false)]
public sealed class TypeConstraintAttribute : Attribute
Inheritance
TypeConstraintAttribute
Inherited Members
Extension Methods

Constructors

TypeConstraintAttribute(Type)

Initializes a new instance of the TypeConstraintAttribute class.

public TypeConstraintAttribute(Type constraint)

Parameters

constraint Type

The constraint type.

Properties

Constraint

Gets the constraint type.

public Type Constraint { get; }

Property Value

Type

The constraint type.