ComponentOne True DBGrid for .NET (2.0) Search HelpCentral 

C1DataColumn.EnableDateTimeEditor Property

Gets or sets a value indicating whether a DateTime picker is used to edit this column.

[Visual Basic]

Public Property EnableDateTimeEditor As Boolean

[C#]

public bool EnableDateTimeEditor {get;set;}

[Delphi]

public property EnableDateTimeEditor: Boolean read get_EnableDateTimeEditor write set_EnableDateTimeEditor;

Example

The following code uses the EnableDateTimeEditor property to enable a DateTime picker to be used to edit the column:

·      Visual Basic

       Me.C1TrueDBGrid1.Columns(0).EnableDateTimeEditor = True;

·      C#

       this.C1TrueDBGrid1.Columns[0].EnableDateTimeEditor = true;

·      Delphi

       Self.C1TrueDBGrid1.Columns[0].EnableDateTimeEditor := True;

See Also

C1DataColumn Class | C1DataColumn Members | C1.Win.C1TrueDBGrid Namespace


Send comments about this topic to ComponentOne.
Copyright © ComponentOne LLC. All rights reserved.