Provides access to the Attribute Window.
Product Availability
Available with ArcGIS Desktop.
Members
Description | ||
---|---|---|
ObjectInspector | Current object attribute inspector. | |
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.
...
UID editorUiD as new UIDClass();
editorUiD.Value = "esriEditor.Editor"
m_editor = m_app.FindExtensionByCLSID(editorUiD) as IEditor;
IAttributeWindow attWin;
IExtension extension = m_editor as IExtension;
UID attributeuID = new UIDClass();
attributeuID.Value = "esriEditor.AttributeWindow";
attributeuID = m_editor.FindExtension(attributeuID) as UID;
attWin = extension as IAttributeWindow;
[Visual Basic .NET]
Dim m_editor as IEditor
Dim editUiD as New UID
Dim attWindow as IAttributeWindow
Dim extension As IExtension
Dim attWindowiD As New UID
'm_application comes from hook parameter in ICommand::OnCreate method.
edituiD.Value = "esriEditor.Editor"
m_editor = m_application.FindExtensionByCLSID(editUiD)
attWindowiD = "esriEditor.AttributeWindow"
attWindow = m_editor.FindExtension(attWindowiD)
'QI
extension = m_editor
attWindow = extension