Exemplo n.º 1
0
 /// <summary>
 /// Renders the item's contents
 /// </summary>
 /// <param name="writer">The HtmlTextWriter object that receives the content.</param>
 /// <param name="renderPath">The RenderPathID.</param>
 private void RenderContents(HtmlTextWriter writer, RenderPathID renderPath)
 {
     foreach (ToolbarCheckButton btn in Items)
     {
         btn.Render(writer, renderPath);
     }
 }
Exemplo n.º 2
0
        /// <summary>
        /// Outputs content to a provided HtmlTextWriter output stream.
        /// </summary>
        /// <param name="writer">The HtmlTextWriter object that receives the control content.</param>
        /// <param name="pathID">The ID (from BaseRichControl) of the rendering path to use.</param>
        protected internal virtual void Render(HtmlTextWriter writer, RenderPathID pathID)
        {
            switch (pathID)
            {
            case RenderPathID.DownLevelPath:
                RenderDownLevelPath(writer);
                break;

            case RenderPathID.UpLevelPath:
                RenderUpLevelPath(writer);
                break;

            case RenderPathID.DesignerPath:
                RenderDesignerPath(writer);
                break;
            }
        }
Exemplo n.º 3
0
 /// <summary>
 /// Renders the item's contents
 /// </summary>
 /// <param name="writer">The HtmlTextWriter object that receives the content.</param>
 /// <param name="renderPath">The RenderPathID.</param>
 private void RenderContents(HtmlTextWriter writer, RenderPathID renderPath)
 {
     foreach (ToolbarCheckButton btn in Items)
     {
         btn.Render(writer, renderPath);
     }
 }
Exemplo n.º 4
0
        /// <summary>
        /// Outputs content to a provided HtmlTextWriter output stream.
        /// </summary>
        /// <param name="writer">The HtmlTextWriter object that receives the control content.</param>
        /// <param name="pathID">The ID (from BaseRichControl) of the rendering path to use.</param>
        protected internal virtual void Render(HtmlTextWriter writer, RenderPathID pathID)
        {
            switch (pathID)
            {
                case RenderPathID.DownLevelPath:
                    RenderDownLevelPath(writer);
                    break;

                case RenderPathID.UpLevelPath:
                    RenderUpLevelPath(writer);
                    break;

                case RenderPathID.DesignerPath:
                    RenderDesignerPath(writer);
                    break;
            }
        }