Méthode | Description | |
---|---|---|
ActivateMap ( ) : void |
Activate the MapControl and deactivate the PagleLayoutControl
|
|
ActivatePageLayout ( ) : void |
Activate the PagleLayoutControl and deactivate the MapCotrol
|
|
AddFrameworkControl ( object control ) : void |
by passing the application's toolbars and TOC to the synchronization class, it saves you the management of the buddy control each time the active control changes. This method ads the framework control to an array; once the active control changes, the class iterates through the array and calls SetBuddyControl on each of the stored framework control.
|
|
BindControls ( IMapControl3 mapControl, IPageLayoutControl2 pageLayoutControl, bool activateMapFirst ) : void |
bind the MapControl and PageLayoutControl together by assigning a new joint focus map
|
|
BindControls ( bool activateMapFirst ) : void |
bind the MapControl and PageLayoutControl together by assigning a new joint focus map
|
|
ControlsSynchronizer ( ) : System |
default constructor
|
|
ControlsSynchronizer ( IMapControl3 mapControl, IPageLayoutControl2 pageLayoutControl ) : System |
class constructor
|
|
RemoveFrameworkControl ( object control ) : void |
Remove a framework control from the managed list of controls
|
|
RemoveFrameworkControlAt ( int index ) : void |
Remove a framework control from the managed list of controls by specifying its index in the list
|
|
ReplaceMap ( IMap newMap ) : void |
given a new map, replaces the PageLayoutControl and the MapControl's focus map
|
Méthode | Description | |
---|---|---|
SetBuddies ( object buddy ) : void |
when the active control changes, the class iterates through the array of the framework controls and calls SetBuddyControl on each of the controls.
|
public AddFrameworkControl ( object control ) : void | ||
control | object | |
Résultat | void |
public BindControls ( IMapControl3 mapControl, IPageLayoutControl2 pageLayoutControl, bool activateMapFirst ) : void | ||
mapControl | IMapControl3 | |
pageLayoutControl | IPageLayoutControl2 | |
activateMapFirst | bool | true if the MapControl supposed to be activated first |
Résultat | void |
public BindControls ( bool activateMapFirst ) : void | ||
activateMapFirst | bool | true if the MapControl supposed to be activated first |
Résultat | void |
public ControlsSynchronizer ( IMapControl3 mapControl, IPageLayoutControl2 pageLayoutControl ) : System | ||
mapControl | IMapControl3 | |
pageLayoutControl | IPageLayoutControl2 | |
Résultat | System |
public RemoveFrameworkControl ( object control ) : void | ||
control | object | |
Résultat | void |
public RemoveFrameworkControlAt ( int index ) : void | ||
index | int | |
Résultat | void |