Table of Contents

Property ControlListVisible

Namespace
Alternet.FormDesigner.WinForms
Assembly
Alternet.FormDesigner.v9.dll

ControlListVisible

public bool ControlListVisible { get; set; }

Property Value

bool

Examples

Here is how to use a ControlListVisible in the C# code:

public partial class Form1 : Form
{
    private void Form1_Load(object sender, EventArgs e)
    {
        var propertyGrid = new Alternet.FormDesigner.WinForms.PropertyGridControl();
        propertyGrid.Dock = System.Windows.Forms.DockStyle.Fill;
        propertyGrid.FormDesignerControl = designer;
        propertyGrid.ControlListVisible = false;
    }
}

Here is how to use a ControlListVisible in the Visual Basic code:

Imports System

Partial Public Class Form1
    Inherits Form
    Private Sub Form1_Load(ByVal sender As Object, ByVal e As EventArgs)
        Dim propertyGrid = New Alternet.FormDesigner.WinForms.PropertyGridControl()
        propertyGrid.Dock = Windows.Forms.DockStyle.Fill
        propertyGrid.FormDesignerControl = designer
        propertyGrid.ControlListVisible = False
    End Sub
End Class

Remarks

The user can hide the control list combo box by setting ControlListVisible to false.