Show / Hide Table of Contents

Class Behavior<T>

A base class for behaviors making them code compatible with older frameworks, and allow for typed associated objects.

Inheritance
System.Object
DependencyObject
Behavior
Behavior<T>
Implements
IBehavior
Inherited Members
Behavior.Attach(DependencyObject)
Behavior.Detach()
Behavior.OnDetaching()
DependencyObject.DependencyObjectType
DependencyObject.IsSealed
DependencyObject.Equals(Object)
DependencyObject.GetHashCode()
DependencyObject.ClearValue(DependencyProperty)
DependencyObject.GetValue(DependencyProperty)
DependencyObject.ReadLocalValue(DependencyProperty)
DependencyObject.GetLocalValueEnumerator()
DependencyObject.SetValue(DependencyProperty, Object)
DependencyObject.OnPropertyChanged(DependencyProperty)
DependencyObject.CoerceValue(DependencyProperty)
DependencyObject.SetBinding(DependencyProperty, Binding)
DependencyObject.SetResourceReference(DependencyProperty, Object)
Namespace: EmptyKeys.UserInterface.Interactivity
Assembly: EmptyKeys.UserInterface.dll
Syntax
public abstract class Behavior<T> : Behavior, IBehavior where T : DependencyObject
Type Parameters
Name Description
T

The object type to attach to

Properties

AssociatedObject

Gets the DependencyObject to which the IBehavior is attached.

Declaration
public T AssociatedObject { get; }
Property Value
Type Description
T

Methods

OnAttached()

Called when [attached].

Declaration
protected override void OnAttached()
Overrides
Behavior.OnAttached()
Exceptions
Type Condition
System.InvalidOperationException

Implements

IBehavior
Back to top Generated by DocFX