当前位置: 首页>>代码示例>>C#>>正文


C# HtmlTextWriter.AddPrevalueHeading方法代码示例

本文整理汇总了C#中System.Web.UI.HtmlTextWriter.AddPrevalueHeading方法的典型用法代码示例。如果您正苦于以下问题:C# HtmlTextWriter.AddPrevalueHeading方法的具体用法?C# HtmlTextWriter.AddPrevalueHeading怎么用?C# HtmlTextWriter.AddPrevalueHeading使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在System.Web.UI.HtmlTextWriter的用法示例。


在下文中一共展示了HtmlTextWriter.AddPrevalueHeading方法的7个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。

示例1: RenderContents

 /// <summary>
 /// Renders the contents of the control to the specified writer. This method is used primarily by control developers.
 /// </summary>
 /// <param name="writer">A <see cref="T:System.Web.UI.HtmlTextWriter"/> that represents the output stream to render HTML content on the client.</param>
 protected override void RenderContents(HtmlTextWriter writer)
 {
     // add property fields
     writer.AddPrevalueHeading("Azure CDN API Settings");
     writer.AddPrevalueRow("", "Add your Azure account information here.");
     writer.AddPrevalueRow("Account Name:", this.txtAccountName);
     writer.AddPrevalueRow("Key:", this.txtKey);
 }
开发者ID:Jeavon,项目名称:Cloud-Proivders-for-Universal-Media-Picker,代码行数:12,代码来源:AU_PrevalueEditor.cs

示例2: Render

 /// <summary>
 ///   Sends server control content to a provided <see cref = "T:System.Web.UI.HtmlTextWriter" /> object, 
 ///   which writes the content to be rendered on the client.
 /// </summary>
 /// <param name = "writer">The <see cref = "T:System.Web.UI.HtmlTextWriter" /> object that receives the server control content.</param>
 protected override void Render(HtmlTextWriter writer)
 {
     writer.AddAttribute(HtmlTextWriterAttribute.Class, "imageResizerPreValues");
     writer.RenderBeginTag(HtmlTextWriterTag.Div); //start 'imageResizerPreValues'
     writer.AddPrevalueHeading("Aspose Image Resizer");
     writer.AddPrevalueRow("Property Alias", "Alias of image property  (eg. 'umbracoFile'):", PropertyAliasTextBox);
     writer.AddPrevalueRow("Width", "Maximum width of generated image", MaxWidthTextBox);
     writer.AddPrevalueRow("Height", "Maximum height of generated image", MaxHeightTextBox);
     writer.AddPrevalueRow("", "<p>Aspect ratio is maintained during image resizing.</br>Landscape will restrict to Width<br/>Portrait will restrict to Height</p>");
     writer.RenderEndTag(); // end 'imageResizerPreValues'
 }
开发者ID:ZeeshanShafqat,项目名称:Aspose_Imaging_NET,代码行数:16,代码来源:ImageResizerPrevalueEditor.cs

示例3: RenderContents

 /// <summary>
 /// Renders the contents of the control to the specified writer. This method is used primarily by control developers.
 /// </summary>
 /// <param name="writer">A <see cref="T:System.Web.UI.HtmlTextWriter"/> that represents the output stream to render HTML content on the client.</param>
 protected override void RenderContents(HtmlTextWriter writer)
 {
     // add property fields
     writer.AddPrevalueHeading("Amazon S3 and Cloud Front API Settings");
     writer.AddPrevalueRow("", "Add your Amazon account information here.");
     writer.AddPrevalueRow("Access Key:", this.txtAccessKey);
     writer.AddPrevalueRow("Secret Key:", this.txtSecretKey);
 }
开发者ID:Jeavon,项目名称:Cloud-Proivders-for-Universal-Media-Picker,代码行数:12,代码来源:AS3U_PrevalueEditor.cs

