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

DynamicCodedValueDomainColumn is used for coded value domain types that change depending on the value of another column. i.e when the TypeIDField value changes a new set of coded values may apply.
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

Public Methods

Method Description
DynamicCodedValueDomainColumn ( ) : Microsoft.Windows.Controls

Initializes a new instance of the DynamicCodedValueDomainColumn class.

Protected Methods

Method Description
CommitCellEdit ( FrameworkElement editingElement ) : bool

Commits edit back to the source object if returns true and rejects edit of returns false.

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, sets cell content as needed for editing.

Private Methods

Method Description
box_SelectionChanged ( object sender, System.Windows.Controls.SelectionChangedEventArgs e ) : void

Method Details

CommitCellEdit() protected method

Commits edit back to the source object if returns true and rejects edit of returns false.
protected CommitCellEdit ( FrameworkElement editingElement ) : bool
editingElement System.Windows.FrameworkElement The framework element used during cell edit.
return bool

DynamicCodedValueDomainColumn() public method

Initializes a new instance of the DynamicCodedValueDomainColumn class.
public DynamicCodedValueDomainColumn ( ) : 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, sets cell content as needed for editing.
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