private void HtmlEditControl1_UserInteraction(object sender, Zoople.UserInteractionEventsArgs e) { if (e.InteractionType == Zoople.EditorUIEvents.onmousedown) { if (htmlEditControl1.CurrentWindowsFormsElement.TagName.ToLower() == "video") { VideoProperties.Enabled = true; } else { VideoProperties.Enabled = false; } } }
private void htmlEditControl1_UserInteraction(object sender, Zoople.UserInteractionEventsArgs e) { btnTableProperties.Enabled = FindTableElement(this.htmlEditControl1.CurrentWindowsFormsElement) != null; btnCellProperties.Enabled = FindTDElement(this.htmlEditControl1.CurrentWindowsFormsElement) != null; }