AutoSelectBehavior Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
This behavior automatically selects the entire content of the associated Windows.UI.Xaml.Controls.TextBox when it is loaded.
public sealed class AutoSelectBehavior : Microsoft.Toolkit.Uwp.UI.Behaviors.BehaviorBase<Windows.UI.Xaml.Controls.TextBox>
type AutoSelectBehavior = class
inherit BehaviorBase<TextBox>
Public NotInheritable Class AutoSelectBehavior
Inherits BehaviorBase(Of TextBox)
- Inheritance
-
Microsoft.Xaml.Interactivity.Behavior<T>BehaviorBase<Windows.UI.Xaml.Controls.TextBox>AutoSelectBehavior
Constructors
AutoSelectBehavior() |
Properties
IsAttached |
Gets a value indicating whether this behavior is attached. (Inherited from BehaviorBase<T>) |
Methods
Initialize() |
Initializes the behavior to the associated object. (Inherited from BehaviorBase<T>) |
OnAssociatedObjectLoaded() |
Called when the associated object has been loaded. (Inherited from BehaviorBase<T>) |
OnAssociatedObjectUnloaded() |
Called when the associated object has been unloaded. (Inherited from BehaviorBase<T>) |
OnAttached() |
Called after the behavior is attached to the Microsoft.Xaml.Interactivity.Behavior.AssociatedObject. (Inherited from BehaviorBase<T>) |
OnDetaching() |
Called when the behavior is being detached from its Microsoft.Xaml.Interactivity.Behavior.AssociatedObject. (Inherited from BehaviorBase<T>) |
Uninitialize() |
Uninitializes the behavior from the associated object. (Inherited from BehaviorBase<T>) |