In This Article

CustomKeyTipPlacementCallback Delegate

Represents the delegate that can provide a custom key tip placement.

public delegate Point CustomKeyTipPlacementCallback(Size keyTipSize, UIElement ownerElement, Point defaultLocation)

Parameters

Name Type Description
keyTipSize Size

The System.Windows.Size of the key tip.

ownerElement UIElement

The UIElement that is the owner of the key tip.

defaultLocation Point

The default location of the key tip relative to the element.

Returns

Type Description
Point

The modified target location of the key tip relative to the element.

Constructors

CustomKeyTipPlacementCallback(object, IntPtr)

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

Methods

BeginInvoke(Size, UIElement, Point, AsyncCallback, object)

public virtual IAsyncResult BeginInvoke(Size keyTipSize, UIElement ownerElement, Point defaultLocation, AsyncCallback callback, object @object)
Parameter Type Description
keyTipSize Size
ownerElement UIElement
defaultLocation Point
callback AsyncCallback
object object

Returns

IAsyncResult

EndInvoke(IAsyncResult)

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

Returns

Point

Invoke(Size, UIElement, Point)

public virtual Point Invoke(Size keyTipSize, UIElement ownerElement, Point defaultLocation)
Parameter Type Description
keyTipSize Size
ownerElement UIElement
defaultLocation Point

Returns

Point