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 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269
|
<?xml version="1.0" encoding="utf-8"?>
<Type Name="TreeNodeBinding" FullName="System.Web.UI.WebControls.TreeNodeBinding">
<TypeSignature Language="C#" Value="public sealed class TreeNodeBinding : ICloneable, System.Web.UI.IDataSourceViewSchemaAccessor, System.Web.UI.IStateManager" />
<AssemblyInfo>
<AssemblyName>System.Web</AssemblyName>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Base>
<BaseTypeName>System.Object</BaseTypeName>
</Base>
<Interfaces>
<Interface>
<InterfaceName>System.ICloneable</InterfaceName>
</Interface>
<Interface>
<InterfaceName>System.Web.UI.IDataSourceViewSchemaAccessor</InterfaceName>
</Interface>
<Interface>
<InterfaceName>System.Web.UI.IStateManager</InterfaceName>
</Interface>
</Interfaces>
<Attributes>
<Attribute>
<AttributeName>System.ComponentModel.DefaultProperty("TextField")</AttributeName>
</Attribute>
</Attributes>
<Docs>
<since version=".NET 2.0" />
<remarks>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>When the <see cref="T:System.Web.UI.WebControls.TreeView" /> control is bound to a data source where each data item contains multiple fields (such as an XML element with several attributes), a node displays the value that is returned by the ToString method of the data item, by default. In the case of an XML element, the node displays the element name, which shows the underlying structure of the tree, but is not very useful otherwise. You can bind the properties of a node to a specific field by specifying tree node bindings. A <see cref="T:System.Web.UI.WebControls.TreeNodeBinding" /> object defines the relationship between each data item and the node that it is binding to.</para>
<para>The <see cref="T:System.Web.UI.WebControls.TreeView" /> control stores its <see cref="T:System.Web.UI.WebControls.TreeNodeBinding" /> objects in the <see cref="P:System.Web.UI.WebControls.TreeView.DataBindings" /> property and applies the bindings to the data source to create a one-to-one relationship between the tree hierarchy and the data source hierarchy. For each data item in the data source, the <see cref="T:System.Web.UI.WebControls.TreeView" /> control attempts to match the data item to a <see cref="T:System.Web.UI.WebControls.TreeNodeBinding" /> object in order to create the corresponding <see cref="T:System.Web.UI.WebControls.TreeNode" /> object.</para>
<para>When creating a <see cref="T:System.Web.UI.WebControls.TreeNodeBinding" /> object, you must specify the criteria for binding. The criteria indicates when a data item should be bound to a node. You can specify the <see cref="P:System.Web.UI.WebControls.TreeNodeBinding.Depth" /> or <see cref="P:System.Web.UI.WebControls.TreeNodeBinding.DataMember" /> property, or both properties. There is a slight performance gain by specifying both. A node depth specifies the node level that gets bound. For example, the following <see cref="T:System.Web.UI.WebControls.TreeNodeBinding" /> declaration binds the Name and ID fields of the data source to the <see cref="P:System.Web.UI.WebControls.TreeNode.Text" /> and <see cref="P:System.Web.UI.WebControls.TreeNode.Value" /> properties, respectively, of all nodes with a depth of 0: </para>
<code><asp:TreeNodeBinding Depth="0" TextField="Name" ValueField="ID"></code>
<para>A data member specifies the type of the data item in the underlying data source, but can represent different information depending on the data source. Each data item in a hierarchical data source (represented by a <see cref="T:System.Web.UI.IHierarchyData" /> interface) exposes a <see cref="P:System.Web.UI.IHierarchyData.Type" /> property, which specifies the type of the data item. For example, the data member for an XML element specifies the name of the element. When a data source contains multiple data item types, the data member specifies which data item type to use. The following <see cref="T:System.Web.UI.WebControls.TreeNodeBinding" /> declaration binds the <Book> elements of an <see cref="T:System.Web.UI.WebControls.XmlDataSource" /> control to all the nodes in the tree, regardless of the location in the hierarchy: </para>
<code><asp:TreeNodeBinding DataMember="Book" TextField="Title" ValueField= "ISBN"></code>
<para>Once the binding criteria is established, you can then bind a property of a <see cref="T:System.Web.UI.WebControls.TreeNode" /> object that can be bound to a value. You can bind to a field of a data item or to a static value. When bound to a static value, all <see cref="T:System.Web.UI.WebControls.TreeNode" /> objects to which the <see cref="T:System.Web.UI.WebControls.TreeNodeBinding" /> object is applied share the same value.</para>
<block subset="none" type="note">
<para>You can selectively override a bound property in a <see cref="T:System.Web.UI.WebControls.TreeNode" /> object by setting the corresponding property directly in the node.</para>
</block>
<para>The following table lists the properties of the <see cref="T:System.Web.UI.WebControls.TreeNodeBinding" /> class that allow you to bind a property of the <see cref="T:System.Web.UI.WebControls.TreeNode" /> object to a field of a data item.</para>
<list type="table">
<listheader>
<item>
<term>
<para>Property </para>
</term>
<description>
<para>Description </para>
</description>
</item>
</listheader>
<item>
<term>
<para>
<see cref="P:System.Web.UI.WebControls.TreeNodeBinding.ImageUrlField" />
</para>
</term>
<description>
<para>The field to bind to the <see cref="P:System.Web.UI.WebControls.TreeNode.ImageUrl" /> property of a <see cref="T:System.Web.UI.WebControls.TreeNode" /> object. </para>
</description>
</item>
<item>
<term>
<para>
<see cref="P:System.Web.UI.WebControls.TreeNodeBinding.ImageToolTipField" />
</para>
</term>
<description>
<para>The field to bind to the <see cref="P:System.Web.UI.WebControls.TreeNode.ImageToolTip" /> property of a <see cref="T:System.Web.UI.WebControls.TreeNode" /> object.</para>
</description>
</item>
<item>
<term>
<para>
<see cref="P:System.Web.UI.WebControls.TreeNodeBinding.NavigateUrlField" />
</para>
</term>
<description>
<para>The field to bind to the <see cref="P:System.Web.UI.WebControls.TreeNodeBinding.NavigateUrl" /> property of a <see cref="T:System.Web.UI.WebControls.TreeNode" /> object. </para>
</description>
</item>
<item>
<term>
<para>
<see cref="P:System.Web.UI.WebControls.TreeNodeBinding.TextField" />
</para>
</term>
<description>
<para>The field to bind to the <see cref="P:System.Web.UI.WebControls.TreeNode.Text" /> property of a <see cref="T:System.Web.UI.WebControls.TreeNode" /> object. </para>
</description>
</item>
<item>
<term>
<para>
<see cref="P:System.Web.UI.WebControls.TreeNodeBinding.ToolTipField" />
</para>
</term>
<description>
<para>The field to bind to the <see cref="P:System.Web.UI.WebControls.TreeNode.ToolTip" /> property of a <see cref="T:System.Web.UI.WebControls.TreeNode" /> object. </para>
</description>
</item>
<item>
<term>
<para>
<see cref="P:System.Web.UI.WebControls.TreeNodeBinding.ValueField" />
</para>
</term>
<description>
<para>The field to bind to the <see cref="P:System.Web.UI.WebControls.TreeNode.Value" /> property of a <see cref="T:System.Web.UI.WebControls.TreeNode" /> object. </para>
</description>
</item>
</list>
<para>The following table lists the properties of the <see cref="T:System.Web.UI.WebControls.TreeNodeBinding" /> class that allow you to bind a property of the <see cref="T:System.Web.UI.WebControls.TreeNode" /> object to a static value.</para>
<list type="table">
<listheader>
<item>
<term>
<para>Property </para>
</term>
<description>
<para>Description </para>
</description>
</item>
</listheader>
<item>
<term>
<para>
<see cref="P:System.Web.UI.WebControls.TreeNodeBinding.ImageUrl" /> </para>
</term>
<description>
<para>The static value to bind to the <see cref="P:System.Web.UI.WebControls.TreeNode.ImageUrl" /> property of a <see cref="T:System.Web.UI.WebControls.TreeNode" /> object. </para>
</description>
</item>
<item>
<term>
<para>
<see cref="P:System.Web.UI.WebControls.TreeNodeBinding.ImageToolTip" />
</para>
</term>
<description>
<para>The static value to bind to the <see cref="P:System.Web.UI.WebControls.TreeNode.ImageToolTip" /> property of a <see cref="T:System.Web.UI.WebControls.TreeNode" /> object.</para>
</description>
</item>
<item>
<term>
<para>
<see cref="P:System.Web.UI.WebControls.TreeNodeBinding.NavigateUrl" /> </para>
</term>
<description>
<para>The static value to bind to the <see cref="P:System.Web.UI.WebControls.TreeNode.NavigateUrl" /> property of a <see cref="T:System.Web.UI.WebControls.TreeNode" /> object. </para>
</description>
</item>
<item>
<term>
<para>
<see cref="P:System.Web.UI.WebControls.TreeNodeBinding.PopulateOnDemand" /> </para>
</term>
<description>
<para>The static value to bind to the <see cref="P:System.Web.UI.WebControls.TreeNode.PopulateOnDemand" /> property of a <see cref="T:System.Web.UI.WebControls.TreeNode" /> object. </para>
</description>
</item>
<item>
<term>
<para>
<see cref="P:System.Web.UI.WebControls.TreeNodeBinding.SelectAction" /> </para>
</term>
<description>
<para>The static value to bind to the <see cref="P:System.Web.UI.WebControls.TreeNode.SelectAction" /> property of a <see cref="T:System.Web.UI.WebControls.TreeNode" /> object. </para>
</description>
</item>
<item>
<term>
<para>
<see cref="P:System.Web.UI.WebControls.TreeNodeBinding.ShowCheckBox" /> </para>
</term>
<description>
<para>The static value to bind to the <see cref="P:System.Web.UI.WebControls.TreeNode.ShowCheckBox" /> property of a <see cref="T:System.Web.UI.WebControls.TreeNode" /> object. </para>
</description>
</item>
<item>
<term>
<para>
<see cref="P:System.Web.UI.WebControls.TreeNodeBinding.Target" /> </para>
</term>
<description>
<para>The static value to bind to the <see cref="P:System.Web.UI.WebControls.TreeNode.Target" /> property of a <see cref="T:System.Web.UI.WebControls.TreeNode" /> object. </para>
</description>
</item>
<item>
<term>
<para>
<see cref="P:System.Web.UI.WebControls.TreeNodeBinding.Text" /> </para>
</term>
<description>
<para>The static value to bind to the <see cref="P:System.Web.UI.WebControls.TreeNode.Text" /> property of a <see cref="T:System.Web.UI.WebControls.TreeNode" /> object. </para>
</description>
</item>
<item>
<term>
<para>
<see cref="P:System.Web.UI.WebControls.TreeNodeBinding.ToolTip" /> </para>
</term>
<description>
<para>The static value to bind to the <see cref="P:System.Web.UI.WebControls.TreeNode.ToolTip" /> property of a <see cref="T:System.Web.UI.WebControls.TreeNode" /> object. </para>
</description>
</item>
<item>
<term>
<para>
<see cref="P:System.Web.UI.WebControls.TreeNodeBinding.Value" /> </para>
</term>
<description>
<para>The static value to bind to the <see cref="P:System.Web.UI.WebControls.TreeNode.Value" /> property of a <see cref="T:System.Web.UI.WebControls.TreeNode" /> object. </para>
</description>
</item>
</list>
<para>If conflicting <see cref="T:System.Web.UI.WebControls.TreeNodeBinding" /> objects are defined, the <see cref="T:System.Web.UI.WebControls.TreeView" /> control applies the tree node bindings in the following order of precedence: </para>
<list type="ordered">
<item>
<para>The <see cref="T:System.Web.UI.WebControls.TreeNodeBinding" /> object that defines and matches both a depth and a data member.</para>
</item>
<item>
<para>The <see cref="T:System.Web.UI.WebControls.TreeNodeBinding" /> object that defines and matches the data member only.</para>
</item>
<item>
<para>The <see cref="T:System.Web.UI.WebControls.TreeNodeBinding" /> object that defines and matches the depth only.</para>
</item>
<item>
<para>The <see cref="T:System.Web.UI.WebControls.TreeNodeBinding" /> object that defines neither the depth nor the data member. (This type of tree node binding is applied to all nodes in the tree.) </para>
</item>
<item>
<para>The <see cref="T:System.Web.UI.WebControls.TreeNodeBinding" /> object that does not have a match in the data source. In this case, the value that is returned by the ToString method of the data item is then bound to the <see cref="P:System.Web.UI.WebControls.TreeNode.Text" /> and <see cref="P:System.Web.UI.WebControls.TreeNode.Value" /> properties of the nodes to which the <see cref="T:System.Web.UI.WebControls.TreeNodeBinding" /> object is applied.</para>
</item>
</list>
<para>The <see cref="T:System.Web.UI.WebControls.TreeNodeBinding" /> class also allows you to format the text that is displayed in a node by setting the <see cref="P:System.Web.UI.WebControls.TreeNodeBinding.FormatString" /> property.</para>
</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Defines the relationship between a data item and the node it is binding to in a <see cref="T:System.Web.UI.WebControls.TreeView" /> control.</para>
</summary>
</Docs>
<Members>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="public TreeNodeBinding ();" />
<MemberType>Constructor</MemberType>
<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.TreeNodeBinding.#ctor" /> constructor to initialize a new instance of the <see cref="T:System.Web.UI.WebControls.TreeNodeBinding" /> class. It is often used when dynamically populating the <see cref="P:System.Web.UI.WebControls.TreeView.DataBindings" /> collection of a <see cref="T:System.Web.UI.WebControls.TreeView" /> control.</para>
</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Initializes a new instance of the <see cref="T:System.Web.UI.WebControls.TreeNodeBinding" /> class.</para>
</summary>
</Docs>
<AssemblyInfo>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
</Member>
<Member MemberName="DataMember">
<MemberSignature Language="C#" Value="public string DataMember { set; get; }" />
<MemberType>Property</MemberType>
<Attributes>
<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>A data member specifies the type of the data item in the underlying data source, but can represent different information depending on the data source. Each data item in a hierarchical data source (represented by a <see cref="T:System.Web.UI.IHierarchyData" /> object) exposes a <see cref="P:System.Web.UI.IHierarchyData.Type" /> property, which specifies the type of the data item. For example, the data member for an XML element specifies the name of the element. When a data source contains multiple data item types, the data member specifies which data item type to use. The following <see cref="T:System.Web.UI.WebControls.TreeNodeBinding" /> declaration binds the <Book> elements of an <see cref="T:System.Web.UI.WebControls.XmlDataSource" /> control to all the nodes in the tree, regardless of the location in the hierarchy: </para>
<code><asp:TreeNodeBinding DataMember="Book" TextField="Title" ValueField= "ISBN"></code>
<para>When creating a <see cref="T:System.Web.UI.WebControls.TreeNodeBinding" /> object, you must specify the criteria for binding. The criteria indicates when a data item should be bound to a node. You can specify the <see cref="P:System.Web.UI.WebControls.TreeNodeBinding.Depth" /> or <see cref="P:System.Web.UI.WebControls.TreeNodeBinding.DataMember" /> property, or both properties. There is a slight performance gain by specifying both. </para>
<para>Once the binding criteria is established, you can then bind a property of a <see cref="T:System.Web.UI.WebControls.TreeNode" /> object that can be bound to a value. You can bind to a field of a data item or to a static value. When bound to a static value, all <see cref="T:System.Web.UI.WebControls.TreeNode" /> objects to which the <see cref="T:System.Web.UI.WebControls.TreeNodeBinding" /> object is applied share the same value.</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 value to match against a <see cref="P:System.Web.UI.IHierarchyData.Type" /> property for a data item to determine whether to apply the tree node binding.</para>
</summary>
</Docs>
<AssemblyInfo>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
</Member>
<Member MemberName="Depth">
<MemberSignature Language="C#" Value="public int Depth { set; get; }" />
<MemberType>Property</MemberType>
<Attributes>
<Attribute>
<AttributeName>System.ComponentModel.DefaultValue(-1)</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Int32</ReturnType>
</ReturnValue>
<Docs>
<value>To be added.</value>
<since version=".NET 2.0" />
<remarks>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>A node depth specifies the node level that gets bound. For example, the following <see cref="T:System.Web.UI.WebControls.TreeNodeBinding" /> declaration binds the Name and ID fields of the data source to the <see cref="P:System.Web.UI.WebControls.TreeNode.Text" /> and <see cref="P:System.Web.UI.WebControls.TreeNode.Value" /> properties, respectively, of all nodes with a depth of 0: </para>
<code><asp:TreeNodeBinding Depth="0" TextField="Name" ValueField="ID"></code>
<para>When creating a <see cref="T:System.Web.UI.WebControls.TreeNodeBinding" /> object, you must specify the criteria for binding. The criteria indicates when a data item should be bound to a node. You can specify the <see cref="P:System.Web.UI.WebControls.TreeNodeBinding.Depth" /> or <see cref="P:System.Web.UI.WebControls.TreeNodeBinding.DataMember" /> property, or both properties. There is a slight performance gain by specifying both. </para>
<para>Once the binding criteria is established, you can then bind a property of a <see cref="T:System.Web.UI.WebControls.TreeNode" /> object that can be bound to a value. You can bind to a field of a data item or to a static value. When bound to a static value, all <see cref="T:System.Web.UI.WebControls.TreeNode" /> objects to which the <see cref="T:System.Web.UI.WebControls.TreeNodeBinding" /> object is applied share the same value.</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 node depth at which the <see cref="T:System.Web.UI.WebControls.TreeNodeBinding" /> object is applied.</para>
</summary>
</Docs>
<AssemblyInfo>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
</Member>
<Member MemberName="FormatString">
<MemberSignature Language="C#" Value="public string FormatString { set; get; }" />
<MemberType>Property</MemberType>
<Attributes>
<Attribute>
<AttributeName>System.Web.UI.UrlProperty</AttributeName>
</Attribute>
<Attribute>
<AttributeName>System.ComponentModel.DefaultValue("")</AttributeName>
</Attribute>
<Attribute>
<AttributeName>System.ComponentModel.Localizable(true)</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>The <see cref="P:System.Web.UI.WebControls.TreeNodeBinding.FormatString" /> property is used to provide a custom format for a node's text. The data format string consists of two parts, separated by a colon, in the form { <paramref name="A" /> : <paramref name="Bxx" /> }. For example, the formatting string {0:F2} displays a fixed-point number with two decimal places.</para>
<block subset="none" type="note">
<para>The entire string must be enclosed in braces to indicate that it is a format string and not a literal string. Any text outside the braces is displayed as literal text.</para>
</block>
<para>The value before the colon (<paramref name="A" /> in the general example) specifies the parameter index in a zero-based list of parameters.</para>
<block subset="none" type="note">
<para>This value can be set only to 0 because there is only one value in each node.</para>
</block>
<para>The character after the colon (<paramref name="B" /> in the general example) specifies the display format for the value. The following table lists the common formats.</para>
<list type="table">
<listheader>
<item>
<term>
<para>Format character </para>
</term>
<description>
<para>Displays numeric values in</para>
</description>
</item>
</listheader>
<item>
<term>
<para>C </para>
</term>
<description>
<para>Currency format. </para>
</description>
</item>
<item>
<term>
<para>D </para>
</term>
<description>
<para>Decimal format. </para>
</description>
</item>
<item>
<term>
<para>E </para>
</term>
<description>
<para>Scientific (exponential) format. </para>
</description>
</item>
<item>
<term>
<para>F </para>
</term>
<description>
<para>Fixed format. </para>
</description>
</item>
<item>
<term>
<para>G </para>
</term>
<description>
<para>General format. </para>
</description>
</item>
<item>
<term>
<para>N </para>
</term>
<description>
<para>Number format. </para>
</description>
</item>
<item>
<term>
<para>X </para>
</term>
<description>
<para>Hexadecimal format. </para>
</description>
</item>
</list>
<block subset="none" type="note">
<para>Except for X, the format character is not case sensitive. The X format character displays the hexadecimal characters in the case that is specified.</para>
</block>
<para>The value after the format character (<paramref name="xx" /> in the general example) specifies the number of significant digits or decimal places to display.</para>
<para>For more information on formatting strings, see <format type="text/html"><a href="0d1364da-5b30-4d42-8e6b-03378343343f">Formatting Overview</a></format>.</para>
<para>The value of this property is stored in view state.</para>
<para>The value of the <see cref="P:System.Web.UI.WebControls.TreeNodeBinding.FormatString" /> property, when set, can be saved automatically to a resource file by using a designer tool. For more information, see <see cref="T:System.ComponentModel.LocalizableAttribute" /> and <format type="text/html"><a href="8ef3838e-9d05-4236-9dd0-ceecff9df80d">ASP.NET Globalization and Localization</a></format>.</para>
</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Gets or sets the string that specifies the display format for the text of a node to which the <see cref="T:System.Web.UI.WebControls.TreeNodeBinding" /> object is applied.</para>
</summary>
</Docs>
<AssemblyInfo>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
</Member>
<Member MemberName="ImageToolTip">
<MemberSignature Language="C#" Value="public string ImageToolTip { set; get; }" />
<MemberType>Property</MemberType>
<Attributes>
<Attribute>
<AttributeName>System.ComponentModel.DefaultValue("")</AttributeName>
</Attribute>
<Attribute>
<AttributeName>System.ComponentModel.Localizable(true)</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>When the <see cref="T:System.Web.UI.WebControls.TreeView" /> control is bound to a data source, use the <see cref="P:System.Web.UI.WebControls.TreeNodeBinding.ImageToolTip" /> property to specify the value to bind to the <see cref="P:System.Web.UI.WebControls.TreeNode.ImageToolTip" /> property of a <see cref="T:System.Web.UI.WebControls.TreeNode" /> object. The text that you specify provides Assistive Technology devices with a description of the image that can be used to make the control more accessible.</para>
<para>This binding relationship affects all <see cref="T:System.Web.UI.WebControls.TreeNode" /> objects to which the <see cref="T:System.Web.UI.WebControls.TreeNodeBinding" /> object is applied. When an image is displayed next to a node, the ToolTip text is displayed when the mouse pointer is positioned over the image.</para>
<block subset="none" type="note">
<para>You can selectively override the <see cref="P:System.Web.UI.WebControls.TreeNodeBinding.ImageToolTip" /> property by setting the <see cref="P:System.Web.UI.WebControls.TreeNode.ImageToolTip" /> property of each node directly.</para>
</block>
<para>Instead of using the <see cref="P:System.Web.UI.WebControls.TreeNodeBinding.ImageToolTip" /> property to bind the same ToolTip text to each node image, you can bind the <see cref="P:System.Web.UI.WebControls.TreeNode.ImageToolTip" /> property of a <see cref="T:System.Web.UI.WebControls.TreeNode" /> object to a field of a data source by setting the <see cref="P:System.Web.UI.WebControls.TreeNodeBinding.ImageToolTipField" /> property.</para>
<para>The value of this property is stored in view state.</para>
<para>The value of this property, when set, can be saved automatically to a resource file by using a designer tool. For more information, see <see cref="T:System.ComponentModel.LocalizableAttribute" /> and <format type="text/html"><a href="8ef3838e-9d05-4236-9dd0-ceecff9df80d">ASP.NET Globalization and Localization</a></format>.</para>
</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Gets or sets the ToolTip text for the image that is displayed next to a node to which the <see cref="T:System.Web.UI.WebControls.TreeNodeBinding" /> object is applied.</para>
</summary>
</Docs>
<AssemblyInfo>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
</Member>
<Member MemberName="ImageToolTipField">
<MemberSignature Language="C#" Value="public string ImageToolTipField { set; get; }" />
<MemberType>Property</MemberType>
<Attributes>
<Attribute>
<AttributeName>System.ComponentModel.TypeConverter("System.Web.UI.Design.DataSourceViewSchemaConverter, System.Design, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")</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>When the <see cref="T:System.Web.UI.WebControls.TreeView" /> control is bound to a data source, use the <see cref="P:System.Web.UI.WebControls.TreeNodeBinding.ImageToolTipField" /> property to specify the field name to bind to the <see cref="P:System.Web.UI.WebControls.TreeNode.ImageToolTip" /> property of a <see cref="T:System.Web.UI.WebControls.TreeNode" /> object. The text that you specify provides Assistive Technology devices with a description of the image that can be used to make the control more accessible.</para>
<para>This binding relationship affects all <see cref="T:System.Web.UI.WebControls.TreeNode" /> objects to which the <see cref="T:System.Web.UI.WebControls.TreeNodeBinding" /> object is applied. When an image is displayed next to a node, the ToolTip text is displayed when the mouse pointer is positioned over the image.</para>
<block subset="none" type="note">
<para>You can selectively override the <see cref="P:System.Web.UI.WebControls.TreeNodeBinding.ImageToolTipField" /> property by setting the <see cref="P:System.Web.UI.WebControls.TreeNode.ImageToolTip" /> property of each node directly.</para>
</block>
<para>Instead of using the <see cref="P:System.Web.UI.WebControls.TreeNodeBinding.ImageToolTipField" /> property to bind the <see cref="P:System.Web.UI.WebControls.TreeNode.ImageToolTip" /> property of a <see cref="T:System.Web.UI.WebControls.TreeNode" /> object to a field, you can set the <see cref="P:System.Web.UI.WebControls.TreeNode.ImageToolTip" /> property to a fixed value by setting the <see cref="P:System.Web.UI.WebControls.TreeNodeBinding.ImageToolTip" /> property.</para>
<block subset="none" type="note">
<para>If the data source contains multiple fields, you must first set the <see cref="P:System.Web.UI.WebControls.TreeNodeBinding.Depth" /> or <see cref="P:System.Web.UI.WebControls.TreeNodeBinding.DataMember" /> property, or both properties in order to bind to the appropriate field.</para>
</block>
<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 name of the field from the data source to bind to the <see cref="P:System.Web.UI.WebControls.TreeNode.ImageToolTip" /> property of a <see cref="T:System.Web.UI.WebControls.TreeNode" /> object to which the <see cref="T:System.Web.UI.WebControls.TreeNodeBinding" /> object is applied.</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.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>When the <see cref="T:System.Web.UI.WebControls.TreeView" /> control is bound to a data source, use the <see cref="P:System.Web.UI.WebControls.TreeNodeBinding.ImageUrl" /> property to specify a custom image to bind to the <see cref="P:System.Web.UI.WebControls.TreeNode.ImageUrl" /> property of a <see cref="T:System.Web.UI.WebControls.TreeNode" /> object. This binding relationship affects all <see cref="T:System.Web.UI.WebControls.TreeNode" /> objects to which the <see cref="T:System.Web.UI.WebControls.TreeNodeBinding" /> object is applied. The image is displayed next to a node and can be in any file format (.jpg, .gif, .bmp, and so on), as long as the client browser supports that format.</para>
<block subset="none" type="note">
<para>You can override the image for an individual node by setting its <see cref="P:System.Web.UI.WebControls.TreeNode.ImageUrl" /> property directly.</para>
</block>
<para>Instead of using this property to bind the same image to each node, you can bind the <see cref="P:System.Web.UI.WebControls.TreeNode.ImageUrl" /> property of a <see cref="T:System.Web.UI.WebControls.TreeNode" /> object to a field of a data source by setting the <see cref="P:System.Web.UI.WebControls.TreeNodeBinding.ImageUrlField" /> property.</para>
<para>When displaying an image next to a node with the <see cref="P:System.Web.UI.WebControls.TreeNodeBinding.ImageUrl" /> property, you should also consider setting the <see cref="P:System.Web.UI.WebControls.TreeNodeBinding.ImageToolTip" /> property. The ToolTip text that you specify provides Assistive Technology devices with a description of the image that can be used to make the control more accessible.</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 a node to which the <see cref="T:System.Web.UI.WebControls.TreeNodeBinding" /> object is applied.</para>
</summary>
</Docs>
<AssemblyInfo>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
</Member>
<Member MemberName="ImageUrlField">
<MemberSignature Language="C#" Value="public string ImageUrlField { set; get; }" />
<MemberType>Property</MemberType>
<Attributes>
<Attribute>
<AttributeName>System.ComponentModel.TypeConverter("System.Web.UI.Design.DataSourceViewSchemaConverter, System.Design, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")</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>When the <see cref="T:System.Web.UI.WebControls.TreeView" /> control is bound to a data source, use the <see cref="P:System.Web.UI.WebControls.TreeNodeBinding.ImageUrlField" /> property to specify the name of the field to bind to the <see cref="P:System.Web.UI.WebControls.TreeNode.ImageUrl" /> property of a <see cref="T:System.Web.UI.WebControls.TreeNode" /> object. This binding relationship affects all <see cref="T:System.Web.UI.WebControls.TreeNode" /> objects to which the <see cref="T:System.Web.UI.WebControls.TreeNodeBinding" /> object is applied. The image is displayed next to a node and can be in any file format (.jpg, .gif, .bmp, and so on), as long as the client browser supports the format.</para>
<block subset="none" type="note">
<para>You can override the image for an individual node by setting its <see cref="P:System.Web.UI.WebControls.TreeNode.ImageUrl" /> property directly.</para>
</block>
<para>Instead of using this property to bind the <see cref="P:System.Web.UI.WebControls.TreeNode.ImageUrl" /> property of a <see cref="T:System.Web.UI.WebControls.TreeNode" /> object to a field, you can set the <see cref="P:System.Web.UI.WebControls.TreeNode.ImageUrl" /> property to a fixed value by setting the <see cref="P:System.Web.UI.WebControls.TreeNodeBinding.ImageUrl" /> property.</para>
<block subset="none" type="note">
<para>If the data source contains multiple fields, you must first set the <see cref="P:System.Web.UI.WebControls.TreeNodeBinding.Depth" /> or <see cref="P:System.Web.UI.WebControls.TreeNodeBinding.DataMember" /> property, or both properties in order to bind to the appropriate field.</para>
</block>
<para>When displaying an image next to a node with the <see cref="P:System.Web.UI.WebControls.TreeNodeBinding.ImageUrlField" /> property, you should also consider setting the <see cref="P:System.Web.UI.WebControls.TreeNodeBinding.ImageToolTipField" /> property. The ToolTip text that you specify provides Assistive Technology devices with a description of the image that can be used to make the control more accessible.</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 name of the field from the data source to bind to the <see cref="P:System.Web.UI.WebControls.TreeNode.ImageUrl" /> property of a <see cref="T:System.Web.UI.WebControls.TreeNode" /> object to which the <see cref="T:System.Web.UI.WebControls.TreeNodeBinding" /> object is applied.</para>
</summary>
</Docs>
<AssemblyInfo>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
</Member>
<Member MemberName="NavigateUrl">
<MemberSignature Language="C#" Value="public string NavigateUrl { set; get; }" />
<MemberType>Property</MemberType>
<Attributes>
<Attribute>
<AttributeName>System.ComponentModel.Editor("System.Web.UI.Design.UrlEditor, System.Design, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a", typeof(System.Drawing.Design.UITypeEditor))</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>When the <see cref="T:System.Web.UI.WebControls.TreeView" /> control is bound to a data source, use the <see cref="P:System.Web.UI.WebControls.TreeNodeBinding.NavigateUrl" /> property to specify the URL to bind to the <see cref="P:System.Web.UI.WebControls.TreeNode.NavigateUrl" /> property of a <see cref="T:System.Web.UI.WebControls.TreeNode" /> object. This binding relationship affects all <see cref="T:System.Web.UI.WebControls.TreeNode" /> objects to which the <see cref="T:System.Web.UI.WebControls.TreeNodeBinding" /> object is applied. When this property is set, the <see cref="T:System.Web.UI.WebControls.TreeView" /> control displays a hyperlink for the text of the node, instead of plain text. You can also optionally set the <see cref="P:System.Web.UI.WebControls.TreeNodeBinding.Target" /> property to specify the window or frame in which to display the linked content.</para>
<block subset="none" type="note">
<para>You can selectively override the <see cref="P:System.Web.UI.WebControls.TreeNodeBinding.NavigateUrl" /> property by setting the <see cref="P:System.Web.UI.WebControls.TreeNode.NavigateUrl" /> property of each node directly.</para>
</block>
<para>Instead of using the <see cref="P:System.Web.UI.WebControls.TreeNodeBinding.NavigateUrl" /> property to bind the same URL to each node, you can bind the <see cref="P:System.Web.UI.WebControls.TreeNode.NavigateUrl" /> property of a <see cref="T:System.Web.UI.WebControls.TreeNode" /> object to a field of a data source by setting the <see cref="P:System.Web.UI.WebControls.TreeNodeBinding.NavigateUrlField" /> 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 link to when a node to which the <see cref="T:System.Web.UI.WebControls.TreeNodeBinding" /> object is applied is clicked.</para>
</summary>
</Docs>
<AssemblyInfo>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
</Member>
<Member MemberName="NavigateUrlField">
<MemberSignature Language="C#" Value="public string NavigateUrlField { set; get; }" />
<MemberType>Property</MemberType>
<Attributes>
<Attribute>
<AttributeName>System.ComponentModel.TypeConverter("System.Web.UI.Design.DataSourceViewSchemaConverter, System.Design, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")</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>When the <see cref="T:System.Web.UI.WebControls.TreeView" /> control is bound to a data source, use the <see cref="P:System.Web.UI.WebControls.TreeNodeBinding.NavigateUrlField" /> property to specify the field name to bind to the <see cref="P:System.Web.UI.WebControls.TreeNode.NavigateUrl" /> property of a <see cref="T:System.Web.UI.WebControls.TreeNode" /> object. This binding relationship affects all <see cref="T:System.Web.UI.WebControls.TreeNode" /> objects to which the <see cref="T:System.Web.UI.WebControls.TreeNodeBinding" /> object is applied. When the <see cref="P:System.Web.UI.WebControls.TreeNodeBinding.NavigateUrlField" /> property is set, the <see cref="T:System.Web.UI.WebControls.TreeView" /> control displays a hyperlink for the text of the node, instead of plain text. You can also optionally set the <see cref="P:System.Web.UI.WebControls.TreeNodeBinding.Target" /> property to specify the window or frame in which to display the linked content.</para>
<block subset="none" type="note">
<para>You can selectively override the <see cref="P:System.Web.UI.WebControls.TreeNodeBinding.NavigateUrlField" /> property by setting the <see cref="P:System.Web.UI.WebControls.TreeNode.NavigateUrl" /> property of each node directly.</para>
</block>
<para>Instead of using the <see cref="P:System.Web.UI.WebControls.TreeNodeBinding.NavigateUrlField" /> property to bind the <see cref="P:System.Web.UI.WebControls.TreeNode.NavigateUrl" /> property of a <see cref="T:System.Web.UI.WebControls.TreeNode" /> object to a field, you can set the <see cref="P:System.Web.UI.WebControls.TreeNode.NavigateUrl" /> property to a fixed value by setting the <see cref="P:System.Web.UI.WebControls.TreeNodeBinding.NavigateUrl" /> property.</para>
<block subset="none" type="note">
<para>If the data source contains multiple fields, you must first set the <see cref="P:System.Web.UI.WebControls.TreeNodeBinding.Depth" /> or <see cref="P:System.Web.UI.WebControls.TreeNodeBinding.DataMember" /> property, or both properties in order to bind to the appropriate field.</para>
</block>
<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 name of the field from the data source to bind to the <see cref="P:System.Web.UI.WebControls.TreeNode.NavigateUrl" /> property of a <see cref="T:System.Web.UI.WebControls.TreeNode" /> object to which the <see cref="T:System.Web.UI.WebControls.TreeNodeBinding" /> object is applied.</para>
</summary>
</Docs>
<AssemblyInfo>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
</Member>
<Member MemberName="PopulateOnDemand">
<MemberSignature Language="C#" Value="public bool PopulateOnDemand { set; get; }" />
<MemberType>Property</MemberType>
<Attributes>
<Attribute>
<AttributeName>System.ComponentModel.DefaultValue(false)</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Docs>
<value>To be added.</value>
<since version=".NET 2.0" />
<remarks>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Sometimes, it is not practical to statically predefine the tree structure due to data size or custom content that depends on user input. Because of this, the <see cref="T:System.Web.UI.WebControls.TreeView" /> control supports dynamic node population. When the <see cref="P:System.Web.UI.WebControls.TreeNodeBinding.PopulateOnDemand" /> property is set to true, the child nodes of the node that the <see cref="T:System.Web.UI.WebControls.TreeNodeBinding" /> object is applied to gets populated at run time when the node is expanded.</para>
<para>When data bindings are created by setting the <see cref="P:System.Web.UI.WebControls.TreeView.AutoGenerateDataBindings" /> of the <see cref="T:System.Web.UI.WebControls.TreeView" /> control to true, the bindings that are created have the <see cref="P:System.Web.UI.WebControls.TreeNodeBinding.PopulateOnDemand" /> property set to true. Data bindings that are created declaratively have the <see cref="P:System.Web.UI.WebControls.TreeNodeBinding.PopulateOnDemand" /> property set to false. Using the declarative syntax allows you to control the behavior of individual data bindings.</para>
<block subset="none" type="note">
<para>Unlike the <see cref="P:System.Web.UI.WebControls.TreeNode.PopulateOnDemand" /> property of the <see cref="T:System.Web.UI.WebControls.TreeNode" /> class, the <see cref="P:System.Web.UI.WebControls.TreeNodeBinding.PopulateOnDemand" /> property does not require an event-handling method to be defined for the <see cref="E:System.Web.UI.WebControls.TreeView.TreeNodePopulate" /> event, if you are using a data source control, such as <see cref="T:System.Web.UI.WebControls.XmlDataSource" />. Instead, the <see cref="T:System.Web.UI.WebControls.TreeView" /> control dynamically generates an event-handling method using the properties of the <see cref="T:System.Web.UI.WebControls.TreeNodeBinding" /> objects in the <see cref="P:System.Web.UI.WebControls.TreeView.DataBindings" /> collection. You can still define an event-handling method for the <see cref="E:System.Web.UI.WebControls.TreeView.TreeNodePopulate" /> event; however, it will be called after the event-handling method for the <see cref="T:System.Web.UI.WebControls.TreeView" /> control.</para>
</block>
<para>Supported browsers can also take advantage of client-side node population. When enabled, this allows the <see cref="T:System.Web.UI.WebControls.TreeView" /> control to populate a node dynamically on the client when that node is expanded, preventing the need to post back to the server. For more information on client-side node population, see <see cref="P:System.Web.UI.WebControls.TreeView.PopulateNodesFromClient" />.</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 a value indicating whether the node to which the <see cref="T:System.Web.UI.WebControls.TreeNodeBinding" /> object is applied is populated dynamically.</para>
</summary>
</Docs>
<AssemblyInfo>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
</Member>
<Member MemberName="SelectAction">
<MemberSignature Language="C#" Value="public System.Web.UI.WebControls.TreeNodeSelectAction SelectAction { set; get; }" />
<MemberType>Property</MemberType>
<Attributes>
<Attribute>
<AttributeName>System.ComponentModel.DefaultValue(System.Web.UI.WebControls.TreeNodeSelectAction.Select)</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Web.UI.WebControls.TreeNodeSelectAction</ReturnType>
</ReturnValue>
<Docs>
<value>To be added.</value>
<since version=".NET 2.0" />
<remarks>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>When the <see cref="T:System.Web.UI.WebControls.TreeView" /> control is bound to a data source, use the <see cref="P:System.Web.UI.WebControls.TreeNodeBinding.SelectAction" /> property to specify the value to bind to the <see cref="P:System.Web.UI.WebControls.TreeNode.SelectAction" /> property of a <see cref="T:System.Web.UI.WebControls.TreeNode" /> object. This binding relationship affects all <see cref="T:System.Web.UI.WebControls.TreeNode" /> objects to which the <see cref="T:System.Web.UI.WebControls.TreeNodeBinding" /> object is applied. The <see cref="P:System.Web.UI.WebControls.TreeNode.SelectAction" /> property is used to specify which event or events are raised when a node is selected.</para>
<block subset="none" type="note">
<para>You can selectively override the <see cref="P:System.Web.UI.WebControls.TreeNodeBinding.SelectAction" /> property by setting the <see cref="P:System.Web.UI.WebControls.TreeNode.SelectAction" /> property of each node directly.</para>
</block>
<para>The following table lists the available options.</para>
<list type="table">
<listheader>
<item>
<term>
<para>SelectAction value </para>
</term>
<description>
<para>Description </para>
</description>
</item>
</listheader>
<item>
<term>
<para>TreeNodeSelectAction.Expand </para>
</term>
<description>
<para>Toggles the node between expanded and collapsed. Raises the <see cref="E:System.Web.UI.WebControls.TreeView.TreeNodeExpanded" /> event or the <see cref="E:System.Web.UI.WebControls.TreeView.TreeNodeCollapsed" /> event, as appropriate.</para>
</description>
</item>
<item>
<term>
<para>TreeNodeSelectAction.None </para>
</term>
<description>
<para>Raises no events when a node is selected.</para>
</description>
</item>
<item>
<term>
<para>TreeNodeSelectAction.Select </para>
</term>
<description>
<para>Raises the <see cref="E:System.Web.UI.WebControls.TreeView.SelectedNodeChanged" /> event when a node is selected.</para>
</description>
</item>
<item>
<term>
<para>TreeNodeSelectAction.SelectExpand </para>
</term>
<description>
<para>Raises both the <see cref="E:System.Web.UI.WebControls.TreeView.SelectedNodeChanged" /> and <see cref="E:System.Web.UI.WebControls.TreeView.TreeNodeExpanded" /> events when a node is selected. Nodes are only expanded, never collapsed.</para>
</description>
</item>
</list>
<block subset="none" type="note">
<para>The <see cref="P:System.Web.UI.WebControls.TreeView.HoverNodeStyle" /> is not rendered for a node with its <see cref="P:System.Web.UI.WebControls.TreeNode.SelectAction" /> property set to TreeNodeSelectAction.None.</para>
</block>
<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 event or events to raise when a node to which the <see cref="T:System.Web.UI.WebControls.TreeNodeBinding" /> object is applied is selected.</para>
</summary>
</Docs>
<AssemblyInfo>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
</Member>
<Member MemberName="ShowCheckBox">
<MemberSignature Language="C#" Value="public Nullable<bool> ShowCheckBox { set; get; }" />
<MemberType>Property</MemberType>
<Attributes>
<Attribute>
<AttributeName>System.ComponentModel.DefaultValue(false)</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Nullable<System.Boolean></ReturnType>
</ReturnValue>
<Docs>
<value>To be added.</value>
<since version=".NET 2.0" />
<remarks>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>To provide multinode selection support in the <see cref="T:System.Web.UI.WebControls.TreeView" /> control, you can display check boxes next to an image in the node. When the <see cref="T:System.Web.UI.WebControls.TreeView" /> control is bound to a data source, use the <see cref="P:System.Web.UI.WebControls.TreeNodeBinding.ShowCheckBox" /> property to specify the value to bind to the <see cref="P:System.Web.UI.WebControls.TreeNode.ShowCheckBox" /> property of a <see cref="T:System.Web.UI.WebControls.TreeNode" /> object. This binding relationship affects all <see cref="T:System.Web.UI.WebControls.TreeNode" /> objects to which the <see cref="T:System.Web.UI.WebControls.TreeNodeBinding" /> object is applied. The <see cref="P:System.Web.UI.WebControls.TreeNode.ShowCheckBox" /> property is used to show or hide the check box for a node.</para>
<block subset="none" type="note">
<para>Although the <see cref="P:System.Web.UI.WebControls.TreeNodeBinding.ShowCheckBox" /> property can be used to display check boxes, it is more common to use the <see cref="P:System.Web.UI.WebControls.TreeView.ShowCheckBoxes" /> property of the <see cref="T:System.Web.UI.WebControls.TreeView" /> control. However, the <see cref="P:System.Web.UI.WebControls.TreeView.ShowCheckBoxes" /> property affects every node type that is specified by the property; therefore, the <see cref="P:System.Web.UI.WebControls.TreeNodeBinding.ShowCheckBox" /> property is often used to override that setting for a node to which the <see cref="T:System.Web.UI.WebControls.TreeNodeBinding" /> object is applied. You can selectively override the <see cref="P:System.Web.UI.WebControls.TreeNodeBinding.ShowCheckBox" /> property by setting the <see cref="P:System.Web.UI.WebControls.TreeNode.ShowCheckBox" /> property of each node directly.</para>
</block>
<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 a value indicating whether a check box is displayed next to a node to which the <see cref="T:System.Web.UI.WebControls.TreeNodeBinding" /> object is applied.</para>
</summary>
</Docs>
<AssemblyInfo>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
</Member>
<Member MemberName="System.ICloneable.Clone">
<MemberSignature Language="C#" Value="object ICloneable.Clone ();" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Object</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<remarks>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>The <see cref="M:System.Web.UI.WebControls.TreeNodeBinding.System.ICloneable.Clone" /> method is a helper function that creates a copy of the <see cref="T:System.Web.UI.WebControls.TreeNodeBinding" /> object from which the <see cref="M:System.Web.UI.WebControls.TreeNodeBinding.System.ICloneable.Clone" /> method is called.</para>
<block subset="none" type="note">
<para>the <see cref="M:System.Web.UI.WebControls.TreeNodeBinding.System.ICloneable.Clone" /> method is used primarily by control developers.</para>
</block>
</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Creates a copy of the <see cref="T:System.Web.UI.WebControls.TreeNodeBinding" /> object.</para>
</summary>
<returns>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>An object that represents a copy of the <see cref="T:System.Web.UI.WebControls.TreeNodeBinding" /> object.</para>
</returns>
</Docs>
</Member>
<Member MemberName="System.Web.UI.IDataSourceViewSchemaAccessor.DataSourceViewSchema">
<MemberSignature Language="C#" Value="object System.Web.UI.IDataSourceViewSchemaAccessor.DataSourceViewSchema { set; get; }" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Object</ReturnType>
</ReturnValue>
<Docs>
<value>To be added.</value>
<remarks>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>This member is an explicit interface member implementation. It can be used only when the <see cref="T:System.Web.UI.WebControls.TreeNodeBinding" /> instance is cast to the <see cref="T:System.Web.UI.IDataSourceViewSchemaAccessor" /> interface.</para>
<para>The value of this property is stored in view state.</para>
</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>For a description of this member, see <see cref="P:System.Web.UI.IDataSourceViewSchemaAccessor.DataSourceViewSchema" />.</para>
</summary>
</Docs>
</Member>
<Member MemberName="System.Web.UI.IStateManager.IsTrackingViewState">
<MemberSignature Language="C#" Value="bool System.Web.UI.IStateManager.IsTrackingViewState { get; }" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Docs>
<value>To be added.</value>
<remarks>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>This member is an explicit interface member implementation. It can be used only when the <see cref="T:System.Web.UI.WebControls.TreeNodeBinding" /> instance is cast to the <see cref="T:System.Web.UI.IStateManager" /> interface.</para>
</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>For a description of this member, see <see cref="P:System.Web.UI.IStateManager.IsTrackingViewState" />.</para>
</summary>
</Docs>
</Member>
<Member MemberName="System.Web.UI.IStateManager.LoadViewState">
<MemberSignature Language="C#" Value="void IStateManager.LoadViewState (object savedState);" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="savedState" Type="System.Object" />
</Parameters>
<Docs>
<param name="savedState">To be added.</param>
<remarks>To be added.</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Loads the previously saved view state for the node.</para>
</summary>
</Docs>
</Member>
<Member MemberName="System.Web.UI.IStateManager.SaveViewState">
<MemberSignature Language="C#" Value="object IStateManager.SaveViewState ();" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Object</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<remarks>To be added.</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Saves the view state changes to an object.</para>
</summary>
<returns>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>The object that contains the view state changes.</para>
</returns>
</Docs>
</Member>
<Member MemberName="System.Web.UI.IStateManager.TrackViewState">
<MemberSignature Language="C#" Value="void IStateManager.TrackViewState ();" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<remarks>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>After the <see cref="M:System.Web.UI.WebControls.TreeNodeBinding.System.Web.UI.IStateManager.TrackViewState" /> method has been called on a server control, the <see cref="P:System.Web.UI.Control.IsTrackingViewState" /> property returns true.</para>
</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Instructs the <see cref="T:System.Web.UI.WebControls.TreeNode" /> object to track changes to its view state.</para>
</summary>
</Docs>
</Member>
<Member MemberName="Target">
<MemberSignature Language="C#" Value="public string Target { set; get; }" />
<MemberType>Property</MemberType>
<Attributes>
<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>When the <see cref="T:System.Web.UI.WebControls.TreeView" /> control is bound to a data source, use the <see cref="P:System.Web.UI.WebControls.TreeNodeBinding.Target" /> property to specify the value to bind to the <see cref="P:System.Web.UI.WebControls.TreeNode.Target" /> property of a <see cref="T:System.Web.UI.WebControls.TreeNode" /> object. This binding relationship affects all <see cref="T:System.Web.UI.WebControls.TreeNode" /> objects to which the <see cref="T:System.Web.UI.WebControls.TreeNodeBinding" /> object is applied. The <see cref="P:System.Web.UI.WebControls.TreeNode.Target" /> property is used to specify the window or frame in which to display the Web content that is linked to a node when that node is clicked.</para>
<block subset="none" type="note">
<para>Setting the <see cref="P:System.Web.UI.WebControls.TreeNodeBinding.Target" /> property overrides the <see cref="P:System.Web.UI.WebControls.TreeView.Target" /> property of the <see cref="T:System.Web.UI.WebControls.TreeView" /> control for the nodes to which the <see cref="T:System.Web.UI.WebControls.TreeNodeBinding" /> object is applied. You can selectively override the <see cref="P:System.Web.UI.WebControls.TreeNodeBinding.Target" /> property by setting the <see cref="P:System.Web.UI.WebControls.TreeNode.Target" /> property of each node directly.</para>
</block>
<block subset="none" type="note">
<para> The <see cref="P:System.Web.UI.WebControls.TreeNodeBinding.Target" /> property renders as a target attribute. The target attribute on anchor elements is not allowed in the XHTML 1.1 document type definition. Do not set the <see cref="P:System.Web.UI.WebControls.TreeNodeBinding.Target" /> property, if the rendered output for the <see cref="T:System.Web.UI.WebControls.TreeNodeBinding" /> control must be XHTML 1.1 compliant. For more information, see <format type="text/html"><a href="1b78d416-66bb-43a5-ac77-c703aab55b97">ASP.NET and XHTML Compliance</a></format>. </para>
<para>When creating accessible Web pages, you should avoid using the <see cref="P:System.Web.UI.WebControls.TreeNodeBinding.Target" /> property to target another window. For more information, see <format type="text/html"><a href="9b5f3e05-e88d-4248-a5f4-9e64850fa0ae">ASP.NET Accessibility</a></format>.</para>
</block>
<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 target window or frame in which to display the Web page content that is associated with a node to which the <see cref="T:System.Web.UI.WebControls.TreeNodeBinding" /> object is applied.</para>
</summary>
</Docs>
<AssemblyInfo>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
</Member>
<Member MemberName="TargetField">
<MemberSignature Language="C#" Value="public string TargetField { set; get; }" />
<MemberType>Property</MemberType>
<Attributes>
<Attribute>
<AttributeName>System.ComponentModel.TypeConverter("System.Web.UI.Design.DataSourceViewSchemaConverter, System.Design, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")</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>When the <see cref="T:System.Web.UI.WebControls.TreeView" /> control is bound to a data source, use the <see cref="P:System.Web.UI.WebControls.TreeNodeBinding.TargetField" /> property to specify the field name to bind to the <see cref="P:System.Web.UI.WebControls.TreeNode.Target" /> property of a <see cref="T:System.Web.UI.WebControls.TreeNode" /> object. The <see cref="P:System.Web.UI.WebControls.TreeNode.Target" /> property is used to specify the window or frame in which to display the Web content that is linked to a node when that node is clicked.</para>
<para>This binding relationship affects all <see cref="T:System.Web.UI.WebControls.TreeNode" /> objects to which the <see cref="T:System.Web.UI.WebControls.TreeNodeBinding" /> object is applied. </para>
<block subset="none" type="note">
<para>You can selectively override the <see cref="P:System.Web.UI.WebControls.TreeNodeBinding.TargetField" /> property by setting the <see cref="P:System.Web.UI.WebControls.TreeNode.Target" /> property of each node directly.</para>
</block>
<para>Instead of using the <see cref="P:System.Web.UI.WebControls.TreeNodeBinding.TargetField" /> property to bind the <see cref="P:System.Web.UI.WebControls.TreeNode.Target" /> property of a <see cref="T:System.Web.UI.WebControls.TreeNode" /> object to a field, you can set <see cref="P:System.Web.UI.WebControls.TreeNode.Target" /> property to a fixed value by setting the <see cref="P:System.Web.UI.WebControls.TreeNodeBinding.Target" /> property.</para>
<block subset="none" type="note">
<para>If the data source contains multiple fields, you must first set the <see cref="P:System.Web.UI.WebControls.TreeNodeBinding.Depth" /> or <see cref="P:System.Web.UI.WebControls.TreeNodeBinding.DataMember" /> property, or both properties in order to bind to the appropriate field.</para>
</block>
<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 name of the field from the data source to bind to the <see cref="P:System.Web.UI.WebControls.TreeNode.Target" /> property of a <see cref="T:System.Web.UI.WebControls.TreeNode" /> object to which the <see cref="T:System.Web.UI.WebControls.TreeNodeBinding" /> object is applied.</para>
</summary>
</Docs>
<AssemblyInfo>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
</Member>
<Member MemberName="Text">
<MemberSignature Language="C#" Value="public string Text { set; get; }" />
<MemberType>Property</MemberType>
<Attributes>
<Attribute>
<AttributeName>System.ComponentModel.DefaultValue("")</AttributeName>
</Attribute>
<Attribute>
<AttributeName>System.ComponentModel.Localizable(true)</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>When the <see cref="T:System.Web.UI.WebControls.TreeView" /> control is bound to a data source, use the <see cref="P:System.Web.UI.WebControls.TreeNodeBinding.Text" /> property to specify the value to bind to the <see cref="P:System.Web.UI.WebControls.TreeNode.Text" /> property of a <see cref="T:System.Web.UI.WebControls.TreeNode" /> object. This binding relationship affects all <see cref="T:System.Web.UI.WebControls.TreeNode" /> objects to which the <see cref="T:System.Web.UI.WebControls.TreeNodeBinding" /> object is applied. The <see cref="P:System.Web.UI.WebControls.TreeNode.Text" /> property is used to specify the text displayed in a node.</para>
<block subset="none" type="note">
<para>You can selectively override the <see cref="P:System.Web.UI.WebControls.TreeNodeBinding.Text" /> property by setting the <see cref="P:System.Web.UI.WebControls.TreeNode.Text" /> property of each node directly.</para>
</block>
<para>Instead of using the <see cref="P:System.Web.UI.WebControls.TreeNodeBinding.Text" /> property to bind the same text to each node, you can bind the <see cref="P:System.Web.UI.WebControls.TreeNode.Text" /> property of a <see cref="T:System.Web.UI.WebControls.TreeNode" /> object to a field of a data source by setting the <see cref="P:System.Web.UI.WebControls.TreeNodeBinding.TextField" /> property.</para>
<para>The value of this property is stored in view state.</para>
<para>The value of this property, when set, can be saved automatically to a resource file by using a designer tool. For more information, see <see cref="T:System.ComponentModel.LocalizableAttribute" /> and <format type="text/html"><a href="8ef3838e-9d05-4236-9dd0-ceecff9df80d">ASP.NET Globalization and Localization</a></format>.</para>
</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Gets or sets the text that is displayed for the node to which the <see cref="T:System.Web.UI.WebControls.TreeNodeBinding" /> object is applied.</para>
</summary>
</Docs>
<AssemblyInfo>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
</Member>
<Member MemberName="TextField">
<MemberSignature Language="C#" Value="public string TextField { set; get; }" />
<MemberType>Property</MemberType>
<Attributes>
<Attribute>
<AttributeName>System.ComponentModel.TypeConverter("System.Web.UI.Design.DataSourceViewSchemaConverter, System.Design, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")</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>When the <see cref="T:System.Web.UI.WebControls.TreeView" /> control is bound to a data source, use the <see cref="P:System.Web.UI.WebControls.TreeNodeBinding.TextField" /> property to specify the field name to bind to the <see cref="P:System.Web.UI.WebControls.TreeNode.Text" /> property of a <see cref="T:System.Web.UI.WebControls.TreeNode" /> object. This binding relationship affects all <see cref="T:System.Web.UI.WebControls.TreeNode" /> objects to which the <see cref="T:System.Web.UI.WebControls.TreeNodeBinding" /> object is applied. The <see cref="P:System.Web.UI.WebControls.TreeNode.Text" /> property is used to specify the text displayed in a node.</para>
<block subset="none" type="note">
<para>You can selectively override the <see cref="P:System.Web.UI.WebControls.TreeNodeBinding.TextField" /> property by setting the <see cref="P:System.Web.UI.WebControls.TreeNode.Text" /> property of each node directly.</para>
</block>
<para>Instead of using the <see cref="P:System.Web.UI.WebControls.TreeNodeBinding.TextField" /> property to bind the <see cref="P:System.Web.UI.WebControls.TreeNode.Text" /> property of a <see cref="T:System.Web.UI.WebControls.TreeNode" /> object to a field, you can set the <see cref="P:System.Web.UI.WebControls.TreeNode.Text" /> property to a fixed value by setting the <see cref="P:System.Web.UI.WebControls.TreeNodeBinding.Text" /> property.</para>
<block subset="none" type="note">
<para>If the data source contains multiple fields, you must first set the <see cref="P:System.Web.UI.WebControls.TreeNodeBinding.Depth" /> or <see cref="P:System.Web.UI.WebControls.TreeNodeBinding.DataMember" /> property, or both properties in order to bind to the appropriate field.</para>
</block>
<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 name of the field from the data source to bind to the <see cref="P:System.Web.UI.WebControls.TreeNode.Text" /> property of a <see cref="T:System.Web.UI.WebControls.TreeNode" /> object to which the <see cref="T:System.Web.UI.WebControls.TreeNodeBinding" /> object is applied.</para>
</summary>
</Docs>
<AssemblyInfo>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
</Member>
<Member MemberName="ToolTip">
<MemberSignature Language="C#" Value="public string ToolTip { set; get; }" />
<MemberType>Property</MemberType>
<Attributes>
<Attribute>
<AttributeName>System.ComponentModel.Localizable(true)</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>When the <see cref="T:System.Web.UI.WebControls.TreeView" /> control is bound to a data source, use the <see cref="P:System.Web.UI.WebControls.TreeNodeBinding.ToolTip" /> property to specify the value to bind to the <see cref="P:System.Web.UI.WebControls.TreeNode.ToolTip" /> property of a <see cref="T:System.Web.UI.WebControls.TreeNode" /> object. This binding relationship affects all <see cref="T:System.Web.UI.WebControls.TreeNode" /> objects to which the <see cref="T:System.Web.UI.WebControls.TreeNodeBinding" /> object is applied. The ToolTip text is displayed when the mouse pointer is positioned over the node.</para>
<block subset="none" type="note">
<para>You can selectively override the <see cref="P:System.Web.UI.WebControls.TreeNodeBinding.ToolTip" /> property by setting the <see cref="P:System.Web.UI.WebControls.TreeNode.ToolTip" /> property of each node directly.</para>
</block>
<para>Instead of using the <see cref="P:System.Web.UI.WebControls.TreeNodeBinding.ToolTip" /> property to bind the same ToolTip text to each node, you can bind the <see cref="P:System.Web.UI.WebControls.TreeNode.ToolTip" /> property of a <see cref="T:System.Web.UI.WebControls.TreeNode" /> object to a field of a data source by setting the <see cref="P:System.Web.UI.WebControls.TreeNodeBinding.ToolTipField" /> property.</para>
<para>The value of this property is stored in view state.</para>
<para>The value of this property, when set, can be saved automatically to a resource file by using a designer tool. For more information, see <see cref="T:System.ComponentModel.LocalizableAttribute" /> and <format type="text/html"><a href="8ef3838e-9d05-4236-9dd0-ceecff9df80d">ASP.NET Globalization and Localization</a></format>.</para>
</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Gets or sets the ToolTip text for a node to which the <see cref="T:System.Web.UI.WebControls.TreeNodeBinding" /> object is applied.</para>
</summary>
</Docs>
<AssemblyInfo>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
</Member>
<Member MemberName="ToolTipField">
<MemberSignature Language="C#" Value="public string ToolTipField { set; get; }" />
<MemberType>Property</MemberType>
<Attributes>
<Attribute>
<AttributeName>System.ComponentModel.TypeConverter("System.Web.UI.Design.DataSourceViewSchemaConverter, System.Design, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")</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>When the <see cref="T:System.Web.UI.WebControls.TreeView" /> control is bound to a data source, use the <see cref="P:System.Web.UI.WebControls.TreeNodeBinding.ToolTipField" /> property to specify the field name to bind to the <see cref="P:System.Web.UI.WebControls.TreeNode.ToolTip" /> property of a <see cref="T:System.Web.UI.WebControls.TreeNode" /> object. This binding relationship affects all <see cref="T:System.Web.UI.WebControls.TreeNode" /> objects to which the <see cref="T:System.Web.UI.WebControls.TreeNodeBinding" /> object is applied. The ToolTip text is displayed when the mouse pointer is positioned over the node.</para>
<block subset="none" type="note">
<para>You can selectively override the <see cref="P:System.Web.UI.WebControls.TreeNodeBinding.ToolTipField" /> property by setting the <see cref="P:System.Web.UI.WebControls.TreeNode.ToolTip" /> property of each node directly.</para>
</block>
<para>Instead of using the <see cref="P:System.Web.UI.WebControls.TreeNodeBinding.ToolTipField" /> property to bind the <see cref="P:System.Web.UI.WebControls.TreeNode.ToolTip" /> property of a <see cref="T:System.Web.UI.WebControls.TreeNode" /> object to a field, you can set the <see cref="P:System.Web.UI.WebControls.TreeNode.ToolTip" /> property to a fixed value by setting the <see cref="P:System.Web.UI.WebControls.TreeNodeBinding.ToolTip" /> property.</para>
<block subset="none" type="note">
<para>If the data source contains multiple fields, you must first set the <see cref="P:System.Web.UI.WebControls.TreeNodeBinding.Depth" /> or <see cref="P:System.Web.UI.WebControls.TreeNodeBinding.DataMember" /> property, or both properties in order to bind to the appropriate field.</para>
</block>
<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 name of the field from the data source to bind to the <see cref="P:System.Web.UI.WebControls.TreeNode.ToolTip" /> property of a <see cref="T:System.Web.UI.WebControls.TreeNode" /> object to which the <see cref="T:System.Web.UI.WebControls.TreeNodeBinding" /> object is applied.</para>
</summary>
</Docs>
<AssemblyInfo>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
</Member>
<Member MemberName="ToString">
<MemberSignature Language="C#" Value="public override string ToString ();" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.String</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<remarks>To be added.</remarks>
<since version=".NET 2.0" />
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Returns the <see cref="P:System.Web.UI.WebControls.TreeNodeBinding.DataMember" /> property.</para>
</summary>
<returns>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Returns the <see cref="P:System.Web.UI.WebControls.TreeNodeBinding.DataMember" /> property. If the <see cref="P:System.Web.UI.WebControls.TreeNodeBinding.DataMember" /> property is null or an empty string (""), <ui>(Empty)</ui> is returned.</para>
</returns>
</Docs>
<AssemblyInfo>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
</Member>
<Member MemberName="Value">
<MemberSignature Language="C#" Value="public string Value { set; get; }" />
<MemberType>Property</MemberType>
<Attributes>
<Attribute>
<AttributeName>System.ComponentModel.Localizable(true)</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>When the <see cref="T:System.Web.UI.WebControls.TreeView" /> control is bound to a data source, use the <see cref="P:System.Web.UI.WebControls.TreeNodeBinding.Value" /> property to specify the value to bind to the <see cref="P:System.Web.UI.WebControls.TreeNode.Value" /> property of a <see cref="T:System.Web.UI.WebControls.TreeNode" /> object. This binding relationship affects all <see cref="T:System.Web.UI.WebControls.TreeNode" /> objects to which the <see cref="T:System.Web.UI.WebControls.TreeNodeBinding" /> object is applied. The <see cref="P:System.Web.UI.WebControls.TreeNode.Value" /> property is used to supplement the <see cref="P:System.Web.UI.WebControls.TreeNode.Text" /> property by storing any additional data associated with the node to which the <see cref="T:System.Web.UI.WebControls.TreeNodeBinding" /> object is applied. This value is not displayed in the control and is commonly used to store data for handling postback events.</para>
<block subset="none" type="note">
<para>You can selectively override the <see cref="P:System.Web.UI.WebControls.TreeNodeBinding.Value" /> property by setting the <see cref="P:System.Web.UI.WebControls.TreeNode.Value" /> property of each node directly.</para>
</block>
<para>Instead of using the <see cref="P:System.Web.UI.WebControls.TreeNodeBinding.Value" /> property to bind the same value to each node, you can bind the <see cref="P:System.Web.UI.WebControls.TreeNode.Value" /> property of a <see cref="T:System.Web.UI.WebControls.TreeNode" /> object to a field of a data source by setting the <see cref="P:System.Web.UI.WebControls.TreeNodeBinding.ValueField" /> property.</para>
<para>The value of this property is stored in view state.</para>
<para>The value of this property, when set, can be saved automatically to a resource file by using a designer tool. For more information, see <see cref="T:System.ComponentModel.LocalizableAttribute" /> and <format type="text/html"><a href="8ef3838e-9d05-4236-9dd0-ceecff9df80d">ASP.NET Globalization and Localization</a></format>.</para>
</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Gets or sets a displayed value that is not displayed but is used to store any additional data about a node to which the <see cref="T:System.Web.UI.WebControls.TreeNodeBinding" /> object is applied, such as data used for handling postback events.</para>
</summary>
</Docs>
<AssemblyInfo>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
</Member>
<Member MemberName="ValueField">
<MemberSignature Language="C#" Value="public string ValueField { set; get; }" />
<MemberType>Property</MemberType>
<Attributes>
<Attribute>
<AttributeName>System.ComponentModel.TypeConverter("System.Web.UI.Design.DataSourceViewSchemaConverter, System.Design, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")</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>When the <see cref="T:System.Web.UI.WebControls.TreeView" /> control is bound to a data source, use the <see cref="P:System.Web.UI.WebControls.TreeNodeBinding.ValueField" /> property to specify the field name to bind to the <see cref="P:System.Web.UI.WebControls.TreeNode.Value" /> property of a <see cref="T:System.Web.UI.WebControls.TreeNode" /> object. This binding relationship affects all <see cref="T:System.Web.UI.WebControls.TreeNode" /> objects to which the <see cref="T:System.Web.UI.WebControls.TreeNodeBinding" /> object is applied. The <see cref="P:System.Web.UI.WebControls.TreeNode.Value" /> property is used to supplement the <see cref="P:System.Web.UI.WebControls.TreeNode.Text" /> property by storing any additional data associated with the node to which the <see cref="T:System.Web.UI.WebControls.TreeNodeBinding" /> object is applied. This value is not displayed in the control and is commonly used to store data for handling postback events.</para>
<block subset="none" type="note">
<para>You can selectively override the <see cref="P:System.Web.UI.WebControls.TreeNodeBinding.ValueField" /> property by setting the <see cref="P:System.Web.UI.WebControls.TreeNode.Value" /> property of each node directly.</para>
</block>
<para>Instead of using the <see cref="P:System.Web.UI.WebControls.TreeNodeBinding.ValueField" /> property to bind the <see cref="P:System.Web.UI.WebControls.TreeNode.Value" /> property of a <see cref="T:System.Web.UI.WebControls.TreeNode" /> object to an field, you can set the <see cref="P:System.Web.UI.WebControls.TreeNode.Value" /> property to a fixed value by setting the <see cref="P:System.Web.UI.WebControls.TreeNodeBinding.Value" /> property.</para>
<block subset="none" type="note">
<para>If the data source contains multiple fields, you must first set the <see cref="P:System.Web.UI.WebControls.TreeNodeBinding.Depth" /> or <see cref="P:System.Web.UI.WebControls.TreeNodeBinding.DataMember" /> property, or both properties in order to bind to the appropriate field.</para>
</block>
<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 name of the field from the data source to bind to the <see cref="P:System.Web.UI.WebControls.TreeNode.Value" /> property of a <see cref="T:System.Web.UI.WebControls.TreeNode" /> object to which the <see cref="T:System.Web.UI.WebControls.TreeNodeBinding" /> object is applied.</para>
</summary>
</Docs>
<AssemblyInfo>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
</Member>
</Members>
</Type>
|