In This Article

DockSaveCustomToolWindowLayoutDataEventHandler Delegate

Represents the method that will handle saving of custom XML configuration data in a tool window layout file.

public delegate void DockSaveCustomToolWindowLayoutDataEventHandler(object sender, DockSaveCustomToolWindowLayoutDataEventArgs e)

Parameters

Name Type Description
sender object

Sender of the event.

e DockSaveCustomToolWindowLayoutDataEventArgs

A DockSaveCustomToolWindowLayoutDataEventArgs containing event data.

Remarks

When you create a DockSaveCustomToolWindowLayoutDataEventHandler delegate, you identify the method that will handle the event. To associate the event with your event handler, add an instance of the delegate to the event. The event handler is called whenever the event occurs, unless you remove the delegate.

Constructors

DockSaveCustomToolWindowLayoutDataEventHandler(object, IntPtr)

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

Methods

BeginInvoke(object, DockSaveCustomToolWindowLayoutDataEventArgs, AsyncCallback, object)

public virtual IAsyncResult BeginInvoke(object sender, DockSaveCustomToolWindowLayoutDataEventArgs e, AsyncCallback callback, object @object)
Parameter Type Description
sender object
e DockSaveCustomToolWindowLayoutDataEventArgs
callback AsyncCallback
object object

Returns

IAsyncResult

EndInvoke(IAsyncResult)

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

Invoke(object, DockSaveCustomToolWindowLayoutDataEventArgs)

public virtual void Invoke(object sender, DockSaveCustomToolWindowLayoutDataEventArgs e)
Parameter Type Description
sender object
e DockSaveCustomToolWindowLayoutDataEventArgs