1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429
|
<?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>
|