HeaderPane
Main
Hide
Share Link
Print

Dropped Property, SftBoxDropDown Object

Defines whether the drop down portion is shown/hidden.

Syntax

Get

C#bool Boolean = object.Dropped;
VB.NETBoolean = object.Dropped As Boolean
C++VARIANT_BOOL Boolean = object->Dropped;
VARIANT_BOOL Boolean = object->GetDropped();
CHRESULT object->get_Dropped(VARIANT_BOOL* Boolean);

Put

C#bool object.Dropped = Boolean;
VB.NETobject.Dropped = Boolean As Boolean
C++VARIANT_BOOL object->Dropped = Boolean;
void object->PutDropped(VARIANT_BOOL Boolean);
CHRESULT object->put_Dropped(VARIANT_BOOL Boolean);

object

A SftBoxDropDown object.

Boolean

Defines whether the drop down portion is shown/hidden.

BooleanDescription
TrueThe drop down portion is shown.
FalseThe drop down portion is hidden.

Comments

The Dropped property defines whether the drop down portion is shown/hidden.

The drop down portion can only be visible when the control has the input focus. Setting the Dropped property when the control does not have the input focus will set the input focus to the control and display the drop down portion.

The DropDown.RollUp method can also be used to hide the drop down portion.

This property cannot be used with a simple combo box.

Examples

C# View entire sample code

            string textData = comboSource.get_Cell(comboSource.Items.Selection, 0).Text;
            e.data.SetData(textData, SftOLEClipboardConstants.sftCFText);
        }

        private void comboTarget_OLEDragOver(object sender, AxSftBoxLib60._ISftBoxEvents_OLEDragOverEvent e)
        {
            if (e.state == SftBoxOLEDragOverConstants.enterSftBox) {
                // Show the drop down portion
                comboTarget.DropDown.Dropped = true;
            } else if (e.state == SftBoxOLEDragOverConstants.leaveSftBox) {
                // Hide the drop down portion with a delay, in case the
                // user is moving from/to the static or drop down portion
                comboTarget.DropDown.RollUp(500);  // 1/2 second
            }
        }

VB.NET View entire sample code

    e.allowedEffects = vbDropEffectCopy Or vbDropEffectMove
    Dim textData As String = comboSource.get_Cell(comboSource.Items.Selection, 0).Text
    e.data.SetData(textData, SftOLEClipboardConstants.sftCFText)
End Sub

Private Sub comboTarget_OLEDragOver(ByVal sender As Object, ByVal e As AxSftBoxLib60._ISftBoxEvents_OLEDragOverEvent) Handles comboTarget.OLEDragOver
    If e.state = SftBoxOLEDragOverConstants.enterSftBox Then
        ' Show the drop down portion
        comboTarget.DropDown.Dropped = True
    ElseIf e.state = SftBoxOLEDragOverConstants.leaveSftBox Then
        ' Hide the drop down portion with a delay, in case the
        ' user is moving from/to the static or drop down portion
        comboTarget.DropDown.RollUp(500)  ' 1/2 second
    End If
End Sub

See Also SftBoxDropDown Object | Object Hierarchy


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