Hide

SftBox/OCX 5.0 - Combo Box Control

Display
Print

SftBoxItem.Shown Property

Defines whether the item is shown.

Syntax

Get

VB.NETBoolean = object.Shown As Boolean
VBBoolean = object.Shown As Boolean
C#.NETbool Boolean = object.Shown;
VC++VARIANT_BOOL Boolean = object->Shown;
VARIANT_BOOL Boolean = object->GetShown();
CHRESULT object->get_Shown(VARIANT_BOOL* Boolean);

Put

VB.NETobject.Shown = Boolean As Boolean
VBobject.Shown = Boolean As Boolean
C#.NETbool object.Shown = Boolean;
VC++VARIANT_BOOL object->Shown = Boolean;
void object->PutShown(VARIANT_BOOL Boolean);
CHRESULT object->put_Shown(VARIANT_BOOL Boolean);

object

A SftBoxItem object.

Boolean

Defines whether the item is shown.

BooleanDescription
TrueThe item is shown.
FalseThe item is not shown.

Comments

The Shown property defines whether the item is shown.

An item is considered shown (or visible) if its immediate parent item and all its indirect parent items are expanded or if the item doesn't have a parent item. If a parent item is collapsed, its dependents are considered not shown.

The Shown property is used to determine if an item is currently visible, i.e., its parent items are expanded and visible themselves. The Shown property does NOT control whether the item is currently in the range of items visible to the user in the control's drop down portion. The Item.MakeVisible method can be used to display an item in the control's drop down portion.

By setting the Shown property to True, an item is made visible by expanding all its direct and indirect parent items. To display the item in the control's drop down portion, use the Item.MakeVisible method.

See Also SftBoxItem Object | Object Hierarchy


Last Updated 08/13/2020 - (email)
© 2024 Softel vdm, Inc.