<?xml version="1.0" encoding="utf-8"?>
<Type Name="TreeNodeStyle" FullName="System.Web.UI.WebControls.TreeNodeStyle">
  <TypeSignature Language="C#" Value="public sealed class TreeNodeStyle : System.Web.UI.WebControls.Style" />
  <AssemblyInfo>
    <AssemblyName>System.Web</AssemblyName>
    <AssemblyVersion>2.0.0.0</AssemblyVersion>
  </AssemblyInfo>
  <Base>
    <BaseTypeName>System.Web.UI.WebControls.Style</BaseTypeName>
  </Base>
  <Interfaces />
  <Docs>
    <since version=".NET 2.0" />
    <remarks>
      <attribution license="cc4" from="Microsoft" modified="false" />
      <para>Use the <see cref="T:System.Web.UI.WebControls.TreeNodeStyle" /> class to represent the style of a node in the <see cref="T:System.Web.UI.WebControls.TreeView" /> control. The <see cref="T:System.Web.UI.WebControls.TreeView" /> control allows you to specify different style characteristics (such as font size and color) for each of the different node types. </para>
      <para>The following table lists the node styles that are supported by the <see cref="T:System.Web.UI.WebControls.TreeNodeStyle" /> class.</para>
      <list type="table">
        <listheader>
          <item>
            <term>
              <para>Node style property </para>
            </term>
            <description>
              <para>Description </para>
            </description>
          </item>
        </listheader>
        <item>
          <term>
            <para>
              <see cref="P:System.Web.UI.WebControls.TreeView.HoverNodeStyle" />
            </para>
          </term>
          <description>
            <para>The style settings for a node when the mouse pointer is positioned over it.</para>
          </description>
        </item>
        <item>
          <term>
            <para>
              <see cref="P:System.Web.UI.WebControls.TreeView.LeafNodeStyle" />
            </para>
          </term>
          <description>
            <para>The style settings for the leaf nodes.</para>
          </description>
        </item>
        <item>
          <term>
            <para>
              <see cref="P:System.Web.UI.WebControls.TreeView.NodeStyle" />
            </para>
          </term>
          <description>
            <para>The default style settings for a node.</para>
          </description>
        </item>
        <item>
          <term>
            <para>
              <see cref="P:System.Web.UI.WebControls.TreeView.ParentNodeStyle" /> </para>
          </term>
          <description>
            <para>The style settings for the parent nodes.</para>
          </description>
        </item>
        <item>
          <term>
            <para>
              <see cref="P:System.Web.UI.WebControls.TreeView.RootNodeStyle" />
            </para>
          </term>
          <description>
            <para>The style settings for the root node.</para>
          </description>
        </item>
        <item>
          <term>
            <para>
              <see cref="P:System.Web.UI.WebControls.TreeView.SelectedNodeStyle" />
            </para>
          </term>
          <description>
            <para>The style settings for a selected node.</para>
          </description>
        </item>
      </list>
      <para>When you set the node style properties of the <see cref="T:System.Web.UI.WebControls.TreeView" /> control, they are applied in the following order:</para>
      <list type="ordered">
        <item>
          <para>
            <see cref="P:System.Web.UI.WebControls.TreeView.NodeStyle" />.</para>
        </item>
        <item>
          <para>
            <see cref="P:System.Web.UI.WebControls.TreeView.RootNodeStyle" />, <see cref="P:System.Web.UI.WebControls.TreeView.ParentNodeStyle" />, or <see cref="P:System.Web.UI.WebControls.TreeView.LeafNodeStyle" />, depending on the node type.</para>
        </item>
        <item>
          <para>
            <see cref="P:System.Web.UI.WebControls.TreeView.LevelStyles" />.</para>
        </item>
        <item>
          <para>
            <see cref="P:System.Web.UI.WebControls.TreeView.SelectedNodeStyle" />.</para>
        </item>
        <item>
          <para>
            <see cref="P:System.Web.UI.WebControls.TreeView.HoverNodeStyle" />.</para>
        </item>
      </list>
      <para>The <see cref="T:System.Web.UI.WebControls.TreeNodeStyle" /> class inherits most of its members from the <see cref="T:System.Web.UI.WebControls.Style" /> class. It extends the <see cref="T:System.Web.UI.WebControls.Style" /> class by providing properties that control the amount of space around the text in a node, as well as the space between adjacent nodes. Use the <see cref="P:System.Web.UI.WebControls.TreeNodeStyle.HorizontalPadding" /> property to control the amount of space to the left and right of the text in a node. Similarly, the <see cref="P:System.Web.UI.WebControls.TreeNodeStyle.VerticalPadding" /> property controls the amount of space above and below the text in a node. You can control the amount of spacing between the node that the <see cref="T:System.Web.UI.WebControls.TreeNodeStyle" /> is applied to and its adjacent nodes by setting the <see cref="P:System.Web.UI.WebControls.TreeNodeStyle.NodeSpacing" /> property. To control the amount of spacing between a parent node and a child node, use the <see cref="P:System.Web.UI.WebControls.TreeNodeStyle.ChildNodesPadding" /> property.</para>
      <para>For more information about the inherited style settings, see <see cref="T:System.Web.UI.WebControls.Style" />.</para>
    </remarks>
    <summary>
      <attribution license="cc4" from="Microsoft" modified="false" />
      <para>Represents the style of a node in the <see cref="T:System.Web.UI.WebControls.TreeView" /> control.</para>
    </summary>
  </Docs>
  <Members>
    <Member MemberName=".ctor">
      <MemberSignature Language="C#" Value="public TreeNodeStyle ();" />
      <MemberType>Constructor</MemberType>
      <Parameters />
      <Docs>
        <remarks>To be added.</remarks>
        <since version=".NET 2.0" />
        <summary>
          <attribution license="cc4" from="Microsoft" modified="false" />
          <para>Initializes a new instance of the <see cref="T:System.Web.UI.WebControls.TreeNodeStyle" /> class.</para>
        </summary>
      </Docs>
      <AssemblyInfo>
        <AssemblyVersion>2.0.0.0</AssemblyVersion>
      </AssemblyInfo>
    </Member>
    <Member MemberName=".ctor">
      <MemberSignature Language="C#" Value="public TreeNodeStyle (System.Web.UI.StateBag bag);" />
      <MemberType>Constructor</MemberType>
      <AssemblyInfo>
        <AssemblyVersion>2.0.0.0</AssemblyVersion>
      </AssemblyInfo>
      <Parameters>
        <Parameter Name="bag" Type="System.Web.UI.StateBag" />
      </Parameters>
      <Docs>
        <remarks>
          <attribution license="cc4" from="Microsoft" modified="false" />
          <para>Use the <see cref="M:System.Web.UI.WebControls.TreeNodeStyle.#ctor(System.Web.UI.StateBag)" /> constructor to create and initialize a new instance of the <see cref="T:System.Web.UI.WebControls.TreeNodeStyle" /> class by using the <see cref="T:System.Web.UI.StateBag" /> object that is specified by the <paramref name="bag" /> parameter.</para>
        </remarks>
        <summary>
          <attribution license="cc4" from="Microsoft" modified="false" />
          <para>Initializes a new instance of the <see cref="T:System.Web.UI.WebControls.TreeNodeStyle" /> class with the specified <see cref="T:System.Web.UI.StateBag" /> object information.</para>
        </summary>
        <param name="bag">
          <attribution license="cc4" from="Microsoft" modified="false" />A <see cref="T:System.Web.UI.StateBag" /> that stores the style information.</param>
      </Docs>
    </Member>
    <Member MemberName="ChildNodesPadding">
      <MemberSignature Language="C#" Value="public System.Web.UI.WebControls.Unit ChildNodesPadding { set; get; }" />
      <MemberType>Property</MemberType>
      <Attributes>
        <Attribute>
          <AttributeName>System.ComponentModel.NotifyParentProperty(true)</AttributeName>
        </Attribute>
        <Attribute>
          <AttributeName>System.ComponentModel.DefaultValue(0)</AttributeName>
        </Attribute>
      </Attributes>
      <ReturnValue>
        <ReturnType>System.Web.UI.WebControls.Unit</ReturnType>
      </ReturnValue>
      <Docs>
        <value>To be added.</value>
        <since version=".NET 2.0" />
        <remarks>
          <attribution license="cc4" from="Microsoft" modified="false" />
          <para>Use the <see cref="P:System.Web.UI.WebControls.TreeNodeStyle.ChildNodesPadding" /> property to control the amount of space above and below the child nodes section of the node to which the <see cref="T:System.Web.UI.WebControls.TreeNodeStyle" /> class is applied. This spacing is inserted between the parent node and its first child node, as well as between its last child node and the next node.</para>
          <block subset="none" type="note">
            <para>The space after the last child node is not rendered if there are no additional nodes following the last child node, because this would leave an unnecessary gap at the bottom of the control.</para>
          </block>
          <para>To control the amount of space between child nodes, use the <see cref="P:System.Web.UI.WebControls.TreeNodeStyle.NodeSpacing" /> property.</para>
          <para>The value of this property is stored in view state.</para>
        </remarks>
        <summary>
          <attribution license="cc4" from="Microsoft" modified="false" />
          <para>Gets or sets the amount of space between a parent node and a child node to which the <see cref="T:System.Web.UI.WebControls.TreeNodeStyle" /> class is applied.</para>
        </summary>
      </Docs>
      <AssemblyInfo>
        <AssemblyVersion>2.0.0.0</AssemblyVersion>
      </AssemblyInfo>
    </Member>
    <Member MemberName="CopyFrom">
      <MemberSignature Language="C#" Value="public override void CopyFrom (System.Web.UI.WebControls.Style s);" />
      <MemberType>Method</MemberType>
      <ReturnValue>
        <ReturnType>System.Void</ReturnType>
      </ReturnValue>
      <Parameters>
        <Parameter Name="s" Type="System.Web.UI.WebControls.Style" />
      </Parameters>
      <Docs>
        <since version=".NET 2.0" />
        <remarks>
          <attribution license="cc4" from="Microsoft" modified="false" />
          <para>Use the <see cref="M:System.Web.UI.WebControls.TreeNodeStyle.CopyFrom(System.Web.UI.WebControls.Style)" /> method to duplicate the style properties of the specified <see cref="T:System.Web.UI.WebControls.Style" /> object in the <see cref="T:System.Web.UI.WebControls.TreeNodeStyle" /> object that calls this method.</para>
          <block subset="none" type="note">
            <para>All properties in the current <see cref="T:System.Web.UI.WebControls.TreeNodeStyle" /> object are replaced by the corresponding properties in the specified <see cref="T:System.Web.UI.WebControls.Style" /> object.</para>
          </block>
          <para>To copy style properties without replacing any values that have already been set, use the <see cref="M:System.Web.UI.WebControls.TreeNodeStyle.MergeWith(System.Web.UI.WebControls.Style)" /> method.</para>
        </remarks>
        <summary>
          <attribution license="cc4" from="Microsoft" modified="false" />
          <para>Copies the style properties of the specified <see cref="T:System.Web.UI.WebControls.Style" /> object into the current <see cref="T:System.Web.UI.WebControls.TreeNodeStyle" /> object.</para>
        </summary>
        <param name="s">
          <attribution license="cc4" from="Microsoft" modified="false" />The <see cref="T:System.Web.UI.WebControls.Style" /> to copy. </param>
      </Docs>
      <AssemblyInfo>
        <AssemblyVersion>2.0.0.0</AssemblyVersion>
      </AssemblyInfo>
    </Member>
    <Member MemberName="FillStyleAttributes">
      <MemberSignature Language="C#" Value="protected override void FillStyleAttributes (System.Web.UI.CssStyleCollection attributes, System.Web.UI.IUrlResolutionService urlResolver);" />
      <MemberType>Method</MemberType>
      <ReturnValue>
        <ReturnType>System.Void</ReturnType>
      </ReturnValue>
      <Parameters>
        <Parameter Name="attributes" Type="System.Web.UI.CssStyleCollection" />
        <Parameter Name="urlResolver" Type="System.Web.UI.IUrlResolutionService" />
      </Parameters>
      <Docs>
        <param name="attributes">To be added.</param>
        <param name="urlResolver">To be added.</param>
        <summary>To be added.</summary>
        <remarks>To be added.</remarks>
        <since version=".NET 2.0" />
      </Docs>
      <AssemblyInfo>
        <AssemblyVersion>2.0.0.0</AssemblyVersion>
      </AssemblyInfo>
    </Member>
    <Member MemberName="HorizontalPadding">
      <MemberSignature Language="C#" Value="public System.Web.UI.WebControls.Unit HorizontalPadding { set; get; }" />
      <MemberType>Property</MemberType>
      <Attributes>
        <Attribute>
          <AttributeName>System.ComponentModel.NotifyParentProperty(true)</AttributeName>
        </Attribute>
        <Attribute>
          <AttributeName>System.ComponentModel.DefaultValue(0)</AttributeName>
        </Attribute>
      </Attributes>
      <ReturnValue>
        <ReturnType>System.Web.UI.WebControls.Unit</ReturnType>
      </ReturnValue>
      <Docs>
        <value>To be added.</value>
        <since version=".NET 2.0" />
        <remarks>
          <attribution license="cc4" from="Microsoft" modified="false" />
          <para>Use the <see cref="P:System.Web.UI.WebControls.TreeNodeStyle.HorizontalPadding" /> property to control the amount of horizontal space around the text of the node to which the <see cref="T:System.Web.UI.WebControls.TreeNodeStyle" /> is applied. This space is inserted between the left edge of the text and the border of the text area, as well as between the right edge of the text and the border for the text. To control the vertical spacing, use the <see cref="P:System.Web.UI.WebControls.TreeNodeStyle.VerticalPadding" /> property.</para>
          <para>The value of this property is stored in view state.</para>
        </remarks>
        <summary>
          <attribution license="cc4" from="Microsoft" modified="false" />
          <para>Gets or sets the amount of space to the left and right of the text in the node.</para>
        </summary>
      </Docs>
      <AssemblyInfo>
        <AssemblyVersion>2.0.0.0</AssemblyVersion>
      </AssemblyInfo>
    </Member>
    <Member MemberName="ImageUrl">
      <MemberSignature Language="C#" Value="public string ImageUrl { set; get; }" />
      <MemberType>Property</MemberType>
      <Attributes>
        <Attribute>
          <AttributeName>System.ComponentModel.Editor("System.Web.UI.Design.ImageUrlEditor, System.Design, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a", typeof(System.Drawing.Design.UITypeEditor))</AttributeName>
        </Attribute>
        <Attribute>
          <AttributeName>System.ComponentModel.NotifyParentProperty(true)</AttributeName>
        </Attribute>
        <Attribute>
          <AttributeName>System.Web.UI.UrlProperty</AttributeName>
        </Attribute>
        <Attribute>
          <AttributeName>System.ComponentModel.DefaultValue("")</AttributeName>
        </Attribute>
      </Attributes>
      <ReturnValue>
        <ReturnType>System.String</ReturnType>
      </ReturnValue>
      <Docs>
        <value>To be added.</value>
        <since version=".NET 2.0" />
        <remarks>
          <attribution license="cc4" from="Microsoft" modified="false" />
          <para>Use the <see cref="P:System.Web.UI.WebControls.TreeNodeStyle.ImageUrl" /> property to specify a custom image for style. This image is displayed next to the node, and it can be in any image-file format (such as .jpg, .gif, .bmp, and so on), as long as the client browser supports that format.</para>
          <para>If both the <see cref="P:System.Web.UI.WebControls.TreeNodeStyle.ImageUrl" /> and <see cref="P:System.Web.UI.WebControls.TreeNode.ImageUrl" /> properties are set, the image that is displayed is the one that is specified by the <see cref="P:System.Web.UI.WebControls.TreeNode.ImageUrl" /> property.</para>
          <para>The value of this property is stored in view state.</para>
        </remarks>
        <summary>
          <attribution license="cc4" from="Microsoft" modified="false" />
          <para>Gets or sets the URL to an image that is displayed next to the node.</para>
        </summary>
      </Docs>
      <AssemblyInfo>
        <AssemblyVersion>2.0.0.0</AssemblyVersion>
      </AssemblyInfo>
    </Member>
    <Member MemberName="MergeWith">
      <MemberSignature Language="C#" Value="public override void MergeWith (System.Web.UI.WebControls.Style s);" />
      <MemberType>Method</MemberType>
      <ReturnValue>
        <ReturnType>System.Void</ReturnType>
      </ReturnValue>
      <Parameters>
        <Parameter Name="s" Type="System.Web.UI.WebControls.Style" />
      </Parameters>
      <Docs>
        <since version=".NET 2.0" />
        <remarks>
          <attribution license="cc4" from="Microsoft" modified="false" />
          <para>Use the <see cref="M:System.Web.UI.WebControls.TreeNodeStyle.MergeWith(System.Web.UI.WebControls.Style)" /> method to combine the style properties of the specified <see cref="T:System.Web.UI.WebControls.Style" /> object with the style properties of the <see cref="T:System.Web.UI.WebControls.TreeNodeStyle" /> object that this method is called from.</para>
          <block subset="none" type="note">
            <para>The <see cref="M:System.Web.UI.WebControls.TreeNodeStyle.MergeWith(System.Web.UI.WebControls.Style)" /> method joins the style properties by setting each property that is not set in the current <see cref="T:System.Web.UI.WebControls.TreeNodeStyle" /> object with its corresponding value in the specified <see cref="T:System.Web.UI.WebControls.Style" /> object. Only properties that have not been set are updated. If a property in the specified <see cref="T:System.Web.UI.WebControls.Style" /> object is not set, the corresponding property in the current <see cref="T:System.Web.UI.WebControls.TreeNodeStyle" /> object does not change.</para>
          </block>
        </remarks>
        <summary>
          <attribution license="cc4" from="Microsoft" modified="false" />
          <para>Combines the style properties of the specified <see cref="T:System.Web.UI.WebControls.Style" /> object with the style properties of the current <see cref="T:System.Web.UI.WebControls.TreeNodeStyle" /> object.</para>
        </summary>
        <param name="s">
          <attribution license="cc4" from="Microsoft" modified="false" />The <see cref="T:System.Web.UI.WebControls.Style" /> that will merge with the current node's settings. </param>
      </Docs>
      <AssemblyInfo>
        <AssemblyVersion>2.0.0.0</AssemblyVersion>
      </AssemblyInfo>
    </Member>
    <Member MemberName="NodeSpacing">
      <MemberSignature Language="C#" Value="public System.Web.UI.WebControls.Unit NodeSpacing { set; get; }" />
      <MemberType>Property</MemberType>
      <Attributes>
        <Attribute>
          <AttributeName>System.ComponentModel.NotifyParentProperty(true)</AttributeName>
        </Attribute>
        <Attribute>
          <AttributeName>System.ComponentModel.DefaultValue(0)</AttributeName>
        </Attribute>
      </Attributes>
      <ReturnValue>
        <ReturnType>System.Web.UI.WebControls.Unit</ReturnType>
      </ReturnValue>
      <Docs>
        <value>To be added.</value>
        <since version=".NET 2.0" />
        <remarks>
          <attribution license="cc4" from="Microsoft" modified="false" />
          <para>Use the <see cref="P:System.Web.UI.WebControls.TreeNodeStyle.NodeSpacing" /> property to control the amount of vertical spacing between a node that the <see cref="T:System.Web.UI.WebControls.TreeNodeStyle" /> is applied to and its adjacent nodes at the same level. This space is inserted between the upper edge of the current node and the lower edge of the previous node, as well as between the lower edge of the current node and upper edge of the next node. The upper space is not rendered for the first node in the <see cref="T:System.Web.UI.WebControls.TreeView" /> control, because this would leave an unnecessary gap at the top of the control.</para>
          <para>The <see cref="P:System.Web.UI.WebControls.TreeNodeStyle.NodeSpacing" /> and <see cref="P:System.Web.UI.WebControls.TreeNodeStyle.ChildNodesPadding" /> properties are applied independently. Whether or not the node is expanded does not affect the node spacing.</para>
          <para>The value of this property is stored in view state.</para>
        </remarks>
        <summary>
          <attribution license="cc4" from="Microsoft" modified="false" />
          <para>Gets or sets the amount of vertical spacing between the node to which the <see cref="T:System.Web.UI.WebControls.TreeNodeStyle" /> object is applied and its adjacent nodes.</para>
        </summary>
      </Docs>
      <AssemblyInfo>
        <AssemblyVersion>2.0.0.0</AssemblyVersion>
      </AssemblyInfo>
    </Member>
    <Member MemberName="Reset">
      <MemberSignature Language="C#" Value="public override void Reset ();" />
      <MemberType>Method</MemberType>
      <ReturnValue>
        <ReturnType>System.Void</ReturnType>
      </ReturnValue>
      <Parameters />
      <Docs>
        <since version=".NET 2.0" />
        <remarks>
          <attribution license="cc4" from="Microsoft" modified="false" />
          <para>Use the <see cref="M:System.Web.UI.WebControls.TreeNodeStyle.Reset" /> method to remove any previously defined style elements and reset the <see cref="T:System.Web.UI.WebControls.TreeNodeStyle" /> object to its original (that is, default) state.</para>
        </remarks>
        <summary>
          <attribution license="cc4" from="Microsoft" modified="false" />
          <para>Returns the <see cref="T:System.Web.UI.WebControls.TreeNodeStyle" /> object to its original state.</para>
        </summary>
      </Docs>
      <AssemblyInfo>
        <AssemblyVersion>2.0.0.0</AssemblyVersion>
      </AssemblyInfo>
    </Member>
    <Member MemberName="VerticalPadding">
      <MemberSignature Language="C#" Value="public System.Web.UI.WebControls.Unit VerticalPadding { set; get; }" />
      <MemberType>Property</MemberType>
      <Attributes>
        <Attribute>
          <AttributeName>System.ComponentModel.NotifyParentProperty(true)</AttributeName>
        </Attribute>
        <Attribute>
          <AttributeName>System.ComponentModel.DefaultValue(0)</AttributeName>
        </Attribute>
      </Attributes>
      <ReturnValue>
        <ReturnType>System.Web.UI.WebControls.Unit</ReturnType>
      </ReturnValue>
      <Docs>
        <value>To be added.</value>
        <since version=".NET 2.0" />
        <remarks>
          <attribution license="cc4" from="Microsoft" modified="false" />
          <para>Use the <see cref="P:System.Web.UI.WebControls.TreeNodeStyle.VerticalPadding" /> property to control the amount of vertical space around the text of the node to which the <see cref="T:System.Web.UI.WebControls.TreeNodeStyle" /> class is applied. This space is inserted between the upper edge of the text and the border of the text area, as well as between the lower edge of the text and the border for the text. To control the horizontal spacing, use the <see cref="P:System.Web.UI.WebControls.TreeNodeStyle.HorizontalPadding" /> property.</para>
          <para>The value of this property is stored in view state.</para>
        </remarks>
        <summary>
          <attribution license="cc4" from="Microsoft" modified="false" />
          <para>Gets or sets the amount of space above and below the text for a node.</para>
        </summary>
      </Docs>
      <AssemblyInfo>
        <AssemblyVersion>2.0.0.0</AssemblyVersion>
      </AssemblyInfo>
    </Member>
  </Members>
</Type>