Свойство | Type | Description | |
---|---|---|---|
DateTimeFormatProperty | |||
DateTimeKindProperty | |||
FilterSourceProperty | |||
GraphicsLayerProperty | DependencyProperty | ||
MapProperty | DependencyProperty |
Méthode | Description | |
---|---|---|
FeatureDataGrid ( ) : System |
Initializes a new instance of the FeatureDataGrid class.
|
|
GetGraphicFromRow ( object row ) : Graphic |
Get a row from the FeatureDataGrid and returns the matching Graphic for the row.
|
|
OnApplyTemplate ( ) : void |
When overridden in a derived class, is invoked whenever application code or internal processes (such as a rebuilding layout pass) call ApplyTemplate. In simplest terms, this means the method is called just before a UI element displays in an application.
|
|
ScrollIntoView ( Graphic graphic, DataGridColumn column ) : void |
Scrolls the FeatureDataGrid vertically to display the row for the specified Graphic and scrolls the FeatureDataGrid horizontally to display the specified column.
|
Méthode | Description | |
---|---|---|
OnAutoGeneratingColumn ( DataGridAutoGeneratingColumnEventArgs e ) : void |
Raises the E:System.Windows.Controls.DataGrid.AutoGeneratingColumn event.
|
|
OnCellEditEnded ( DataGridCellEditEndedEventArgs e ) : void |
Raises the E:System.Windows.Controls.DataGrid.CellEditEnded event.
|
|
OnCellEditEnding ( DataGridCellEditEndingEventArgs e ) : void |
Raises the E:System.Windows.Controls.DataGrid.CellEditEnding event.
|
|
OnPreparingCellForEdit ( DataGridPreparingCellForEditEventArgs e ) : void |
Raises the E:System.Windows.Controls.DataGrid.PreparingCellForEdit event.
|
|
OnRowEditEnded ( DataGridRowEditEndedEventArgs e ) : void |
Raises the E:System.Windows.Controls.DataGrid.RowEditEnded event.
|
Méthode | Description | |
---|---|---|
AllAttributesMatch ( System itemsSourceProperties, object>.IDictionary |
||
AreEqual ( object item, Graphic graphic ) : bool | ||
DatePicker_SelectedDateChanged ( object sender, System.Windows.Controls.SelectionChangedEventArgs e ) : void | ||
DispatcherTimer_Tick ( object sender, |
||
FilterSource_CollectionChanged ( object sender, System e ) : void | ||
GetCorrespondingGridRow ( Graphic graphic ) : object |
Gets the corresponding row in FeatureDataGrid for the graphic.
|
|
GetGraphicIndexInGraphicsCollection ( Graphic graphic ) : int |
Finds and returns the given graphics in the graphics collection in the GraphicsLayer.
|
|
GetRowIndexInItemsSource ( Graphic graphic ) : int | ||
GetRowIndexInItemsSource ( object item ) : int | ||
GetRowIndexInRowsCollection ( object gridRow ) : int |
Finds and returns index of the given row in the ItemsSource object of the FeatureDataGrid.
|
|
GoToVisualState ( Graphic graphic, string stateName ) : void | ||
Graphic_AttributeValueChanged ( object sender, ESRI e ) : void | ||
GraphicsLayer_MouseEnter ( object sender, GraphicMouseEventArgs e ) : void | ||
GraphicsLayer_MouseLeave ( object sender, GraphicMouseEventArgs e ) : void | ||
GraphicsLayer_PropertyChanged ( object sender, PropertyChangedEventArgs e ) : void | ||
Graphics_CollectionChanged ( object sender, System e ) : void |
Will be fired whenever there were any changes in graphics collection of the GraphicsLayer to update FeatureDataGrid's ItemsSource.
|
|
OnFilterSourcePropertyChanged ( DependencyObject d, DependencyPropertyChangedEventArgs e ) : void | ||
OnGraphicsLayerPropertyChanged ( DependencyObject d, DependencyPropertyChangedEventArgs e ) : void | ||
PagedCollectionView_CollectionChanged ( object sender, System e ) : void | ||
PopulateItemsSource ( GraphicsLayer graphicsLayer, EventHandler |
Populates associated GraphicsLayer's PropertyChanged event handler (if it's not a FeatureLayer) to update contents of the FeatureDataGrid when its Graphics collection changes. Also, checks whether the layer is a FeatureLayer and populates the internal LayerInfo and EndSaveEdits event handlers for editing purposes. At the end sets the ItemsSource of FeatureDataGrid and resets its internal variables states and values, and if it's called as a result of the Initialized event handler of GraphicsLayer unregisters the handler.
|
|
RegisterGraphicCollectionEventHandlers ( ) : void | ||
ResetLayout ( ) : void | ||
RestorePreviousSelection ( IEnumerable |
||
ScrollGridRowIntoView ( object item ) : void |
Finds the row in the input parameter then scrolls the data gird vertically to make it visible to the user.
|
|
SelectAll ( ) : void |
Selects all rows and graphic features.
|
|
SelectCurrentRecord ( ) : void |
Selects current record in the FeatureDataGrid.
|
|
SelectGraphics ( IList rowsToLookup, bool shouldSelectGraphics ) : void |
Selects/deselects related graphic objects in the GraphicsLayer when related grid rows have been selected/deselected by the user.
|
|
SetCurrentRecordNumberTextBox ( ) : void |
Sets the text in current record number text box.
|
|
SetFieldAliasMapping ( DataGridColumn dgColumn, string fieldName, string fieldAlias ) : void | ||
SetItemsSource ( IEnumerable |
Sets the FeatureDataGrid's ItemsSource after converting the source parameter to the proper format.
|
|
SetLayoutAndInternalVariables ( ) : void | ||
SetNumberOfRecordsTextBlock ( int countSelected, int countTotal ) : void |
Sets the text in number of records text block.
|
|
ShowNumberOfRecords ( ) : void |
Shows number of selected records and total number of records in the grid row.
|
|
UnregisterGraphicCollectionEventHandlers ( ) : void | ||
UpdateItemsSource ( object sender, System e ) : void |
Updates contents of the ItemsSource when FeatureDataGrid's associated graphic collection changes.
|
|
ValidateCurrentRecordNumber ( ) : void |
Validates current record number and sets an appropriate value based upon the accepted range.
|
|
XmlEncode ( string xml ) : string |
public GetGraphicFromRow ( object row ) : Graphic | ||
row | object | Row object from FeatureDataGrid.ItemsSource collection |
Résultat | Graphic |
protected OnAutoGeneratingColumn ( DataGridAutoGeneratingColumnEventArgs e ) : void | ||
e | DataGridAutoGeneratingColumnEventArgs | The event data. |
Résultat | void |
protected OnCellEditEnded ( DataGridCellEditEndedEventArgs e ) : void | ||
e | DataGridCellEditEndedEventArgs | The event data. |
Résultat | void |
protected OnCellEditEnding ( DataGridCellEditEndingEventArgs e ) : void | ||
e | DataGridCellEditEndingEventArgs | The event data. |
Résultat | void |
protected OnPreparingCellForEdit ( DataGridPreparingCellForEditEventArgs e ) : void | ||
e | DataGridPreparingCellForEditEventArgs | The event data. |
Résultat | void |
protected OnRowEditEnded ( DataGridRowEditEndedEventArgs e ) : void | ||
e | DataGridRowEditEndedEventArgs | The event data. |
Résultat | void |
public ScrollIntoView ( Graphic graphic, DataGridColumn column ) : void | ||
graphic | Graphic | The graphic. |
column | DataGridColumn | The column. |
Résultat | void |
public static DependencyProperty,System.Windows DateTimeFormatProperty | ||
Résultat |
public static DependencyProperty,System.Windows DateTimeKindProperty | ||
Résultat |
public static DependencyProperty,System.Windows FilterSourceProperty | ||
Résultat |
public static DependencyProperty GraphicsLayerProperty | ||
Résultat | DependencyProperty |