private void displayElementProperty(HtmlElement element) { this.listView_Properties.Items.Clear(); HTMLElementProperty property = new HTMLElementProperty(element); ListViewItem newItem = new ListViewItem("Tag Name"); newItem.SubItems.Add(new ListViewItem.ListViewSubItem(newItem, property.TagName)); this.listView_Properties.Items.Add(newItem); newItem = new ListViewItem("Id"); newItem.SubItems.Add(new ListViewItem.ListViewSubItem(newItem, property.Id)); this.listView_Properties.Items.Add(newItem); newItem = new ListViewItem("Name"); newItem.SubItems.Add(new ListViewItem.ListViewSubItem(newItem, property.Name)); this.listView_Properties.Items.Add(newItem); newItem = new ListViewItem("Class Name"); newItem.SubItems.Add(new ListViewItem.ListViewSubItem(newItem, property.ClassName)); this.listView_Properties.Items.Add(newItem); newItem = new ListViewItem("Style"); newItem.SubItems.Add(new ListViewItem.ListViewSubItem(newItem, property.Style)); this.listView_Properties.Items.Add(newItem); newItem = new ListViewItem("Client Top"); newItem.SubItems.Add(new ListViewItem.ListViewSubItem(newItem, property.ClientTop)); this.listView_Properties.Items.Add(newItem); newItem = new ListViewItem("Client Left"); newItem.SubItems.Add(new ListViewItem.ListViewSubItem(newItem, property.ClientLeft)); this.listView_Properties.Items.Add(newItem); newItem = new ListViewItem("Client Width"); newItem.SubItems.Add(new ListViewItem.ListViewSubItem(newItem, property.ClientWidth)); this.listView_Properties.Items.Add(newItem); newItem = new ListViewItem("Client Height"); newItem.SubItems.Add(new ListViewItem.ListViewSubItem(newItem, property.ClientHeight)); this.listView_Properties.Items.Add(newItem); newItem = new ListViewItem("Offset Top"); newItem.SubItems.Add(new ListViewItem.ListViewSubItem(newItem, property.OffsetTop)); this.listView_Properties.Items.Add(newItem); newItem = new ListViewItem("Offset Left"); newItem.SubItems.Add(new ListViewItem.ListViewSubItem(newItem, property.OffsetLeft)); this.listView_Properties.Items.Add(newItem); newItem = new ListViewItem("Offset Width"); newItem.SubItems.Add(new ListViewItem.ListViewSubItem(newItem, property.OffsetWidth)); this.listView_Properties.Items.Add(newItem); newItem = new ListViewItem("Offset Height"); newItem.SubItems.Add(new ListViewItem.ListViewSubItem(newItem, property.OffsetHeight)); this.listView_Properties.Items.Add(newItem); newItem = new ListViewItem("Inner Text"); newItem.SubItems.Add(new ListViewItem.ListViewSubItem(newItem, property.InnerText)); this.listView_Properties.Items.Add(newItem); newItem = new ListViewItem("Inner HTML"); newItem.SubItems.Add(new ListViewItem.ListViewSubItem(newItem, property.InnerHtml)); this.listView_Properties.Items.Add(newItem); }