C# 클래스 ComponentFactory.Krypton.Toolkit.KryptonReadOnlyControls

Restrict a controls collection of child controls.
상속: KryptonControlCollection
파일 보기 프로젝트 열기: ComponentFactory/Krypton

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