public void UpdateDescription(LayoutWindowType layoutWindow) { if (layoutWindow != null && layoutWindow.GetCurrentLayout().layout != null) { var element = layoutWindow.GetCurrentLayout().layout.GetRootByTag(this.tag); if (element != null) { this.description = element.comment; } } }