C# Класс 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.
Наследование: DataGridBoundColumn
Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
DateTimeFormatStringProperty System.Windows.DependencyProperty
DateTimeKindProperty System.Windows.DependencyProperty

Открытые методы

Метод Описание
DynamicCodedValueDomainColumn ( ) : Microsoft.Windows.Controls

Initializes a new instance of the DynamicCodedValueDomainColumn class.

Защищенные методы

Метод Описание
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.

Приватные методы

Метод Описание
box_SelectionChanged ( object sender, System.Windows.Controls.SelectionChangedEventArgs e ) : void

Описание методов

CommitCellEdit() защищенный Метод

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.
Результат bool

DynamicCodedValueDomainColumn() публичный Метод

Initializes a new instance of the DynamicCodedValueDomainColumn class.
public DynamicCodedValueDomainColumn ( ) : Microsoft.Windows.Controls
Результат Microsoft.Windows.Controls

GenerateEditingElement() защищенный Метод

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.
Результат System.Windows.FrameworkElement

GenerateElement() защищенный Метод

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.
Результат System.Windows.FrameworkElement

PrepareCellForEdit() защищенный Метод

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.
Результат object

Описание свойств

DateTimeFormatStringProperty публичное статическое свойство

The dependency property used for DateTimeFormat property.
public static DependencyProperty,System.Windows DateTimeFormatStringProperty
Результат System.Windows.DependencyProperty

DateTimeKindProperty публичное статическое свойство

The dependency property used for DateTimeKind property.
public static DependencyProperty,System.Windows DateTimeKindProperty
Результат System.Windows.DependencyProperty