The following tables list the members exposed by Feature.
Public Constructors
Public Properties
| Name | Description |
 | CanEdit |
Indicates whether or not the feature can be modified or deleted in the
application user-interface.
|
 | DisplayEditState |
Same as EditState except with Resources.Status + ": " in front of it.
|
 | DisplayName |
Same as Name, except if Name is null, empty or whitespace we return Resources.Nothing.
|
 | DistanceFromGps |
Calculates the distance of the feature to the current GPS location.
If a GPS Connection isn't open, it calculates the distance to the center of the map.
|
 | DistanceFromMapCenter |
Calculates the distance from the center of the map.
|
 | EditState |
Gets the EditState of this Feature.
|
 | FeatureDataRow |
Gets the corresponding FeatureDataRow when the Feature is in an edit state.
|
 | FeatureSource |
Gets the FeatureSource this Feature is from.
|
 | FeatureSourceInfo |
Gets the FeatureSourceInfo this Feature is from.
|
 | FeatureType |
Gets the FeatureType of this Feature.
|
 | Geometry |
Gets the Geometry of this Feature.
|
 | HasErrors |
Indicates whether any modifications made to the feature contain any
errors.
|
 | HasValidAttributes |
Indicates whether any modifications made to any attributes/columns
other than the geometry column contain any errors.
|
 | HasValidGeometry |
Indicates whether the Geometry in the row is not null and is valid.
|
 | HelpStrings |
Gets the HelpStrings associated with this Feature.
|
 | IsEditing |
Indicates whether or not we are currently modifying the attribute
values of the feature.
|
 | IsNew |
Indicates whether or not the feature is a new feature
|
 | ObjectId |
Gets the ObjectId associated with this Feature.
|
 | Swatch |
Gets the swatch of the FeatureType.
|
Top
Public Methods
| Name | Description |
 | AddAttachmentItem |
Add an attachment item
|
 | BeginEdit |
Begins an individual editing operation. After desired changes have
been made, call EndEdit() to save the changes or CancelEdit() to
rollback any edits since BeginEdit() was called.
|
 | CancelEdit |
Restores the associated feature data row to its state prior to the
call to BeginEdit(). You still must call StopEditing() when done
editing the feature in order to detach from the feature data row.
|
 | DeleteAttachmentItem |
Delete an attachment item
|
 | EndEdit |
Commits any edits made since the previous call to BeginEdit(). You
still must call StopEditing() when done editing the feature in order
to detach from the feature data row.
|
 | GetAttachmentItems |
List of Attachment Items
|
 | GetDeletedAttachments |
List of Deleted Attachment Items
|
 | GetEditableDataReader |
Returns a FeatureDataReader that represents this Feature.
|
 | GetReadOnlyDataReader |
Returns a FeatureDataReader that represents this Feature.
|
  | GetValueConsiderDomain | Overloaded.
Gets a string value for a particular attribute of a feature, taking into account the domain and whether or not the
field is a subtype field.
|
 | Refresh |
Updates the properties of the Feature based upon the current state of
the data source (i.e., the feature layer).
|
 | SaveEdits |
Saves all changes to the feature to the feature data table.
|
 | StartEditing |
Begins editing a feature by attaching to the feature data row. This
must be called before BeginEdit() can be called. When editing is
finished, call SaveEdits() (optional) to save the edits to the table
and finally call StopEditing() to release the reference to the feature
data row.
|
 | StopEditing |
Ends the overall editing of the feature.
|
 | Validate |
Determines whether a value in the row for a specified column is valid.
|
Top
Protected Methods
| Name | Description |
 | GetRequiredColumnNames |
Returns the required columns that a Feature requires in a
FeatureDataRow. I.e., the fields required to determine the
ObjectId, FeatureType, and DisplayName.
|
 | OnPropertyChanged |
Call this from derived classes when a property is changed to fire
the PropertyChanged event.
|
 | SetProperties | Overloaded.
Sets the properties on the feature.
|
Top
Public Events
See Also