In This Article

BarCustomizeDropTarget Class

Provides data a customize drop target.

public class BarCustomizeDropTarget
Inheritance:
Object Object

Constructors

Initializes a new instance of the BarCustomizeDropTarget class.

public BarCustomizeDropTarget(IBarControl barControl, BarCommandLink commandLink, bool before, bool overSourceCommandLink)
Parameter Type Description
barControl IBarControl

The IBarControl that contains the drop target.

commandLink BarCommandLink

The BarCommandLink that contains the drop target.

before Boolean

Whether the drop target is before the specified BarCommandLink.

overSourceCommandLink Boolean

Whether the drop target is over the source BarCommandLink.

Properties

BarControl

Gets the IBarControl that contains the drop target.

public IBarControl BarControl { get; }

Property Value

IBarControl:

The IBarControl that contains the drop target.

Before

Gets whether the drop target is before the specified BarCommandLink.

public bool Before { get; }

Property Value

Boolean:

true if the drop target is before the specified BarCommandLink; otherwise, false.

Gets the BarCommandLink that contains the drop target.

public BarCommandLink CommandLink { get; }

Property Value

BarCommandLink:

The BarCommandLink that contains the drop target.

Gets whether the drop target is over the source BarCommandLink.

public bool OverSourceCommandLink { get; }

Property Value

Boolean:

true if the drop target is over the source BarCommandLink; otherwise, false.

Methods

Equals(Object)

Determines whether the specified Object is equal to the current Object.

public override bool Equals(object obj)
Parameter Type Description
obj Object

The Object to compare to the current Object.

Returns

Boolean:

true if the specified Object is equal to the current Object; otherwise, false.

GetHashCode()

Returns a hash code for this object.

public override int GetHashCode()

Returns

Int32:

An integer value that specifies a hash value for this object.

Inherited Members