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
Afficher le fichier Open project: Esri/arcgis-toolkit-sl-wpf Class Usage Examples

Méthodes publiques

Свойство Type Description
DateTimeFormatStringProperty System.Windows.DependencyProperty
DateTimeKindProperty System.Windows.DependencyProperty

Méthodes publiques

Méthode Description
DynamicCodedValueDomainColumn ( ) : Microsoft.Windows.Controls

Initializes a new instance of the DynamicCodedValueDomainColumn class.

Méthodes protégées

Méthode 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

Méthode Description
box_SelectionChanged ( object sender, System.Windows.Controls.SelectionChangedEventArgs e ) : void

Method Details

CommitCellEdit() protected méthode

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.
Résultat bool

DynamicCodedValueDomainColumn() public méthode

Initializes a new instance of the DynamicCodedValueDomainColumn class.
public DynamicCodedValueDomainColumn ( ) : Microsoft.Windows.Controls
Résultat Microsoft.Windows.Controls

GenerateEditingElement() protected méthode

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.
Résultat System.Windows.FrameworkElement

GenerateElement() protected méthode

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.
Résultat System.Windows.FrameworkElement

PrepareCellForEdit() protected méthode

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.
Résultat object

Property Details

DateTimeFormatStringProperty public_oe static_oe property

The dependency property used for DateTimeFormat property.
public static DependencyProperty,System.Windows DateTimeFormatStringProperty
Résultat System.Windows.DependencyProperty

DateTimeKindProperty public_oe static_oe property

The dependency property used for DateTimeKind property.
public static DependencyProperty,System.Windows DateTimeKindProperty
Résultat System.Windows.DependencyProperty