SenseNet.Portal.UI.PortletFramework.PropertyFieldPanel.RenderContentsStart C# (CSharp) Method

RenderContentsStart() static private method

static private RenderContentsStart ( System.Web.UI.HtmlTextWriter writer ) : void
writer System.Web.UI.HtmlTextWriter
return void
        internal static void RenderContentsStart(HtmlTextWriter writer)
        {
        }

Usage Example

コード例 #1
0
        private void RenderPartContentsInternal(HtmlTextWriter writer, EditorPart editorPart)
        {
            if (editorPart == null)
            {
                throw new ArgumentNullException("editorPart");
            }

            Style style2     = this.Zone.PartStyle;
            var   editorName = editorPart.GetType().Name;

            if (!style2.IsEmpty)
            {
                style2.AddAttributesToRender(writer, this.Zone);
            }

            AddAttributes(writer, editorPart);

            writer.RenderBeginTag(HtmlTextWriterTag.Div);
            if (!editorName.Equals("PropertyEditorPart"))
            {
                PropertyFieldPanel.RenderBeginTagInternal(writer, editorPart.Title, editorPart.ID);
                PropertyFieldPanel.RenderContentsStart(writer);
            }
            this.RenderPartContents(writer, editorPart);
            if (!editorName.Equals("PropertyEditorPart"))
            {
                PropertyFieldPanel.RenderContentsEnd(writer);
                PropertyFieldPanel.RenderEndTagInternal(writer);
            }
            writer.RenderEndTag();

            this.EditorZone.EditorPartsAdded = true;
        }