C# Класс ComponentFactory.Krypton.Toolkit.KryptonReadOnlyControls

Restrict a controls collection of child controls.
Наследование: KryptonControlCollection
Показать файл Открыть проект

Private Properties

Свойство Тип Описание

Открытые методы

Метод Описание
Add ( Control value ) : void

Adds the specified control to the control collection.

AddRange ( Control controls ) : void

Adds an array of control objects to the collection.

Clear ( ) : void

Removes all controls from the collection.

KryptonReadOnlyControls ( Control owner ) : System

Initialize a new instance of the KryptonReadOnlyControls class.

Remove ( Control value ) : void

Removes the specified control from the control collection.

RemoveByKey ( string key ) : void

Removes the child control with the specified key.

Описание методов

Add() публичный Метод

Adds the specified control to the control collection.
public Add ( Control value ) : void
value System.Windows.Forms.Control The Control to add to the control collection.
Результат void

AddRange() публичный Метод

Adds an array of control objects to the collection.
public AddRange ( Control controls ) : void
controls System.Windows.Forms.Control An array of Control objects to add to the collection.
Результат void

Clear() публичный Метод

Removes all controls from the collection.
public Clear ( ) : void
Результат void

KryptonReadOnlyControls() публичный Метод

Initialize a new instance of the KryptonReadOnlyControls class.
public KryptonReadOnlyControls ( Control owner ) : System
owner System.Windows.Forms.Control Owning control.
Результат System

Remove() публичный Метод

Removes the specified control from the control collection.
public Remove ( Control value ) : void
value System.Windows.Forms.Control The Control to remove from the Control.ControlCollection.
Результат void

RemoveByKey() публичный Метод

Removes the child control with the specified key.
public RemoveByKey ( string key ) : void
key string The name of the child control to remove.
Результат void