HeaderPane
Main
Hide
Share Link
Print

DropHighlightColor Property, SftTreeItems Object

Defines the color used to display the drop target item of a drag & drop operation.

Syntax

Get

C#uint Clr = object.DropHighlightColor;
VB.NETClr = object.DropHighlightColor As UInteger
C++OLE_COLOR Clr = object->DropHighlightColor;
OLE_COLOR Clr = object->GetDropHighlightColor();
CHRESULT object->get_DropHighlightColor(OLE_COLOR* Clr);
VBClr = object.DropHighlightColor As OLE_COLOR

Put

C#uint object.DropHighlightColor = Clr;
VB.NETobject.DropHighlightColor = Clr As UInteger
C++OLE_COLOR object->DropHighlightColor = Clr;
void object->PutDropHighlightColor(OLE_COLOR Clr);
CHRESULT object->put_DropHighlightColor(OLE_COLOR Clr);
VBobject.DropHighlightColor = Clr As OLE_COLOR

object

A SftTreeItems object.

Clr

Defines the color used to display the drop target item of a drag & drop operation. For information about color properties, please visit the applicable section "Using SftTree/OCX with ...".

Comments

The DropHighlightColor property defines the color used to display the drop target item of a drag & drop operation.

The Items.SelectStyle and Items.NoFocusStyle properties work in conjunction with the Items.OutlineStyle property to determine the exact appearance of drop target items. The highlighted portion of a drop target is rendered using the outline style defined by the Items.OutlineStyle property.

The drop target is displayed based on the Items.DropHighlightStyle and Items.DropHighlight properties.

The DropHighlightColor property is only used if the Items.OutlineStyle property is set to OutlineStyleSftTreeRect. Otherwise, it is ignored and the Items.DropTargetInnerBorderColor, Items.DropTargetInnerFill1, Items.DropTargetInnerFill2, Items.DropTargetOutlineBorderColor properties are used instead.

See Also SftTreeItems Object | Object Hierarchy


Last Updated 11/03/2026 - (email)
© 2026 Softel vdm, Inc.