In This Article

BarCustomizeDropTarget Class

Provides data a customize drop target.

public class BarCustomizeDropTarget
Inheritance:
object object

Constructors

Provides data a customize drop target.

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 bool

Whether the drop target is before the specified BarCommandLink.

overSourceCommandLink bool

Whether the drop target is over the source BarCommandLink.

Properties

BarControl

The IBarControl that contains the drop target.

public IBarControl BarControl { get; }

Property Value

IBarControl

Before

Indicates whether the drop target is before the specified BarCommandLink.

public bool Before { get; }

Property Value

bool:

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

The BarCommandLink that contains the drop target.

public BarCommandLink CommandLink { get; }

Property Value

BarCommandLink

Indicates whether the drop target is over the source BarCommandLink.

public bool OverSourceCommandLink { get; }

Property Value

bool:

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 with the current object.

Returns

bool:

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

GetHashCode()

Serves as the default hash function.

public override int GetHashCode()

Returns

int:

A hash code for the current object.

Inherited Members

Extension Methods