property PropertiesList.ShowVariables as Boolean

Retrieves or sets a value that indicates whether the control displays the object variables.

TypeDescription
Boolean A boolean expression that indicates whether the control displays the object variables.
The ShowVariables property indicates whether the control displays the object variables. If ShowVariables is True, the control displays the object variables. If ShowVariables is False, the control does not display the object variables. The ShowVariables property is useful when you want to filter the properties of an object. For instance, if you want to display only the properties of an object and not its variables, set ShowVariables to False. If you want to display both the properties and the variables of an object, set ShowVariables to True.

For instance, the properties of IFontDisp ( font ) type has variables like: Name, Size, and so on. Changing the ShowVariables at runtime executes a refresh of the browsed control. If you want to filter the object properties that has some special flags you can use Flags property of Property object.

The following VB sample shows how to include only hidden members:

Private Sub PropertiesList1_IncludeProperty(ByVal Property As EXPROPERTIESLISTLibCtl.IProperty, Cancel As Boolean)
    Cancel = Not (Property.Flags And &H40) = &H40
End Sub