ThinkGeo.MapSuite.GisEditor.DataRepositoryItem
Note: The page was created before Map Suite 10. Map Suite 10.0 organized many classes into new namespaces and assemblies as well as had a few minor breaks in compatibility. The majority of previously built code should work without modification assuming the new namespaces are added. For guidance on upgrading your existing code, please check out MapSuite 10 Upgrade Guide.
<!– Class –>
This class represents a data repository item.
The instance of this object is used to create a hierarchy object to represent the base map list, data folder etc.
Inheritance Hierarchy
Members Summary
Public Constructors
Name | Parameters | DeclaringType | Summary |
DataRepositoryItem | | | Initializes a new instance of the class. |
Protected Constructors
Name | Parameters | DeclaringType | Summary |
Public Methods
Protected Methods
Name | Parameters | DeclaringType | Summary |
Broadcast | T, T, String | ViewModelBase | |
Finalize | | Object | |
GetSearchResultCore | IEnumerable<String> | | |
LoadCore | | | Loads current data repository onto active map. |
MemberwiseClone | | Object | |
OnLoaded | LoadedDataRepositoryItemEventArgs | | |
OnLoading | LoadingDataRepositoryItemEventArgs | | |
OnRefreshed | EventArgs | | |
OnRefreshing | CancelEventArgs | | |
RaisePropertyChanged | Expression<Func<T» | ObservableObject | |
RaisePropertyChanged | String, T, T, Boolean | ViewModelBase | |
RaisePropertyChanged | Expression<Func<T», T, T, Boolean | ViewModelBase | |
RaisePropertyChanged | String | ObservableObject | |
RefreshCore | | | |
RenameCore | String | | |
Set | Expression<Func<T», ref T, T | ObservableObject | |
Set | String, ref T, T, Boolean | ViewModelBase | |
Set | Expression<Func<T», ref T, T, Boolean | ViewModelBase | |
Set | String, ref T, T | ObservableObject | |
Public Properties
Protected Properties
Public Events
Public Constructors
DataRepositoryItem()
Initializes a new instance of the class.
Parameters
Protected Constructors
Public Methods
Cleanup()
Return Value
Return Type | Description |
Void<!– System.Void –> | |
Parameters
<!– GalaSoft.MvvmLight.ViewModelBase –>
Go Back
Equals(Object)
Return Value
Return Type | Description |
Boolean<!– System.Boolean –> | |
Parameters
Name | Type | Description |
obj | Object<!– System.Object –> | |
<!– System.Object –>
Go Back
GetHashCode()
Return Value
Return Type | Description |
Int32<!– System.Int32 –> | |
Parameters
GetRootDataRepositoryItem()
Return Value
Return Type | Description |
DataRepositoryItem<!– ThinkGeo.MapSuite.GisEditor.DataRepositoryItem –> | |
Parameters
<!– ThinkGeo.MapSuite.GisEditor.DataRepositoryItem –>
Go Back
GetSearchResult(IEnumerable<String>)
Gets the search result from its children tree.
Return Value
Return Type | Description |
Collection<DataRepositoryItem><!– System.Collections.ObjectModel.Collection{ThinkGeo.MapSuite.GisEditor.DataRepositoryItem} –> | A set of data repository that matches the keywords. |
Parameters
Name | Type | Description |
keywords | IEnumerable<String><!– System.Collections.Generic.IEnumerable{System.String} –> | The keywords. |
<!– ThinkGeo.MapSuite.GisEditor.DataRepositoryItem –>
Go Back
GetType()
Return Value
Return Type | Description |
Type<!– System.Type –> | |
Parameters
Load()
Loads current data repository onto active map.
Return Value
Return Type | Description |
Void<!– System.Void –> | |
Parameters
<!– ThinkGeo.MapSuite.GisEditor.DataRepositoryItem –>
Go Back
Refresh()
Return Value
Return Type | Description |
Void<!– System.Void –> | |
Parameters
<!– ThinkGeo.MapSuite.GisEditor.DataRepositoryItem –>
Go Back
Rename(String)
Return Value
Return Type | Description |
Boolean<!– System.Boolean –> | |
Parameters
Name | Type | Description |
newName | String<!– System.String –> | |
<!– ThinkGeo.MapSuite.GisEditor.DataRepositoryItem –>
Go Back
ToString()
Return Value
Return Type | Description |
String<!– System.String –> | |
Parameters
VerifyPropertyName(String)
Return Value
Return Type | Description |
Void<!– System.Void –> | |
Parameters
Name | Type | Description |
propertyName | String<!– System.String –> | |
<!– GalaSoft.MvvmLight.ObservableObject –>
Go Back
Protected Methods
Broadcast(T, T, String)
Return Value
Return Type | Description |
Void<!– System.Void –> | |
Parameters
Name | Type | Description |
oldValue | T<!– T –> | |
newValue | T<!– T –> | |
propertyName | String<!– System.String –> | |
<!– GalaSoft.MvvmLight.ViewModelBase –>
Go Back
Finalize()
Return Value
Return Type | Description |
Void<!– System.Void –> | |
Parameters
GetSearchResultCore(IEnumerable<String>)
Return Value
Return Type | Description |
Collection<DataRepositoryItem><!– System.Collections.ObjectModel.Collection{ThinkGeo.MapSuite.GisEditor.DataRepositoryItem} –> | |
Parameters
Name | Type | Description |
keywords | IEnumerable<String><!– System.Collections.Generic.IEnumerable{System.String} –> | |
<!– ThinkGeo.MapSuite.GisEditor.DataRepositoryItem –>
Go Back
LoadCore()
Loads current data repository onto active map.
Return Value
Return Type | Description |
Void<!– System.Void –> | |
Parameters
<!– ThinkGeo.MapSuite.GisEditor.DataRepositoryItem –>
Go Back
MemberwiseClone()
Return Value
Return Type | Description |
Object<!– System.Object –> | |
Parameters
OnLoaded(LoadedDataRepositoryItemEventArgs)
Return Value
Return Type | Description |
Void<!– System.Void –> | |
Parameters
<!– ThinkGeo.MapSuite.GisEditor.DataRepositoryItem –>
Go Back
OnLoading(LoadingDataRepositoryItemEventArgs)
Return Value
Return Type | Description |
Void<!– System.Void –> | |
Parameters
<!– ThinkGeo.MapSuite.GisEditor.DataRepositoryItem –>
Go Back
OnRefreshed(EventArgs)
Return Value
Return Type | Description |
Void<!– System.Void –> | |
Parameters
Name | Type | Description |
e | EventArgs<!– System.EventArgs –> | |
<!– ThinkGeo.MapSuite.GisEditor.DataRepositoryItem –>
Go Back
OnRefreshing(CancelEventArgs)
Return Value
Return Type | Description |
Void<!– System.Void –> | |
Parameters
Name | Type | Description |
e | CancelEventArgs<!– System.ComponentModel.CancelEventArgs –> | |
<!– ThinkGeo.MapSuite.GisEditor.DataRepositoryItem –>
Go Back
RaisePropertyChanged(Expression<Func<T>>)
Return Value
Return Type | Description |
Void<!– System.Void –> | |
Parameters
Name | Type | Description |
propertyExpression | Expression<Func<T»<!– Expression{Func{T}} –> | |
<!– GalaSoft.MvvmLight.ObservableObject –>
Go Back
RaisePropertyChanged(String, T, T, Boolean)
Return Value
Return Type | Description |
Void<!– System.Void –> | |
Parameters
Name | Type | Description |
propertyName | String<!– System.String –> | |
oldValue | T<!– T –> | |
newValue | T<!– T –> | |
broadcast | Boolean<!– System.Boolean –> | |
<!– GalaSoft.MvvmLight.ViewModelBase –>
Go Back
RaisePropertyChanged(Expression<Func<T>>, T, T, Boolean)
Return Value
Return Type | Description |
Void<!– System.Void –> | |
Parameters
Name | Type | Description |
propertyExpression | Expression<Func<T»<!– Expression{Func{T}} –> | |
oldValue | T<!– T –> | |
newValue | T<!– T –> | |
broadcast | Boolean<!– System.Boolean –> | |
<!– GalaSoft.MvvmLight.ViewModelBase –>
Go Back
RaisePropertyChanged(String)
Return Value
Return Type | Description |
Void<!– System.Void –> | |
Parameters
Name | Type | Description |
propertyName | String<!– System.String –> | |
<!– GalaSoft.MvvmLight.ObservableObject –>
Go Back
RefreshCore()
Return Value
Return Type | Description |
Void<!– System.Void –> | |
Parameters
<!– ThinkGeo.MapSuite.GisEditor.DataRepositoryItem –>
Go Back
RenameCore(String)
Return Value
Return Type | Description |
Boolean<!– System.Boolean –> | |
Parameters
Name | Type | Description |
newName | String<!– System.String –> | |
<!– ThinkGeo.MapSuite.GisEditor.DataRepositoryItem –>
Go Back
Set(Expression<Func<T>>, ref T, T)
Return Value
Return Type | Description |
Void<!– System.Void –> | |
Parameters
Name | Type | Description |
propertyExpression | Expression<Func<T»<!– Expression{Func{T}} –> | |
field | ref T<!– T –> | |
newValue | T<!– T –> | |
<!– GalaSoft.MvvmLight.ObservableObject –>
Go Back
Set(String, ref T, T, Boolean)
Return Value
Return Type | Description |
Void<!– System.Void –> | |
Parameters
Name | Type | Description |
propertyName | String<!– System.String –> | |
field | ref T<!– T –> | |
newValue | T<!– T –> | |
broadcast | Boolean<!– System.Boolean –> | |
<!– GalaSoft.MvvmLight.ViewModelBase –>
Go Back
Set(Expression<Func<T>>, ref T, T, Boolean)
Return Value
Return Type | Description |
Void<!– System.Void –> | |
Parameters
Name | Type | Description |
propertyExpression | Expression<Func<T»<!– Expression{Func{T}} –> | |
field | ref T<!– T –> | |
newValue | T<!– T –> | |
broadcast | Boolean<!– System.Boolean –> | |
<!– GalaSoft.MvvmLight.ViewModelBase –>
Go Back
Set(String, ref T, T)
Return Value
Return Type | Description |
Void<!– System.Void –> | |
Parameters
Name | Type | Description |
propertyName | String<!– System.String –> | |
field | ref T<!– T –> | |
newValue | T<!– T –> | |
<!– GalaSoft.MvvmLight.ObservableObject –>
Go Back
Public Properties
CanRemove
Return Value
Return Type |
Boolean<!– System.Boolean –> |
<!– ThinkGeo.MapSuite.GisEditor.DataRepositoryItem –>
Go Back
CanRename
Return Value
Return Type |
Boolean<!– System.Boolean –> |
<!– ThinkGeo.MapSuite.GisEditor.DataRepositoryItem –>
Go Back
Category
Return Value
Return Type |
String<!– System.String –> |
<!– ThinkGeo.MapSuite.GisEditor.DataRepositoryItem –>
Go Back
Children
Gets the children of this data repository item.
Return Value
Return Type |
ObservableCollection<DataRepositoryItem><!– System.Collections.ObjectModel.ObservableCollection{ThinkGeo.MapSuite.GisEditor.DataRepositoryItem} –> |
<!– ThinkGeo.MapSuite.GisEditor.DataRepositoryItem –>
Go Back
Content
Return Value
Return Type |
UserControl<!– System.Windows.Controls.UserControl –> |
<!– ThinkGeo.MapSuite.GisEditor.DataRepositoryItem –>
Go Back
Gets or sets the context menu of data repository item instance.
Return Value
Return Type |
ContextMenu<!– System.Windows.Controls.ContextMenu –> |
<!– ThinkGeo.MapSuite.GisEditor.DataRepositoryItem –>
Go Back
CustomData
Return Value
Return Type |
Dictionary<String,Object><!– System.Collections.Generic.Dictionary{System.String,System.Object} –> |
<!– ThinkGeo.MapSuite.GisEditor.DataRepositoryItem –>
Go Back
Icon
Gets or sets the icon of data repository item instance.
Return Value
Return Type |
ImageSource<!– System.Windows.Media.ImageSource –> |
<!– ThinkGeo.MapSuite.GisEditor.DataRepositoryItem –>
Go Back
Id
Return Value
Return Type |
String<!– System.String –> |
<!– ThinkGeo.MapSuite.GisEditor.DataRepositoryItem –>
Go Back
IsExpanded
Return Value
Return Type |
Boolean<!– System.Boolean –> |
<!– ThinkGeo.MapSuite.GisEditor.DataRepositoryItem –>
Go Back
IsInDesignMode
Return Value
Return Type |
Boolean<!– System.Boolean –> |
<!– GalaSoft.MvvmLight.ViewModelBase –>
Go Back
IsLeaf
Return Value
Return Type |
Boolean<!– System.Boolean –> |
<!– ThinkGeo.MapSuite.GisEditor.DataRepositoryItem –>
Go Back
IsLoadable
Gets a value indicating whether this instance is allow to load onto the map.
Return Value
Return Type |
Boolean<!– System.Boolean –> |
<!– ThinkGeo.MapSuite.GisEditor.DataRepositoryItem –>
Go Back
IsRenaming
Return Value
Return Type |
Boolean<!– System.Boolean –> |
<!– ThinkGeo.MapSuite.GisEditor.DataRepositoryItem –>
Go Back
IsSelected
Return Value
Return Type |
Boolean<!– System.Boolean –> |
<!– ThinkGeo.MapSuite.GisEditor.DataRepositoryItem –>
Go Back
Name
Gets or sets the name of data repository item instance.
Return Value
Return Type |
String<!– System.String –> |
<!– ThinkGeo.MapSuite.GisEditor.DataRepositoryItem –>
Go Back
Parent
Return Value
<!– ThinkGeo.MapSuite.GisEditor.DataRepositoryItem –>
Go Back
SourcePlugin
Return Value
<!– ThinkGeo.MapSuite.GisEditor.DataRepositoryItem –>
Go Back
Protected Properties
CanRemoveCore
Return Value
Return Type |
Boolean<!– System.Boolean –> |
<!– ThinkGeo.MapSuite.GisEditor.DataRepositoryItem –>
Go Back
CanRenameCore
Return Value
Return Type |
Boolean<!– System.Boolean –> |
<!– ThinkGeo.MapSuite.GisEditor.DataRepositoryItem –>
Go Back
CategoryCore
Return Value
Return Type |
String<!– System.String –> |
<!– ThinkGeo.MapSuite.GisEditor.DataRepositoryItem –>
Go Back
IdCore
Return Value
Return Type |
String<!– System.String –> |
<!– ThinkGeo.MapSuite.GisEditor.DataRepositoryItem –>
Go Back
IsLeafCore
Return Value
Return Type |
Boolean<!– System.Boolean –> |
<!– ThinkGeo.MapSuite.GisEditor.DataRepositoryItem –>
Go Back
IsLoadableCore
Gets a value indicating whether this instance is allow to load onto the map.
Return Value
Return Type |
Boolean<!– System.Boolean –> |
<!– ThinkGeo.MapSuite.GisEditor.DataRepositoryItem –>
Go Back
MessengerInstance
Return Value
Return Type |
IMessenger<!– GalaSoft.MvvmLight.Messaging.IMessenger –> |
<!– GalaSoft.MvvmLight.ViewModelBase –>
Go Back
PropertyChangedHandler
Return Value
Return Type |
PropertyChangedEventHandler<!– System.ComponentModel.PropertyChangedEventHandler –> |
<!– GalaSoft.MvvmLight.ObservableObject –>
Go Back
Public Events
Loaded
Event Arguments
<!– ThinkGeo.MapSuite.GisEditor.DataRepositoryItem –>
Go Back
Loading
Event Arguments
<!– ThinkGeo.MapSuite.GisEditor.DataRepositoryItem –>
Go Back
PropertyChanged
Event Arguments
Event Arguments |
PropertyChangedEventArgs<!– System.ComponentModel.PropertyChangedEventArgs –> |
<!– GalaSoft.MvvmLight.ObservableObject –>
Go Back
Refreshed
Event Arguments
Event Arguments |
EventArgs<!– System.EventArgs –> |
<!– ThinkGeo.MapSuite.GisEditor.DataRepositoryItem –>
Go Back
Refreshing
Event Arguments