派生クラスでオーバーライドされると、編集のためにセルが準備されます。
Overloads Protected Friend MustOverride Sub Edit( _
ByVal source As CurrencyManager, _ ByVal rowNum As Integer, _ ByVal bounds As Rectangle, _ ByVal readOnly As Boolean, _ ByVal instantText As String, _ ByVal cellIsVisible As Boolean _)
[C#]
protected internal abstract void Edit(CurrencyManagersource,introwNum,Rectanglebounds,boolreadOnly,stringinstantText,boolcellIsVisible);
[C++]
protected public: virtual void Edit(CurrencyManager* source,introwNum,Rectanglebounds,boolreadOnly,String* instantText,boolcellIsVisible) = 0;
[JScript]
protected internal abstract function Edit(
source : CurrencyManager,rowNum : int,bounds : Rectangle,readOnly : Boolean,instantText : String,cellIsVisible : Boolean);
パラメータ
- source
DataGridColumnStyle の CurrencyManager 。 - rowNum
編集されている列の行番号。 - bounds
コントロールの配置先の Rectangle 。 - readOnly
列が読み取り専用かどうかを示す値。値が読み取り専用の場合は true 。それ以外の場合は false 。 - instantText
コントロール内で表示するテキスト。 - cellIsVisible
セルを表示するかどうかを示す値。セルを表示する場合は true 。それ以外の場合は false 。
解説
通常、 Edit メソッドは、編集されるセルの場所のグリッドにコントロールを配置します。
使用例
必要条件
プラットフォーム: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 ファミリ
参照
DataGridColumnStyle クラス | DataGridColumnStyle メンバ | System.Windows.Forms 名前空間 | DataGridColumnStyle.Edit オーバーロードの一覧