Click or drag to resize
Cimbalino ToolkitAutoFocusBehavior Class
The behavior that enables automatic control focus.
Inheritance Hierarchy
SystemObject
  Windows.UI.XamlDependencyObject
    Behavior
      BehaviorFrameworkElement
        Cimbalino.Toolkit.BehaviorsAutoFocusBehavior

Namespace: Cimbalino.Toolkit.Behaviors
Assembly: Cimbalino.Toolkit (in Cimbalino.Toolkit.dll) Version: 2.2.1.0 (2.2.1.0)
Syntax
C#
public class AutoFocusBehavior : Behavior<FrameworkElement>

The AutoFocusBehavior type exposes the following members.

Constructors
  NameDescription
Public methodAutoFocusBehavior
Initializes a new instance of the AutoFocusBehavior class
Top
Properties
  NameDescription
Public propertyAfterAutoFocusCommand
Gets or sets the command to invoke when the focus moves from one control to the next.
Public propertyAssociatedObject (Inherited from BehaviorFrameworkElement.)
Protected propertyAssociatedObject (Inherited from BehaviorFrameworkElement.)
Protected propertyAssociatedObject (Inherited from BehaviorT.)
Protected propertyAssociatedType (Inherited from Behavior.)
Public propertyCycleNavigation
Gets or sets a value indicating whether focus will jump from last control to first one.
Public propertyDispatcher (Inherited from DependencyObject.)
Public propertyDispatcher (Inherited from DependencyObject.)
Public propertySelectAllOnFocus
Gets or sets a value indicating whether the entire contents of a control will be selected on focus.
Top
Methods
  NameDescription
Public methodAttach(DependencyObject) (Inherited from Behavior.)
Public methodAttach(DependencyObject) (Inherited from Behavior.)
Public methodAttach(DependencyObject)
Attaches to the specified object.
(Inherited from Behavior.)
Public methodCheckAccess (Inherited from DependencyObject.)
Public methodClearValue(DependencyProperty) (Inherited from DependencyObject.)
Public methodClearValue(DependencyProperty) (Inherited from DependencyObject.)
Public methodDetach (Inherited from Behavior.)
Public methodDetach (Inherited from Behavior.)
Public methodDetach
Detaches this instance from its associated object.
(Inherited from Behavior.)
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetAnimationBaseValue(DependencyProperty) (Inherited from DependencyObject.)
Public methodGetAnimationBaseValue(DependencyProperty) (Inherited from DependencyObject.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodGetValue(DependencyProperty) (Inherited from DependencyObject.)
Public methodGetValue(DependencyProperty) (Inherited from DependencyObject.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Protected methodOnAttached
Called after the behavior is attached to an AssociatedObject.
(Overrides Behavior.OnAttached.)
Protected methodOnDetaching
Releases all resources used by this instance.
(Overrides Behavior.OnDetaching.)
Public methodReadLocalValue(DependencyProperty) (Inherited from DependencyObject.)
Public methodReadLocalValue(DependencyProperty) (Inherited from DependencyObject.)
Public methodRegisterPropertyChangedCallback (Inherited from DependencyObject.)
Public methodSetValue(DependencyProperty, Object) (Inherited from DependencyObject.)
Public methodSetValue(DependencyProperty, Object) (Inherited from DependencyObject.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodUnregisterPropertyChangedCallback (Inherited from DependencyObject.)
Top
Events
  NameDescription
Public eventAfterAutoFocus
Occurs when the focus automatically moves from one control to the next.
Top
Fields
  NameDescription
Public fieldStatic memberAfterAutoFocusCommandProperty
Identifier for the AfterAutoFocusCommand dependency property.
Public fieldStatic memberCycleNavigationProperty
Identifier for the CycleNavigation dependency property.
Public fieldStatic memberSelectAllOnFocusProperty
Identifier for the SelectAllOnFocus dependency property.
Top
Extension Methods
  NameDescription
Public Extension MethodAddEventHandler
Adds an event handler to an event source.
(Defined by ObjectExtensions.)
Public Extension MethodGetPropertyValue(String)Overloaded.
Searches for the public property with the specified name and gets its value.
(Defined by ObjectExtensions.)
Public Extension MethodGetPropertyValueTObject(String)Overloaded.
Searches for the public property with the specified name and gets its value.
(Defined by ObjectExtensions.)
Public Extension MethodGetVisualAncestorTOverloaded.
Returns the ancestor object of the dependencyObject object in the visual tree with the specified type.
(Defined by DependencyObjectExtensions.)
Public Extension MethodGetVisualAncestorTOverloaded.
Returns the ancestor object of the dependencyObject object in the visual tree with the specified type.
(Defined by DependencyObjectExtensions.)
Public Extension MethodGetVisualChildsOverloaded.
Retrieves all the visual children of a dependency object.
(Defined by DependencyObjectExtensions.)
Public Extension MethodGetVisualChildsOverloaded.
Retrieves all the visual children of a dependency object.
(Defined by DependencyObjectExtensions.)
Public Extension MethodGetVisualChildsTOverloaded.
Retrieves all the visual children of a dependency object with the specified type.
(Defined by DependencyObjectExtensions.)
Public Extension MethodGetVisualChildsTOverloaded.
Retrieves all the visual children of a dependency object with the specified type.
(Defined by DependencyObjectExtensions.)
Public Extension MethodGetVisualDescendentsOverloaded.
Retrieves all the visual descendants of a dependency object.
(Defined by DependencyObjectExtensions.)
Public Extension MethodGetVisualDescendentsOverloaded.
Retrieves all the visual descendants of a dependency object.
(Defined by DependencyObjectExtensions.)
Public Extension MethodGetVisualDescendentsTOverloaded.
Retrieves all the visual descendants of a dependency object with the specified type.
(Defined by DependencyObjectExtensions.)
Public Extension MethodGetVisualDescendentsTOverloaded.
Retrieves all the visual descendants of a dependency object with the specified type.
(Defined by DependencyObjectExtensions.)
Public Extension MethodGetVisualParentOverloaded.
Returns an object's parent object in the visual tree.
(Defined by DependencyObjectExtensions.)
Public Extension MethodGetVisualParentOverloaded.
Returns an object's parent object in the visual tree.
(Defined by DependencyObjectExtensions.)
Public Extension MethodInvokeMethod(String, Object)Overloaded.
Searches for the public method with the specified name and invokes it using the specified parameters.
(Defined by ObjectExtensions.)
Public Extension MethodInvokeMethodTObject(String, Object)Overloaded.
Searches for the public method with the specified name and invokes it using the specified parameters, returning the result.
(Defined by ObjectExtensions.)
Public Extension MethodRemoveEventHandler
Removes an event handler from an event source.
(Defined by ObjectExtensions.)
Public Extension MethodSetPropertyValueTObject
Searches for the public property with the specified name and sets its value.
(Defined by ObjectExtensions.)
Top
Version Information

Windows

Supported in: 10.0, 8.1

Windows Phone

Supported in: 8.1

Windows Phone Silverlight

Supported in: 8.1, 8.0
See Also