In This Article

VisualTreeHelperExtended.VisualResultCallback Delegate

Represents a delegate that can be used to test a specified object.

public delegate VisualResultBehavior VisualTreeHelperExtended.VisualResultCallback(DependencyObject obj)

Parameters

Name Type Description
obj DependencyObject

The object to be tested.

Returns

Type Description
VisualResultBehavior

A value from the VisualResultBehavior enumeration to indicate what action to take.

Constructors

VisualResultCallback(object, IntPtr)

public VisualResultCallback(object @object, IntPtr method)
Parameter Type Description
object object
method IntPtr

Methods

BeginInvoke(DependencyObject, AsyncCallback, object)

public virtual IAsyncResult BeginInvoke(DependencyObject obj, AsyncCallback callback, object @object)
Parameter Type Description
obj DependencyObject
callback AsyncCallback
object object

Returns

IAsyncResult

EndInvoke(IAsyncResult)

public virtual VisualResultBehavior EndInvoke(IAsyncResult result)
Parameter Type Description
result IAsyncResult

Returns

VisualResultBehavior

Invoke(DependencyObject)

public virtual VisualResultBehavior Invoke(DependencyObject obj)
Parameter Type Description
obj DependencyObject

Returns

VisualResultBehavior