How to open a fully functioning attribute window with ArcObjects from ArcMap?

3127
1
Jump to solution
09-09-2013 12:11 PM
SuiHuang
Occasional Contributor II
Hi Everbody:

    I try open an attribute window for a feature layer with ArcObjects

targetWindow = new TableWindowClass(); targetWindow.Layer = targetLayer; targetWindow.Application = app; if (!targetWindow.IsVisible) {   targetWindow.Show(true); } targetWindow.TableControl.RemoveAndReloadCache(); targetWindow.Refresh();


    However the attribute window open this way does not allow user to display the selected features only, nor displaying how many features are selected. user cannot select features from this attribute window. Please see the attached image for details.

    How can I open a fully functional attribute window from code?

    Thank you.
0 Kudos
1 Solution

Accepted Solutions
SuiHuang
Occasional Contributor II
The ITableWindow.TableSelectionAction property can control the selection behavior of the attribute window

View solution in original post

0 Kudos
1 Reply
SuiHuang
Occasional Contributor II
The ITableWindow.TableSelectionAction property can control the selection behavior of the attribute window
0 Kudos