FocusBehavior Members
Allows you to set the focus to a UI control without utilizing code-behind.Constructors
Name | Description |
---|---|
FocusBehavior() | Initializes a new instance of the FocusBehavior class. |
Fields
Name | Description |
---|---|
DefaultFocusDelay static | |
EventNameProperty static | Identifies the EventName dependency property. Inherited from EventTriggerBase<T>. |
FocusDelayProperty static | Identifies the FocusDelay dependency property. |
FocusStateProperty static | Identifies the FocusState dependency property. |
PropertyNameProperty static | Identifies the PropertyName dependency property. |
SourceNameProperty static | Identifies the SourceName dependency property. Inherited from EventTriggerBase<T>. |
SourceObjectProperty static | Identifies the SourceObject dependency property. Inherited from EventTriggerBase<T>. |
Properties
Name | Description |
---|---|
EventName | Specifies the name of the event that triggers the associated command. This is a dependency property. Inherited from EventTriggerBase<T>. |
FocusDelay | Specifies the time delay before focusing the associated object. This is a dependency property. |
FocusState | Specifies the Control.FocusState property value to set for the associated object after focusing it. This is a dependency property. |
PropertyName | Specifies the name of the property whose changes should lead to focusing the associated object. This is a dependency property. |
Source | Gets the source object. Inherited from EventTriggerBase<T>. |
SourceName | Specifies the name of the source object whose event is handled. This is a dependency property. Inherited from EventTriggerBase<T>. |
SourceObject | Specifies the source object whose event is handled. This is a dependency property. Inherited from EventTriggerBase<T>. |
Methods
Name | Description |
---|---|
Equals(Object) | Determines whether the specified object is equal to the current object. Inherited from Object. |
Equals(Object, Object) static | Determines whether the specified object instances are considered equal. Inherited from Object. |
GetHashCode() | Serves as the default hash function. 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