BarCustomizeDropTarget Class
Provides data a customize drop target.
public class BarCustomizeDropTarget
- Inheritance:
- object object
Constructors
BarCustomizeDropTarget(IBarControl, BarCommandLink, bool, bool)
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.
Before
Indicates 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
The BarCommandLink that contains the drop target.
OverSourceCommandLink
Indicates 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 object to compare with the current object. |
Returns
- bool:
trueif the specified object is equal to the current object; otherwise,false.
GetHashCode()
Serves as the default hash function.
Inherited Members
- object.GetType()
- object.MemberwiseClone()
- object.ToString()
- object.Equals(object, object)
- object.ReferenceEquals(object, object)