示例4: RenderContents

 /// <summary>
 /// Renders the contents of the control to the specified writer. This method is used primarily by control developers.
 /// </summary>
 /// <param name="writer">A <see cref="T:System.Web.UI.HtmlTextWriter"/> that represents the output stream to render HTML content on the client.</param>
 protected override void RenderContents(HtmlTextWriter writer)
 {
     // add property fields
     writer.AddPrevalueHeading("Cloud Files API Settings", "Add your Rackspace Cloud Files API token and username here");
     writer.AddPrevalueRow("Username:", this.txtUsername);
     writer.AddPrevalueRow("API Token:", this.txtApiKey);
     writer.AddPrevalueHeading("Container Settings", "Select your default container from the dropdown");
     writer.AddPrevalueRow("Default Container <em>(optional)</em>:", this.ddlDefaultContainer);
 }
开发者ID:Jeavon,项目名称:Cloud-Proivders-for-Universal-Media-Picker,代码行数:13,代码来源:CFCMD_PrevalueEditor.cs

示例5: RenderContents

 /// <summary>
 /// Renders the contents of the control to the specified writer. This method is used primarily by control developers.
 /// </summary>
 /// <param name="writer">A <see cref="T:System.Web.UI.HtmlTextWriter"/> that represents the output stream to render HTML content on the client.</param>
 protected override void RenderContents(HtmlTextWriter writer)
 {
     // add property fields
     writer.AddPrevalueHeading("Cloud Files API Settings", "Add your Rackspace Cloud Files API token and username here");
     writer.AddPrevalueRow("Username:", this.txtUsername);
     writer.AddPrevalueRow("API Token:", this.txtApiKey);
     writer.AddPrevalueRow("Show Meta Data:", this.chkShowMetaData);
 }
开发者ID:Jeavon,项目名称:Cloud-Proivders-for-Universal-Media-Picker,代码行数:12,代码来源:CFCC_PrevalueEditor.cs

示例6: RenderContents

        /// <summary>
        /// Renders the contents of the control to the specified writer. This method is used primarily by control developers.
        /// </summary>
        /// <param name="writer">A <see cref="T:System.Web.UI.HtmlTextWriter"/> that represents the output stream to render HTML content on the client.</param>
        protected override void RenderContents(HtmlTextWriter writer)
        {
            writer.AddPrevalueHeading("Columns");
            writer.AddPrevalueRow("Show Column Labels?", "Enter a label for each column; you may also use dictionary item syntax (e.g. <code>[#dictionaryItem]</code>). (Optional - blank labels are acceptable)", this.CheckBoxShowColumnLabels);
            writer.AddPrevalueRow("Labels:", this.MtcContainer);

            writer.AddPrevalueHeading("Rows");
            writer.AddPrevalueRow("Minimum:", "Minimum number of rows to display.", this.TextBoxMinimumRows);
            writer.AddPrevalueRow("Maximum:", "Maximum number of rows to display. Use -1 for unlimited rows.", this.TextBoxMaximumRows);
            writer.AddPrevalueRow("Disable sorting?", "Disables the ability to sort the rows.", this.CheckBoxDisableSorting);
        }
开发者ID:bokmadsen,项目名称:uComponents,代码行数:15,代码来源:TextstringArrayPrevalueEditor.cs

示例7: RenderContents

 /// <summary>
 /// Renders the contents of the control to the specified writer. This method is used primarily by control developers.
 /// </summary>
 /// <param name="writer">A <see cref="T:System.Web.UI.HtmlTextWriter"/> that represents the output stream to render HTML content on the client.</param>
 protected override void RenderContents(HtmlTextWriter writer)
 {
     // add property fields
     writer.AddPrevalueHeading("Cloud Files API Settings", "Add your Rackspace Cloud Files API token and username here");
     writer.AddPrevalueRow("Username:", this.txtUsername);
     writer.AddPrevalueRow("API Token:", this.txtApiKey);
     writer.AddPrevalueRow("Show File Meta Data:", this.chkShowMetaData);
     writer.AddPrevalueHeading("Container Settings", "Enter the property alias of the container datatype or select your default container from the dropdown");
     writer.AddPrevalueRow("Default Container Property Alias:", this.txtDefaultAlias);
     writer.AddPrevalueRow("Default Container:", this.ddlDefaultContainer);
 }
开发者ID:Jeavon,项目名称:Cloud-Proivders-for-Universal-Media-Picker,代码行数:15,代码来源:CFU_PrevalueEditor.cs


注:本文中的System.Web.UI.HtmlTextWriter.AddPrevalueHeading方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。