数値型セルのドロップダウンボタンを非表示にするには?
対象製品
El Tabelle for .NET 2.0J
詳細
El Tabelle for .NET 2.0 の数値型セルでは、表示スタイルを次の3種類より選択できます。
・NotShown
ドロップダウンボタンを表示しません。
・ShowAlways
ドロップダウンボタンを常に表示します。
・ShowOnFocus
ドロップダウンボタンをセルの編集時のみ表示します。
ドロップダウンボタンを非表示にするには、既定の設定「ShowAlways」を「NotShown」へ変更します。
[Visual Basic]
[C#]
・NotShown
ドロップダウンボタンを表示しません。
・ShowAlways
ドロップダウンボタンを常に表示します。
・ShowOnFocus
ドロップダウンボタンをセルの編集時のみ表示します。
ドロップダウンボタンを非表示にするには、既定の設定「ShowAlways」を「NotShown」へ変更します。
[Visual Basic]
Dim objNumberEditor As New GrapeCity.Win.ElTabelle.Editors.NumberEditor
objNumberEditor.ShowDropDown = _
GrapeCity.Win.ElTabelle.Visibility.NotShown
Sheet1(0, 0).Editor = objNumberEditor
objNumberEditor.ShowDropDown = _
GrapeCity.Win.ElTabelle.Visibility.NotShown
Sheet1(0, 0).Editor = objNumberEditor
[C#]
GrapeCity.Win.ElTabelle.Editors.NumberEditor objNumberEditor =
new GrapeCity.Win.ElTabelle.Editors.NumberEditor();
objNumberEditor.ShowDropDown =
GrapeCity.Win.ElTabelle.Visibility.NotShown;
sheet1[0, 0].Editor = objNumberEditor;
new GrapeCity.Win.ElTabelle.Editors.NumberEditor();
objNumberEditor.ShowDropDown =
GrapeCity.Win.ElTabelle.Visibility.NotShown;
sheet1[0, 0].Editor = objNumberEditor;
キーワード
HowTo
この文書は、以前は次のFAQ IDで公開されていました : 4951