BarCustomizeDropTarget Class
Provides data a customize drop target.
public class BarCustomizeDropTarget
- Inheritance:
- object object
Constructors
BarCustomizeDropTarget(IBarControl, BarCommandLink, bool, bool)
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 | bool | Whether the drop target is before the specified BarCommandLink. |
| overSourceCommandLink | bool | 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
- bool:
trueif the drop target is before the specified BarCommandLink; otherwise,false.
CommandLink
Gets the BarCommandLink that contains the drop target.
public BarCommandLink CommandLink { get; }
Property Value
- BarCommandLink:
The BarCommandLink that contains the drop target.
OverSourceCommandLink
Gets whether the drop target is over the source BarCommandLink.
public bool OverSourceCommandLink { get; }
Property Value
- bool:
trueif 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 |
Returns
- bool:
trueif the specifiedObjectis equal to the currentObject; otherwise,false.
GetHashCode()
Returns a hash code for this object.
public override int GetHashCode()
Returns
- int:
An integer value that specifies a hash value for this object.