DataGridViewComboBoxColumn.DisplayStyleForCurrentCellOnly プロパティ
アセンブリ: System.Windows.Forms (system.windows.forms.dll 内)

Dim instance As DataGridViewComboBoxColumn Dim value As Boolean value = instance.DisplayStyleForCurrentCellOnly instance.DisplayStyleForCurrentCellOnly = value
/** @property */ public boolean get_DisplayStyleForCurrentCellOnly () /** @property */ public void set_DisplayStyleForCurrentCellOnly (boolean value)
public function get DisplayStyleForCurrentCellOnly () : boolean public function set DisplayStyleForCurrentCellOnly (value : boolean)
表示スタイルを現在のセルにのみ適用する場合は true。それ以外の場合は false。既定値は false です。


DisplayStyleForCurrentCellOnly プロパティの値が false の場合、DisplayStyle プロパティは、列に含まれるすべてのセルに影響します。それ以外の場合、DisplayStyle プロパティは現在のセルにのみ影響します。
DisplayStyle プロパティは、セルが読み取り専用であるかどうかに関係なく、編集モード時以外の列のセルの外観に影響します。セルが編集モードのときは、常に ComboBox コントロールのように表示されます。
このプロパティを取得または設定すると、CellTemplate プロパティによって返されるオブジェクトの DisplayStyleForCurrentCellOnly プロパティを取得または設定できます。このプロパティを設定すると、列に含まれるすべてのセルの DisplayStyleForCurrentCellOnly プロパティも設定され、列の表示が更新されます。各セルの指定した値をオーバーライドするには、列の値を設定してからセルの値を設定します。

Windows 98, Windows 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
開発プラットフォームの中には、.NET Framework によってサポートされていないバージョンがあります。サポートされているバージョンについては、「システム要件」を参照してください。


Weblioに収録されているすべての辞書からDataGridViewComboBoxColumn.DisplayStyleForCurrentCellOnly プロパティを検索する場合は、下記のリンクをクリックしてください。

- DataGridViewComboBoxColumn.DisplayStyleForCurrentCellOnly プロパティのページへのリンク