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


ISketchPropertiesWindow Interface (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Editor > ESRI.ArcGIS.Editor > Interfaces > IS > ISketchPropertiesWindow Interface
ArcGIS Developer Help

ISketchPropertiesWindow Interface

Provides access to the Sketch Properties Window.

Product Availability

Available with ArcGIS Desktop.

Members

Name Description
Read/write property Visible Indicates if Sketch Properties Window is visible.

Classes that implement ISketchPropertiesWindow

Classes Description
SketchPropertiesWindow Dialog for modifying sketch geometry.
[C#]
/// 

 /// This routine opens the sketch properties window if it is not visible. /// 
 public void OpenSketchProperties()
 {
    //get editor extension
    UID editorUID = new UIDClass();
    editorUID.Value = "esriEditor.Editor";
    IEditor editor = m_application.FindExtensionByCLSID(editorUID) as IEditor;
    //get sketch propertie extension
    UID sketchPropertieWindowUID = new UIDClass();
    sketchPropertieWindowUID.Value = "esriEditor.SketchPropertiesWindow";
    ISketchPropertiesWindow sketchPropertiesWindow = editor.FindExtension(sketchPropertieWindowUID) as ISketchPropertiesWindow;
        
    //set the properties window visible
    if(!sketchPropertiesWindow.Visible)
    {
        sketchPropertiesWindow.Visible = true;
    }
}