1 type derived from Behavior
Microsoft.Maui.Controls (1)
Interactivity\Behavior.cs (1)
57 public abstract class Behavior<T> : Behavior where T : BindableObject
14 references to Behavior
Microsoft.Maui.Controls (14)
Interactivity\Behavior.cs (3)
9 /// <remarks>Application developers should specialize the <see cref="Behavior{T}" /> generic class, instead of directly using <see cref="Behavior" />.</remarks> 13 /// Creates a new <see cref="Behavior" /> with default values. 22 /// Gets the type of the objects with which this <see cref="Behavior" /> can be associated.
Style.cs (5)
25 IList<Behavior> _behaviors; 79 public IList<Behavior> Behaviors => _behaviors ??= new AttachedCollection<Behavior>(); 178 ((AttachedCollection<Behavior>)Behaviors).AttachTo(bindable); 185 ((AttachedCollection<Behavior>)Behaviors).DetachFrom(bindable);
VisualElement\VisualElement.cs (6)
388 internal static readonly BindablePropertyKey BehaviorsPropertyKey = BindableProperty.CreateReadOnly(nameof(Behaviors), typeof(IList<Behavior>), typeof(VisualElement), default(IList<Behavior>), 391 var collection = new AttachedCollection<Behavior>(); 566 /// Gets the list of <see cref="Behavior"/> objects associated to this element. This is a read-only bindable property. 568 public IList<Behavior> Behaviors 570 get { return (IList<Behavior>)GetValue(BehaviorsProperty); }