Class InvokeViewMethodBehavior<TObject, TDelegate>
public class InvokeViewMethodBehavior<TObject, TDelegate> : Behavior<TObject>, IAnimatable, IAttachedObject where TObject : DependencyObject where TDelegate : Delegate
Type Parameters
TObject
TDelegate
- Inheritance
-
Behavior<TObject>InvokeViewMethodBehavior<TObject, TDelegate>
- Implements
- Inherited Members
- Extension Methods
Fields
MethodDelegateProperty
public static readonly DependencyProperty MethodDelegateProperty
Field Value
Properties
GetMethodDelegateFunc
public Func<TObject, TDelegate> GetMethodDelegateFunc { get; set; }
Property Value
- Func<TObject, TDelegate>
MethodDelegate
public TDelegate MethodDelegate { get; set; }
Property Value
- TDelegate
Methods
OnAttached()
Called after the behavior is attached to an AssociatedObject.
protected override void OnAttached()
Remarks
Override this to hook up functionality to the AssociatedObject.
OnDetaching()
Called when the behavior is being detached from its AssociatedObject, but before it has actually occurred.
protected override void OnDetaching()
Remarks
Override this to unhook functionality from the AssociatedObject.