DataGridBoolColumn.AllowNull プロパティ
アセンブリ: System.Windows.Forms (system.windows.forms.dll 内)
構文Dim instance As DataGridBoolColumn Dim value As Boolean value = instance.AllowNull instance.AllowNull = value
/** @property */ public boolean get_AllowNull () /** @property */ public void set_AllowNull (boolean value)
null 値を使用できる場合は true。それ以外の場合は false。既定値は true です。
解説
使用例AllowNull プロパティを設定するコード例を次に示します。
Private Sub SetAllowNull() Dim myGridColumn As DataGridBoolColumn = CType(dataGrid1.TableStyles(0).GridColumnStyles(0), DataGridBoolColumn) myGridColumn.AllowNull = False End Sub 'SetAllowNull
private void SetAllowNull(){ DataGridBoolColumn myGridColumn = (DataGridBoolColumn)dataGrid1.TableStyles[0].GridColumnStyles[0]; myGridColumn.AllowNull = false; }
void SetAllowNull() { DataGridBoolColumn^ myGridColumn = dynamic_cast<DataGridBoolColumn^>(dataGrid1->TableStyles[ 0 ]->GridColumnStyles[ 0 ]); myGridColumn->AllowNull = false; }
プラットフォーム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に収録されているすべての辞書からDataGridBoolColumn.AllowNull プロパティを検索する場合は、下記のリンクをクリックしてください。
全ての辞書からDataGridBoolColumn.AllowNull プロパティ
を検索
- DataGridBoolColumn.AllowNull プロパティのページへのリンク