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

CodedValueDomainColumn is used for coded value domains from the feature layer. CodedValueDomains also are used for FeatureTypes
Inheritance: DataGridBoundColumn
Datei anzeigen Open project: Esri/arcgis-toolkit-sl-wpf Class Usage Examples

Public Methods

Method Description
CodedValueDomainColumn ( ) : Microsoft.Windows.Controls

Initializes a new instance of the CodedValueDomainColumn class.

Protected Methods

Method Description
CommitCellEdit ( FrameworkElement editingElement ) : bool

Commit should be accepted and pushed back to the source if value returns true or rejected if 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

CodedValueDomainColumn() public method

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

CommitCellEdit() protected method

Commit should be accepted and pushed back to the source if value returns true or rejected if false.
protected CommitCellEdit ( FrameworkElement editingElement ) : bool
editingElement System.Windows.FrameworkElement The framework element that was used during the edit.
return bool

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