FocusBehavior Members
Focuses a UI control without code-behind.Constructors
Name | Description |
---|---|
FocusBehavior() | Initializes a new instance of the FocusBehavior class. |
Fields
Name | Description |
---|---|
AssociatedObjectProperty static | Identifies the AssociatedObject dependency property. Inherited from Behavior. |
EventNameProperty static | Identifies the EventName dependency property. Inherited from EventTrigger<T>. |
EventOwnerProperty static | Identifies the EventOwner dependency property. Inherited from EventTrigger<T>. |
FocusDelayProperty static | Identifies the FocusDelay dependency property. |
FocusStateProperty static | Identifies the FocusState dependency property. |
Properties
Name | Description |
---|---|
ActualEventOwner | Gets an actual event owner. This is a dependency property. Inherited from EventTrigger<T>. |
EventName | Gets or sets the name of an event that triggers the associated command. This is a dependency property. Inherited from EventTrigger<T>. |
EventOwner | Gets or sets a source object that raises the event. This is a dependency property. Inherited from EventTrigger<T>. |
FocusDelay | Gets or sets the amount of time to wait before focusing the associated object. This is a dependency property. |
FocusState | Gets or sets whether a control has focus. This is a dependency property. |
IsAttached | Gets whether the behavior is attached to its associated object. Inherited from Behavior. |
Methods
Name | Description |
---|---|
Equals(Object, Object) static | Determines whether the specified object instances are considered equal. Inherited from Object. |
GetType() | Gets the Type of the current instance. Inherited from Object. |
MemberwiseClone() protected | Creates a shallow copy of the current Object. Inherited from Object. |
ReferenceEquals(Object, Object) static | Determines whether the specified Object instances are the same instance. Inherited from Object. |
ToString() | Returns a string that represents the current object. Inherited from Object. |
See Also