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.
Provides design tools information about which EventName to set for EventTriggerBehavior when instantiating an IAction.
Inheritance Hierarchy
System.Object
System.Attribute
Microsoft.Xaml.Interactivity.DefaultEventAttribute
Namespace: Microsoft.Xaml.Interactivity
Assembly: Microsoft.Xaml.Interactivity (in Microsoft.Xaml.Interactivity.dll)
Syntax
'Declaration
<AttributeUsageAttribute(AttributeTargets.Class, AllowMultiple := True)> _
Public NotInheritable Class DefaultEventAttribute _
Inherits Attribute
[AttributeUsageAttribute(AttributeTargets.Class, AllowMultiple = true)]
public sealed class DefaultEventAttribute : Attribute
[AttributeUsageAttribute(AttributeTargets::Class, AllowMultiple = true)]
public ref class DefaultEventAttribute sealed : public Attribute
[<Sealed>]
[<AttributeUsageAttribute(AttributeTargets.Class, AllowMultiple = true)>]
type DefaultEventAttribute =
class
inherit Attribute
end
public final class DefaultEventAttribute extends Attribute
The DefaultEventAttribute type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
![]() |
DefaultEventAttribute | Initializes a new instance of the DefaultEventAttribute class. |
Top
Properties
| Name | Description | |
|---|---|---|
![]() |
EventName | Gets the event name to pass to the EventTriggerBehavior constructor. |
![]() |
TargetType | Gets the type that the DefaultEventAttribute applies to. |
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)