C# Class ESRI.ArcGIS.Client.Toolkit.DateTimePickerColumn

DateTimePickerColumn is used for editing DateTime fields using an internal DateTimePicker control that allows for working with date and time.
Inheritance: DataGridBoundColumn
ファイルを表示 Open project: Esri/arcgis-toolkit-sl-wpf Class Usage Examples

Public Properties

Property Type Description
DateTimeFormatStringProperty System.Windows.DependencyProperty
DateTimeKindProperty System.Windows.DependencyProperty
FieldInfoProperty System.Windows.DependencyProperty
FieldProperty System.Windows.DependencyProperty

Public Methods

Method Description
DateTimePickerColumn ( ) : Microsoft.Windows.Controls

Initializes a new instance of the DateTimePickerColumn class.

Protected Methods

Method Description
GenerateEditingElement ( DataGridCell cell, object dataItem ) : FrameworkElement

When overridden in a derived class, gets an editing element that is bound to the column's P:System.Windows.Controls.DataGridBoundColumn.Binding property value.

GenerateElement ( DataGridCell cell, object dataItem ) : FrameworkElement

When overridden in a derived class, gets a read-only element that is bound to the column's P:System.Windows.Controls.DataGridBoundColumn.Binding property value.

PrepareCellForEdit ( FrameworkElement editingElement, RoutedEventArgs editingEventArgs ) : object

When overridden in a derived class, called when a cell in the column enters editing mode.

Method Details

DateTimePickerColumn() public method

Initializes a new instance of the DateTimePickerColumn class.
public DateTimePickerColumn ( ) : Microsoft.Windows.Controls
return Microsoft.Windows.Controls

GenerateEditingElement() protected method

When overridden in a derived class, gets an editing element that is bound to the column's P:System.Windows.Controls.DataGridBoundColumn.Binding property value.
protected GenerateEditingElement ( DataGridCell cell, object dataItem ) : FrameworkElement
cell DataGridCell The cell that will contain the generated element.
dataItem object The data item represented by the row that contains the intended cell.
return System.Windows.FrameworkElement

GenerateElement() protected method

When overridden in a derived class, gets a read-only element that is bound to the column's P:System.Windows.Controls.DataGridBoundColumn.Binding property value.
protected GenerateElement ( DataGridCell cell, object dataItem ) : FrameworkElement
cell DataGridCell The cell that will contain the generated element.
dataItem object The data item represented by the row that contains the intended cell.
return System.Windows.FrameworkElement

PrepareCellForEdit() protected method

When overridden in a derived class, called when a cell in the column enters editing mode.
protected PrepareCellForEdit ( FrameworkElement editingElement, RoutedEventArgs editingEventArgs ) : object
editingElement System.Windows.FrameworkElement The element that the column displays for a cell in editing mode.
editingEventArgs System.Windows.RoutedEventArgs Information about the user gesture that is causing a cell to enter editing mode.
return object

Property Details

DateTimeFormatStringProperty public_oe static_oe property

The dependency property used for DateTimeFormat property.
public static DependencyProperty,System.Windows DateTimeFormatStringProperty
return System.Windows.DependencyProperty

DateTimeKindProperty public_oe static_oe property

The dependency property used for DateTimeKind property.
public static DependencyProperty,System.Windows DateTimeKindProperty
return System.Windows.DependencyProperty

FieldInfoProperty public_oe static_oe property

The dependency property used for FieldInfo property.
public static DependencyProperty,System.Windows FieldInfoProperty
return System.Windows.DependencyProperty

FieldProperty public_oe static_oe property

The dependency property used for Field property.
public static DependencyProperty,System.Windows FieldProperty
return System.Windows.DependencyProperty