This document is archived and information here might be outdated.  Recommended version.


IAttributeWindow Interface (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (Editor)  

IAttributeWindow Interface

Provides access to the Attribute Window.

Product Availability

Available with ArcGIS Desktop.

Members

Description
Read-only property ObjectInspector Current object attribute inspector.
Read/write property Visible Indicates if Attribute Window is visible.

CoClasses that implement IAttributeWindow

CoClasses and Classes Description
AttributeWindow Dialog for inspecting selected/editable features.

Remarks

Use this interface to hide or show the Attributes window and access the object inspector currently loaded inside of it.  A reference can be obtained using the IEditor::FindExtension method.

[C#]
Private IEditor m_editor;
Private IApplication m_app;
//A reference to IApplication would occur in the ICommand::OnCreate method.
//The example code below is from an Add-In, so ArcMap is provided.
...
IEditor m_editor;
UID editorUiD=new UIDClass();
editorUiD.Value="esriEditor.Editor";
m_editor=ArcMap.Application.FindExtensionByCLSID(editorUiD) as IEditor;
IAttributeWindow attWin;
UID attributeuID=new UIDClass();
attributeuID.Value="esriEditor.AttributeWindow";
attWin=m_editor.FindExtension(attributeuID) as IAttributeWindow;
attWin.Visible=true;
[Visual Basic .NET]
  Dim m_editor as IEditor 
Dim editUiD as New UID
Dim attWindow as IAttributeWindow
Dim attWindowiD As New UID 'm_application comes from hook parameter in ICommand::OnCreate method. 'Or is provided in Add-in's with the ArcMap object. edituiD.Value= "esriEditor.Editor" m_editor=m_application.FindExtensionByCLSID(editUiD) attWindowiD="esriEditor.AttributeWindow"
attWindow=m_editor.FindExtension(attWindowiD)