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 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 1347 1348 1349 1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 1375 1376 1377 1378 1379 1380 1381 1382 1383 1384 1385 1386 1387 1388 1389 1390 1391 1392 1393 1394 1395 1396 1397 1398 1399 1400 1401 1402 1403 1404 1405 1406 1407 1408 1409 1410 1411 1412 1413 1414 1415 1416 1417
|
<?xml version="1.0" encoding="utf-8"?>
<Type Name="MenuItemBinding" FullName="System.Web.UI.WebControls.MenuItemBinding">
<TypeSignature Language="C#" Value="public sealed class MenuItemBinding : 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.Menu" /> control is bound to a data source where each data item contains multiple fields (such as an XML element with several attributes), if no menu item bindings are defined, a menu item displays the value returned by the ToString() method of the data item by default. In the case of an XML element, the menu item displays the element name, which shows the underlying structure of the menu, but is not very useful otherwise. You can bind the properties of a menu item to a specific field by specifying menu item bindings. A <see cref="T:System.Web.UI.WebControls.MenuItemBinding" /> object defines the relationship between each data item and the menu item it is binding to.</para>
<block subset="none" type="note">
<para>When the <see cref="T:System.Web.UI.WebControls.Menu" /> control is bound to a <see cref="T:System.Web.UI.WebControls.SiteMapDataSource" /> control, menu item bindings have no effect. Binding is performed automatically using the site map provider.</para>
</block>
<para>The <see cref="T:System.Web.UI.WebControls.Menu" /> control stores its <see cref="T:System.Web.UI.WebControls.MenuItemBinding" /> objects in the <see cref="P:System.Web.UI.WebControls.Menu.DataBindings" /> property and applies the bindings to the data source to create a one-to-one relationship between the menu hierarchy and the data source hierarchy. For each data item in the data source, the <see cref="T:System.Web.UI.WebControls.Menu" /> control attempts to match the data item to a <see cref="T:System.Web.UI.WebControls.MenuItemBinding" /> object to create the corresponding <see cref="T:System.Web.UI.WebControls.MenuItem" /> object.</para>
<para>When creating a <see cref="T:System.Web.UI.WebControls.MenuItemBinding" /> object, you must specify the criteria for binding. The criteria indicate when a data item should be bound to a menu item. You can specify the <see cref="P:System.Web.UI.WebControls.MenuItemBinding.Depth" />, the <see cref="P:System.Web.UI.WebControls.MenuItemBinding.DataMember" />, or both.</para>
<para>A menu item depth specifies the menu level that gets bound. For example, the following <see cref="T:System.Web.UI.WebControls.MenuItemBinding" /> declaration binds the Name and ID fields of the data source to the <see cref="P:System.Web.UI.WebControls.MenuItem.Text" /> and <see cref="P:System.Web.UI.WebControls.MenuItem.Value" /> properties, respectively, of all nodes with a depth of 0:</para>
<code><asp:MenuItemBinding 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 an <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.MenuItemBinding" /> declaration binds the <Book> elements of an <see cref="T:System.Web.UI.WebControls.XmlDataSource" /> control to all the menu items in the menu, regardless of the location in the hierarchy:</para>
<code><asp:MenuItemBinding DataMember="Book" TextField="Title" ValueField= "ISBN"></code>
<para>Sometimes you might need to create a menu item binding that specifies both a depth and a data member. This is often used when the data source contains items at different levels that have the same data member value. For example, you can have <Item> elements that appear at different levels within an XML file. The following <see cref="T:System.Web.UI.WebControls.MenuItemBinding" /> declarations show how to specify menu item bindings that apply to identical data members at different menu depths:</para>
<para><asp:MenuItemBinding DataMember="Item" Depth="1" TextField="Title"></para>
<para><asp:MenuItemBinding DataMember="Item" Depth="2" TextField="ISBN"></para>
<para>If a menu item binding is defined without a depth and a data member, the menu item binding is applied to all menu items within the menu. This is commonly used when all data items have the same properties and should be displayed identically, regardless of the menu depth.</para>
<para>After the binding criteria are established, you can then bind a property of a <see cref="T:System.Web.UI.WebControls.MenuItem" /> 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.MenuItem" /> objects to which the <see cref="T:System.Web.UI.WebControls.MenuItemBinding" /> object is applied share the same value. Properties bound to fields contain the values of the corresponding field from the data source.</para>
<block subset="none" type="note">
<para>You can selectively override a bound property in a <see cref="T:System.Web.UI.WebControls.MenuItem" /> object by setting the corresponding property directly.</para>
</block>
<para>The following table lists the properties of the <see cref="T:System.Web.UI.WebControls.MenuItemBinding" /> class that allow you to bind a property of the <see cref="T:System.Web.UI.WebControls.MenuItem" /> 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.MenuItemBinding.ImageUrlField" />
</para>
</term>
<description>
<para>The field to bind to the <see cref="P:System.Web.UI.WebControls.MenuItem.ImageUrl" /> property of a <see cref="T:System.Web.UI.WebControls.MenuItem" /> object. </para>
</description>
</item>
<item>
<term>
<para>
<see cref="P:System.Web.UI.WebControls.MenuItemBinding.NavigateUrlField" />
</para>
</term>
<description>
<para>The field to bind to the <see cref="P:System.Web.UI.WebControls.MenuItem.NavigateUrl" /> property of a <see cref="T:System.Web.UI.WebControls.MenuItem" /> object. </para>
</description>
</item>
<item>
<term>
<para>
<see cref="P:System.Web.UI.WebControls.MenuItemBinding.TextField" />
</para>
</term>
<description>
<para>The field to bind to the <see cref="P:System.Web.UI.WebControls.MenuItem.Text" /> property of a <see cref="T:System.Web.UI.WebControls.MenuItem" /> object. </para>
</description>
</item>
<item>
<term>
<para>
<see cref="P:System.Web.UI.WebControls.MenuItemBinding.ToolTipField" />
</para>
</term>
<description>
<para>The field to bind to the <see cref="P:System.Web.UI.WebControls.MenuItem.ToolTip" /> property of a <see cref="T:System.Web.UI.WebControls.MenuItem" /> object. </para>
</description>
</item>
<item>
<term>
<para>
<see cref="P:System.Web.UI.WebControls.MenuItemBinding.ValueField" />
</para>
</term>
<description>
<para>The field to bind to the <see cref="P:System.Web.UI.WebControls.MenuItem.Value" /> property of a <see cref="T:System.Web.UI.WebControls.MenuItem" /> object. </para>
</description>
</item>
</list>
<para>The following table lists the properties of the <see cref="T:System.Web.UI.WebControls.MenuItemBinding" /> class that allow you to bind a property of the <see cref="T:System.Web.UI.WebControls.MenuItem" /> 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.MenuItemBinding.ImageUrl" /> </para>
</term>
<description>
<para>The static value to bind to the <see cref="P:System.Web.UI.WebControls.MenuItem.ImageUrl" /> property of a <see cref="T:System.Web.UI.WebControls.MenuItem" /> object. </para>
</description>
</item>
<item>
<term>
<para>
<see cref="P:System.Web.UI.WebControls.MenuItemBinding.NavigateUrl" /> </para>
</term>
<description>
<para>The static value to bind to the <see cref="P:System.Web.UI.WebControls.MenuItem.NavigateUrl" /> property of a <see cref="T:System.Web.UI.WebControls.MenuItem" /> object. </para>
</description>
</item>
<item>
<term>
<para>
<see cref="P:System.Web.UI.WebControls.MenuItemBinding.Target" /> </para>
</term>
<description>
<para>The static value to bind to the <see cref="P:System.Web.UI.WebControls.MenuItem.Target" /> property of a <see cref="T:System.Web.UI.WebControls.MenuItem" /> object. </para>
</description>
</item>
<item>
<term>
<para>
<see cref="P:System.Web.UI.WebControls.MenuItemBinding.Text" /> </para>
</term>
<description>
<para>The static value to bind to the <see cref="P:System.Web.UI.WebControls.MenuItem.Text" /> property of a <see cref="T:System.Web.UI.WebControls.MenuItem" /> object. </para>
</description>
</item>
<item>
<term>
<para>
<see cref="P:System.Web.UI.WebControls.MenuItemBinding.ToolTip" /> </para>
</term>
<description>
<para>The static value to bind to the <see cref="P:System.Web.UI.WebControls.MenuItem.ToolTip" /> property of a <see cref="T:System.Web.UI.WebControls.MenuItem" /> object. </para>
</description>
</item>
<item>
<term>
<para>
<see cref="P:System.Web.UI.WebControls.MenuItemBinding.Value" /> </para>
</term>
<description>
<para>The static value to bind to the <see cref="P:System.Web.UI.WebControls.MenuItem.Value" /> property of a <see cref="T:System.Web.UI.WebControls.MenuItem" /> object. </para>
</description>
</item>
</list>
<para>If conflicting <see cref="T:System.Web.UI.WebControls.MenuItemBinding" /> objects are defined, the <see cref="T:System.Web.UI.WebControls.Menu" /> control applies the menu item bindings in the following order of precedence: </para>
<list type="ordered">
<item>
<para>The <see cref="T:System.Web.UI.WebControls.MenuItemBinding" /> object that defines and matches both a depth and a data member.</para>
</item>
<item>
<para>The <see cref="T:System.Web.UI.WebControls.MenuItemBinding" /> object that defines and matches the data member only.</para>
</item>
<item>
<para>The <see cref="T:System.Web.UI.WebControls.MenuItemBinding" /> object that defines and matches the depth only.</para>
</item>
<item>
<para>The <see cref="T:System.Web.UI.WebControls.MenuItemBinding" /> object that defines neither the depth nor the data member. (This type of menu item binding is applied to all menu items in the menu.) </para>
</item>
<item>
<para>The <see cref="T:System.Web.UI.WebControls.MenuItemBinding" /> object that does not have a match in the data source. In this case, the value returned by the ToString() method of the data item is then bound to the <see cref="P:System.Web.UI.WebControls.MenuItem.Text" /> and <see cref="P:System.Web.UI.WebControls.MenuItem.Value" /> properties of the menu items to which the <see cref="T:System.Web.UI.WebControls.MenuItemBinding" /> object is applied.</para>
</item>
</list>
<para>The <see cref="T:System.Web.UI.WebControls.MenuItemBinding" /> class also allows you to format the text displayed in a menu item by setting the <see cref="P:System.Web.UI.WebControls.MenuItemBinding.FormatString" /> property.</para>
</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Defines the relationship between a data item and the menu item it is binding to in a <see cref="T:System.Web.UI.WebControls.Menu" /> control. This class cannot be inherited. </para>
</summary>
</Docs>
<Members>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="public MenuItemBinding ();" />
<MemberType>Constructor</MemberType>
<Parameters />
<Docs>
<since version=".NET 2.0" />
<remarks>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Use this constructor to create a new instance of the <see cref="T:System.Web.UI.WebControls.MenuItemBinding" /> class. It is often used when dynamically populating the <see cref="P:System.Web.UI.WebControls.Menu.DataBindings" /> collection of a <see cref="T:System.Web.UI.WebControls.Menu" /> 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.MenuItemBinding" /> 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>When creating a <see cref="T:System.Web.UI.WebControls.MenuItemBinding" /> object, you must specify the criteria for binding. The criteria indicate when a data item should be bound to a menu item. You can specify the <see cref="P:System.Web.UI.WebControls.MenuItemBinding.Depth" /> property, the <see cref="P:System.Web.UI.WebControls.MenuItemBinding.DataMember" /> property, or both.</para>
<para>When the data source contains multiple elements or tables, use the <see cref="P:System.Web.UI.WebControls.MenuItemBinding.DataMember" /> property to specify the element or table to bind to a menu item. 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. The following <see cref="T:System.Web.UI.WebControls.MenuItemBinding" /> declaration binds the <Book> elements of an <see cref="T:System.Web.UI.WebControls.XmlDataSource" /> control to all the menu items in the menu, regardless of the location in the hierarchy: </para>
<code><asp:MenuItemBinding DataMember="Book" TextField="Title" ValueField= "ISBN"></code>
<para>Sometimes you might need to create a menu item binding that specifies both a depth and a data member. This is often used when the data source contains items at different levels that have the same data member value. For example, you can have <Item> elements that appear at different levels within an XML file. The following <see cref="T:System.Web.UI.WebControls.MenuItemBinding" /> declarations show how to specify menu item bindings that apply to identical data members at different menu depths:</para>
<para><asp:MenuItemBinding DataMember="Item" Depth="1" TextField="Title"></para>
<para><asp:MenuItemBinding DataMember="Item" Depth="2" TextField="ISBN"></para>
<para>If a menu item binding is defined without a depth or a data member, the menu item binding is applied to all menu items within the menu. This is commonly used when all data items have the same properties and should be displayed identically, regardless of the menu depth.</para>
<para>After the binding criteria are established, you can then bind a property of a <see cref="T:System.Web.UI.WebControls.MenuItem" /> 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.MenuItem" /> objects to which the <see cref="T:System.Web.UI.WebControls.MenuItemBinding" /> object is applied share the same value. Properties bound to fields contain the values of the field from the data source.</para>
<para>If conflicting <see cref="T:System.Web.UI.WebControls.MenuItemBinding" /> objects are defined, the <see cref="T:System.Web.UI.WebControls.Menu" /> control applies the menu item bindings in the following order of precedence: </para>
<list type="ordered">
<item>
<para>The <see cref="T:System.Web.UI.WebControls.MenuItemBinding" /> object that defines and matches both a depth and a data member.</para>
</item>
<item>
<para>The <see cref="T:System.Web.UI.WebControls.MenuItemBinding" /> object that defines and matches the data member only.</para>
</item>
<item>
<para>The <see cref="T:System.Web.UI.WebControls.MenuItemBinding" /> object that defines and matches the depth only.</para>
</item>
<item>
<para>The <see cref="T:System.Web.UI.WebControls.MenuItemBinding" /> object that defines neither the depth nor the data member. (This type of menu item binding is applied to all menu items in the menu.) </para>
</item>
<item>
<para>The <see cref="T:System.Web.UI.WebControls.MenuItemBinding" /> object that does not have a match in the data source. In this case, the value returned by the ToString() method of the data item is then bound to the <see cref="P:System.Web.UI.WebControls.MenuItem.Text" /> and <see cref="P:System.Web.UI.WebControls.MenuItem.Value" /> properties of the menu items to which the <see cref="T:System.Web.UI.WebControls.MenuItemBinding" /> object is applied.</para>
</item>
</list>
</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Gets or sets the data member to bind to a menu item.</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>When creating a <see cref="T:System.Web.UI.WebControls.MenuItemBinding" /> object, you must specify the criteria for binding. The criteria indicate when a data item should be bound to a menu item. You can specify the <see cref="P:System.Web.UI.WebControls.MenuItemBinding.Depth" /> property, the <see cref="P:System.Web.UI.WebControls.MenuItemBinding.DataMember" /> property, or both.</para>
<para>Use the <see cref="P:System.Web.UI.WebControls.MenuItemBinding.Depth" /> property to specify the menu depth at which to apply the <see cref="T:System.Web.UI.WebControls.MenuItemBinding" /> object. For example, the following <see cref="T:System.Web.UI.WebControls.MenuItemBinding" /> declaration binds the Name and ID fields of the data source to the <see cref="P:System.Web.UI.WebControls.MenuItem.Text" /> and <see cref="P:System.Web.UI.WebControls.MenuItem.Value" /> properties, respectively, of all menu items with a depth of 0:</para>
<code><asp:MenuItemBinding Depth="0" TextField="Name" ValueField="ID"></code>
<para>Sometimes you might need to create a menu item binding that specifies both a depth and a data member. This is often used when the data source contains items at different levels that have the same data member value. For example, you can have <Item> elements that appear at different levels within an XML file. The following <see cref="T:System.Web.UI.WebControls.MenuItemBinding" /> declarations show how to specify menu item bindings that apply to identical data members at different menu depths:</para>
<para><asp:MenuItemBinding DataMember="Item" Depth="1" TextField="Title"></para>
<para><asp:MenuItemBinding DataMember="Item" Depth="2" TextField="ISBN"></para>
<para>If a menu item binding is defined without a depth and a data member, the menu item binding is applied to all menu items within the menu. This is commonly used when all data items have the same properties and should be displayed identically, regardless of the menu depth.</para>
<para>After the binding criteria are established, you can then bind a property of a <see cref="T:System.Web.UI.WebControls.MenuItem" /> 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.MenuItem" /> objects to which the <see cref="T:System.Web.UI.WebControls.MenuItemBinding" /> object is applied share the same value. Properties bound to fields contain the values of the field from the data source.</para>
<para>If conflicting <see cref="T:System.Web.UI.WebControls.MenuItemBinding" /> objects are defined, the <see cref="T:System.Web.UI.WebControls.Menu" /> control applies the menu item bindings in the following order of precedence: </para>
<list type="ordered">
<item>
<para>The <see cref="T:System.Web.UI.WebControls.MenuItemBinding" /> object that defines and matches both a depth and a data member.</para>
</item>
<item>
<para>The <see cref="T:System.Web.UI.WebControls.MenuItemBinding" /> object that defines and matches the data member only.</para>
</item>
<item>
<para>The <see cref="T:System.Web.UI.WebControls.MenuItemBinding" /> object that defines and matches the depth only.</para>
</item>
<item>
<para>The <see cref="T:System.Web.UI.WebControls.MenuItemBinding" /> object that defines neither the depth nor the data member. (This type of menu item binding is applied to all menu items in the menu.) </para>
</item>
<item>
<para>The <see cref="T:System.Web.UI.WebControls.MenuItemBinding" /> object that does not have a match in the data source. In this case, the value returned by the ToString() method of the data item is then bound to the <see cref="P:System.Web.UI.WebControls.MenuItem.Text" /> and <see cref="P:System.Web.UI.WebControls.MenuItem.Value" /> properties of the menu items to which the <see cref="T:System.Web.UI.WebControls.MenuItemBinding" /> object is applied.</para>
</item>
</list>
</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Gets or sets the menu depth to which the <see cref="T:System.Web.UI.WebControls.MenuItemBinding" /> object is applied.</para>
</summary>
</Docs>
<AssemblyInfo>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
</Member>
<Member MemberName="Enabled">
<MemberSignature Language="C#" Value="public bool Enabled { set; get; }" />
<MemberType>Property</MemberType>
<Attributes>
<Attribute>
<AttributeName>System.ComponentModel.DefaultValue(true)</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>Use the <see cref="P:System.Web.UI.WebControls.MenuItemBinding.Enabled" /> property to set the <see cref="P:System.Web.UI.WebControls.MenuItem.Enabled" /> property of a <see cref="T:System.Web.UI.WebControls.MenuItem" /> object. This setting is shared with all menu items to which the <see cref="T:System.Web.UI.WebControls.MenuItemBinding" /> object is applied. When this property is set to false, the menu item is disabled and no pop-out image that indicates child items is displayed. Setting this property to false for a menu item essentially makes the menu item the end of that node, where no further levels are shown off of that node.</para>
</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Gets or sets a value that indicates whether the menu item to which the <see cref="T:System.Web.UI.WebControls.MenuItemBinding" /> object is applied is enabled, allowing the item to display a pop-out image and any child menu items.</para>
</summary>
</Docs>
<AssemblyInfo>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
</Member>
<Member MemberName="EnabledField">
<MemberSignature Language="C#" Value="public string EnabledField { 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.Menu" /> control is bound to a data source, use the <see cref="P:System.Web.UI.WebControls.MenuItemBinding.EnabledField" /> property to specify the name of the field to bind to the <see cref="P:System.Web.UI.WebControls.MenuItem.Enabled" /> property of a <see cref="T:System.Web.UI.WebControls.MenuItem" /> object.</para>
<block subset="none" type="note">
<para> You can override the enabling of an individual menu item by setting its <see cref="P:System.Web.UI.WebControls.MenuItem.Enabled" /> property directly.</para>
</block>
<para>If the data source contains multiple tables or attributes, you must first establish the binding criteria by setting the <see cref="P:System.Web.UI.WebControls.MenuItemBinding.Depth" /> property, the <see cref="P:System.Web.UI.WebControls.MenuItemBinding.DataMember" /> property, or both.</para>
<block subset="none" type="note">
<para>If the <see cref="P:System.Web.UI.WebControls.MenuItemBinding.Enabled" /> and <see cref="P:System.Web.UI.WebControls.MenuItemBinding.EnabledField" /> properties are both set, the <see cref="P:System.Web.UI.WebControls.MenuItemBinding.EnabledField" /> property takes precedence.</para>
</block>
</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.MenuItem.Enabled" /> property of a <see cref="T:System.Web.UI.WebControls.MenuItem" /> object to which the <see cref="T:System.Web.UI.WebControls.MenuItemBinding" /> 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.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.MenuItemBinding.FormatString" /> property is used to provide a custom format for a menu item's text. The format string can consist of a literal string, a placeholder, or both. The literal string is displayed verbatim, while the placeholder is replaced with the value that is bound to the menu item's text.</para>
<para>The placeholder is split into two parts, separated by a colon, in the form {<paramref name="A" />:<paramref name="Bxx" />}. For example, {0:F2} displays a fixed-point number with two decimal places.</para>
<block subset="none" type="note">
<para>The placeholder string must be enclosed in braces to indicate that it is a placeholder and not a literal string. Any text outside the braces is displayed as literal text.</para>
</block>
<para>Keeping to the standard formatting string syntax, the value before the colon (<paramref name="A" /> in the general example) specifies the parameter index in a zero-based list of parameters. Because only one value can be displayed in each menu item, the parameter index can be set only to 0.</para>
<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>Description </para>
</description>
</item>
</listheader>
<item>
<term>
<para>C</para>
</term>
<description>
<para>Displays numeric values in currency format.</para>
</description>
</item>
<item>
<term>
<para>D</para>
</term>
<description>
<para>Displays numeric values in decimal format.</para>
</description>
</item>
<item>
<term>
<para>E</para>
</term>
<description>
<para>Displays numeric values in scientific (exponential) format.</para>
</description>
</item>
<item>
<term>
<para>F</para>
</term>
<description>
<para>Displays numeric values in fixed format.</para>
</description>
</item>
<item>
<term>
<para>G</para>
</term>
<description>
<para>Displays numeric values in general format.</para>
</description>
</item>
<item>
<term>
<para>N</para>
</term>
<description>
<para>Displays numeric values in number format.</para>
</description>
</item>
<item>
<term>
<para>X</para>
</term>
<description>
<para>Displays numeric values in hexadecimal format.</para>
</description>
</item>
</list>
<block subset="none" type="note">
<para>The format characters are not case-sensitive, except for X, which displays the hexadecimal characters in the case 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, 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 menu item to which the <see cref="T:System.Web.UI.WebControls.MenuItemBinding" /> 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.Menu" /> control is bound to a data source, use the <see cref="P:System.Web.UI.WebControls.MenuItemBinding.ImageUrl" /> property to specify the URL of a custom image to bind to the <see cref="P:System.Web.UI.WebControls.MenuItem.ImageUrl" /> property of a <see cref="T:System.Web.UI.WebControls.MenuItem" /> object. This image is shared with all <see cref="T:System.Web.UI.WebControls.MenuItem" /> objects to which the <see cref="T:System.Web.UI.WebControls.MenuItemBinding" /> object is applied. The image is displayed next to a menu item's text and can be in any file format (.jpg, .gif, .bmp, and so on), as long as the client's browser supports that format.</para>
<block subset="none" type="note">
<para>You can override the image for an individual menu item by setting its <see cref="P:System.Web.UI.WebControls.MenuItem.ImageUrl" /> property directly.</para>
</block>
<para>Instead of using this property to display the same image in each menu item, you can also use the <see cref="P:System.Web.UI.WebControls.MenuItemBinding.ImageUrlField" /> property to bind the <see cref="P:System.Web.UI.WebControls.MenuItem.ImageUrl" /> property of a <see cref="T:System.Web.UI.WebControls.MenuItem" /> object to a field of a data source. When rendered, the <see cref="P:System.Web.UI.WebControls.MenuItem.ImageUrl" /> property of each menu item to which the <see cref="T:System.Web.UI.WebControls.MenuItemBinding" /> object is applied contains the corresponding value from the field.</para>
<block subset="none" type="note">
<para>If the <see cref="P:System.Web.UI.WebControls.MenuItemBinding.ImageUrl" /> and <see cref="P:System.Web.UI.WebControls.MenuItemBinding.ImageUrlField" /> properties are both set, the <see cref="P:System.Web.UI.WebControls.MenuItemBinding.ImageUrlField" /> property takes precedence.</para>
</block>
</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Gets or sets the URL to an image that is displayed next to the text of a menu item to which the <see cref="T:System.Web.UI.WebControls.MenuItemBinding" /> 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.Menu" /> control is bound to a data source, use the <see cref="P:System.Web.UI.WebControls.MenuItemBinding.ImageUrlField" /> property to specify the name of the field to bind to the <see cref="P:System.Web.UI.WebControls.MenuItem.ImageUrl" /> property of a <see cref="T:System.Web.UI.WebControls.MenuItem" /> object. When rendered, the <see cref="P:System.Web.UI.WebControls.MenuItem.ImageUrl" /> property of each menu item to which the <see cref="T:System.Web.UI.WebControls.MenuItemBinding" /> object is applied contains the corresponding value from the field. The image is displayed next to a menu item's text and can be in any file format (.jpg, .gif, .bmp, and so on), as long as the client's browser supports that format.</para>
<block subset="none" type="note">
<para> You can override the image for an individual menu item by setting its <see cref="P:System.Web.UI.WebControls.MenuItem.ImageUrl" /> property directly.</para>
</block>
<para>If the data source contains multiple tables or attributes, you must first establish the binding criteria by setting the <see cref="P:System.Web.UI.WebControls.MenuItemBinding.Depth" /> property, the <see cref="P:System.Web.UI.WebControls.MenuItemBinding.DataMember" /> property, or both.</para>
<para>Instead of using this property to bind the <see cref="P:System.Web.UI.WebControls.MenuItem.ImageUrl" /> property of a <see cref="T:System.Web.UI.WebControls.MenuItem" /> object to a field, you can also bind it to a static value by setting the <see cref="P:System.Web.UI.WebControls.MenuItemBinding.ImageUrl" /> property. This allows you to display the same image in each menu item to which the <see cref="T:System.Web.UI.WebControls.MenuItemBinding" /> object is applied.</para>
<block subset="none" type="note">
<para>If the <see cref="P:System.Web.UI.WebControls.MenuItemBinding.ImageUrl" /> and <see cref="P:System.Web.UI.WebControls.MenuItemBinding.ImageUrlField" /> properties are both set, the <see cref="P:System.Web.UI.WebControls.MenuItemBinding.ImageUrlField" /> property takes precedence.</para>
</block>
</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.MenuItem.ImageUrl" /> property of a <see cref="T:System.Web.UI.WebControls.MenuItem" /> object to which the <see cref="T:System.Web.UI.WebControls.MenuItemBinding" /> 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.Menu" /> control is bound to a data source, use the <see cref="P:System.Web.UI.WebControls.MenuItemBinding.NavigateUrl" /> property to specify the URL to bind to the <see cref="P:System.Web.UI.WebControls.MenuItem.NavigateUrl" /> property of a <see cref="T:System.Web.UI.WebControls.MenuItem" /> object. This URL is shared with all menu items to which the <see cref="T:System.Web.UI.WebControls.MenuItemBinding" /> object is applied. When the user clicks the menu item, the user is taken to the specified URL.</para>
<block subset="none" type="note">
<para>You can override the URL for an individual menu item by setting its <see cref="P:System.Web.UI.WebControls.MenuItem.NavigateUrl" /> property directly.</para>
</block>
<para>Instead of using this property to navigate to the same URL in each menu item, you can also bind the <see cref="P:System.Web.UI.WebControls.MenuItem.NavigateUrl" /> property of a <see cref="T:System.Web.UI.WebControls.MenuItem" /> object to a field of a data source by setting the <see cref="P:System.Web.UI.WebControls.MenuItemBinding.NavigateUrlField" /> property. When rendered, the <see cref="P:System.Web.UI.WebControls.MenuItem.NavigateUrl" /> property of each menu item to which the <see cref="T:System.Web.UI.WebControls.MenuItemBinding" /> object is applied contains the corresponding value from the field.</para>
<block subset="none" type="note">
<para>If the <see cref="P:System.Web.UI.WebControls.MenuItemBinding.NavigateUrl" /> and <see cref="P:System.Web.UI.WebControls.MenuItemBinding.NavigateUrlField" /> properties are both set, the <see cref="P:System.Web.UI.WebControls.MenuItemBinding.NavigateUrlField" /> property takes precedence.</para>
</block>
</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Gets or sets the URL to link to when a menu item to which the <see cref="T:System.Web.UI.WebControls.MenuItemBinding" /> 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.Menu" /> control is bound to a data source, use the <see cref="P:System.Web.UI.WebControls.MenuItemBinding.NavigateUrlField" /> property to specify the name of the field to bind to the <see cref="P:System.Web.UI.WebControls.MenuItem.NavigateUrl" /> property of a <see cref="T:System.Web.UI.WebControls.MenuItem" /> object. When rendered, the <see cref="P:System.Web.UI.WebControls.MenuItem.NavigateUrl" /> property of each menu item to which the <see cref="T:System.Web.UI.WebControls.MenuItemBinding" /> object is applied contains the corresponding value from the field. The user is taken to the corresponding URL when the menu item is clicked.</para>
<block subset="none" type="note">
<para>You can override the URL for an individual menu item by setting its <see cref="P:System.Web.UI.WebControls.MenuItem.NavigateUrl" /> property directly.</para>
</block>
<para>If the data source contains multiple tables or attributes, you must first establish the binding criteria by setting the <see cref="P:System.Web.UI.WebControls.MenuItemBinding.Depth" /> property, the <see cref="P:System.Web.UI.WebControls.MenuItemBinding.DataMember" /> property, or both.</para>
<para>Instead of using this property to bind the <see cref="P:System.Web.UI.WebControls.MenuItem.NavigateUrl" /> property of a <see cref="T:System.Web.UI.WebControls.MenuItem" /> object to a field, you can also bind it to a static value by setting the <see cref="P:System.Web.UI.WebControls.MenuItemBinding.NavigateUrl" /> property. This allows you to navigate to the same URL from each menu item to which the <see cref="T:System.Web.UI.WebControls.MenuItemBinding" /> object is applied.</para>
<block subset="none" type="note">
<para>If the <see cref="P:System.Web.UI.WebControls.MenuItemBinding.NavigateUrl" /> and <see cref="P:System.Web.UI.WebControls.MenuItemBinding.NavigateUrlField" /> properties are both set, the <see cref="P:System.Web.UI.WebControls.MenuItemBinding.NavigateUrlField" /> property takes precedence.</para>
</block>
</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.MenuItem.NavigateUrl" /> property of a <see cref="T:System.Web.UI.WebControls.MenuItem" /> object to which the <see cref="T:System.Web.UI.WebControls.MenuItemBinding" /> object is applied.</para>
</summary>
</Docs>
<AssemblyInfo>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
</Member>
<Member MemberName="PopOutImageUrl">
<MemberSignature Language="C#" Value="public string PopOutImageUrl { 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.Menu" /> control is bound to a data source, use the <see cref="P:System.Web.UI.WebControls.MenuItemBinding.PopOutImageUrl" /> property to specify the URL of a <see cref="P:System.Web.UI.WebControls.MenuItem.PopOutImageUrl" /> property of a <see cref="T:System.Web.UI.WebControls.MenuItem" /> object. This URL is shared with all menu items to which the <see cref="T:System.Web.UI.WebControls.MenuItemBinding" /> object is applied.</para>
<block subset="none" type="note">
<para>You can override the URL for an individual menu item by setting its <see cref="P:System.Web.UI.WebControls.MenuItem.PopOutImageUrl" /> property directly.</para>
</block>
<para>You can bind the <see cref="P:System.Web.UI.WebControls.MenuItem.PopOutImageUrl" /> property of a <see cref="T:System.Web.UI.WebControls.MenuItem" /> object to a field of a data source by setting the <see cref="P:System.Web.UI.WebControls.MenuItemBinding.PopOutImageUrlField" /> property. When rendered, the <see cref="P:System.Web.UI.WebControls.MenuItem.PopOutImageUrl" /> property of each menu item to which the <see cref="T:System.Web.UI.WebControls.MenuItemBinding" /> object is applied contains the corresponding value from the field.</para>
<block subset="none" type="note">
<para>If the <see cref="P:System.Web.UI.WebControls.MenuItemBinding.PopOutImageUrl" /> and <see cref="P:System.Web.UI.WebControls.MenuItemBinding.PopOutImageUrlField" /> properties are both set, the <see cref="P:System.Web.UI.WebControls.MenuItemBinding.PopOutImageUrlField" /> property takes precedence.</para>
</block>
</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Gets or sets the URL to an image that indicates the presence of a dynamic submenu for a menu item to which the <see cref="T:System.Web.UI.WebControls.MenuItemBinding" /> object is applied.</para>
</summary>
</Docs>
<AssemblyInfo>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
</Member>
<Member MemberName="PopOutImageUrlField">
<MemberSignature Language="C#" Value="public string PopOutImageUrlField { 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.Menu" /> control is bound to a data source, use the <see cref="P:System.Web.UI.WebControls.MenuItemBinding.PopOutImageUrlField" /> property to specify the name of the field to bind to the <see cref="P:System.Web.UI.WebControls.MenuItem.PopOutImageUrl" /> property of a <see cref="T:System.Web.UI.WebControls.MenuItem" /> object. When rendered, the <see cref="P:System.Web.UI.WebControls.MenuItem.PopOutImageUrl" /> property of each menu item to which the <see cref="T:System.Web.UI.WebControls.MenuItemBinding" /> object is applied contains the corresponding value from the field. The image at the corresponding URL is displayed for each menu item.</para>
<block subset="none" type="note">
<para>You can override the URL for an individual menu item by setting its <see cref="P:System.Web.UI.WebControls.MenuItem.PopOutImageUrl" /> property directly.</para>
</block>
<para>If the data source contains multiple tables or attributes, you must first establish the binding criteria by setting the <see cref="P:System.Web.UI.WebControls.MenuItemBinding.Depth" /> property, the <see cref="P:System.Web.UI.WebControls.MenuItemBinding.DataMember" /> property, or both.</para>
<para>Instead of using this property to bind the <see cref="P:System.Web.UI.WebControls.MenuItem.PopOutImageUrl" /> property of a <see cref="T:System.Web.UI.WebControls.MenuItem" /> object to a field, you can also bind it to a static value by setting the <see cref="P:System.Web.UI.WebControls.MenuItemBinding.PopOutImageUrl" /> property. This allows you to navigate to the same URL from each menu item to which the <see cref="T:System.Web.UI.WebControls.MenuItemBinding" /> object is applied.</para>
<block subset="none" type="note">
<para>If the <see cref="P:System.Web.UI.WebControls.MenuItemBinding.PopOutImageUrl" /> and <see cref="P:System.Web.UI.WebControls.MenuItemBinding.PopOutImageUrlField" /> properties are both set, the <see cref="P:System.Web.UI.WebControls.MenuItemBinding.PopOutImageUrlField" /> property takes precedence.</para>
</block>
</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.MenuItem.PopOutImageUrl" /> property of a <see cref="T:System.Web.UI.WebControls.MenuItem" /> object to which the <see cref="T:System.Web.UI.WebControls.MenuItemBinding" /> object is applied.</para>
</summary>
</Docs>
<AssemblyInfo>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
</Member>
<Member MemberName="Selectable">
<MemberSignature Language="C#" Value="public bool Selectable { set; get; }" />
<MemberType>Property</MemberType>
<Attributes>
<Attribute>
<AttributeName>System.ComponentModel.DefaultValue(true)</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>When the <see cref="T:System.Web.UI.WebControls.Menu" /> control is bound to a data source, use the <see cref="P:System.Web.UI.WebControls.MenuItemBinding.Selectable" /> property to set the <see cref="P:System.Web.UI.WebControls.MenuItem.Selectable" /> property of a <see cref="T:System.Web.UI.WebControls.MenuItem" /> object. This setting is shared with all menu items to which the <see cref="T:System.Web.UI.WebControls.MenuItemBinding" /> object is applied. When this property is set to false, the menu item is not "clickable" but any child items are displayed.</para>
</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Gets or sets a value that indicates whether the menu item to which the <see cref="T:System.Web.UI.WebControls.MenuItemBinding" /> object is applied can be selected, or is "clickable."</para>
</summary>
</Docs>
<AssemblyInfo>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
</Member>
<Member MemberName="SelectableField">
<MemberSignature Language="C#" Value="public string SelectableField { 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.Menu" /> control is bound to a data source, use the <see cref="P:System.Web.UI.WebControls.MenuItemBinding.SelectableField" /> property to specify the name of the field to bind to the <see cref="P:System.Web.UI.WebControls.MenuItem.Selectable" /> property of a <see cref="T:System.Web.UI.WebControls.MenuItem" /> object.</para>
<block subset="none" type="note">
<para> You can override the enabling of an individual menu item by setting its <see cref="P:System.Web.UI.WebControls.MenuItem.Selectable" /> property directly.</para>
</block>
<para>If the data source contains multiple tables or attributes, you must first establish the binding criteria by setting the <see cref="P:System.Web.UI.WebControls.MenuItemBinding.Depth" /> property, the <see cref="P:System.Web.UI.WebControls.MenuItemBinding.DataMember" /> property, or both.</para>
<block subset="none" type="note">
<para>If the <see cref="P:System.Web.UI.WebControls.MenuItemBinding.Selectable" /> and <see cref="P:System.Web.UI.WebControls.MenuItemBinding.SelectableField" /> properties are both set, the <see cref="P:System.Web.UI.WebControls.MenuItemBinding.SelectableField" /> property takes precedence.</para>
</block>
</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.MenuItem.Selectable" /> property of a <see cref="T:System.Web.UI.WebControls.MenuItem" /> object to which the <see cref="T:System.Web.UI.WebControls.MenuItemBinding" /> object is applied.</para>
</summary>
</Docs>
<AssemblyInfo>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
</Member>
<Member MemberName="SeparatorImageUrl">
<MemberSignature Language="C#" Value="public string SeparatorImageUrl { 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.Menu" /> control is bound to a data source, use the <see cref="P:System.Web.UI.WebControls.MenuItemBinding.SeparatorImageUrl" /> property to specify the URL of a <see cref="P:System.Web.UI.WebControls.MenuItem.SeparatorImageUrl" /> property of a <see cref="T:System.Web.UI.WebControls.MenuItem" /> object. This URL is shared with all menu items to which the <see cref="T:System.Web.UI.WebControls.MenuItemBinding" /> object is applied.</para>
<block subset="none" type="note">
<para>You can override the URL for an individual menu item by setting its <see cref="P:System.Web.UI.WebControls.MenuItem.SeparatorImageUrl" /> property directly.</para>
</block>
<para>Instead of using this property to indicate the same URL in each menu item, you can also bind the <see cref="P:System.Web.UI.WebControls.MenuItem.SeparatorImageUrl" /> property of a <see cref="T:System.Web.UI.WebControls.MenuItem" /> object to a field of a data source by setting the <see cref="P:System.Web.UI.WebControls.MenuItemBinding.SeparatorImageUrlField" /> property. When rendered, the <see cref="P:System.Web.UI.WebControls.MenuItem.SeparatorImageUrl" /> property of each menu item to which the <see cref="T:System.Web.UI.WebControls.MenuItemBinding" /> object is applied contains the corresponding value from the field.</para>
<block subset="none" type="note">
<para>If the <see cref="P:System.Web.UI.WebControls.MenuItemBinding.SeparatorImageUrl" /> and <see cref="P:System.Web.UI.WebControls.MenuItemBinding.SeparatorImageUrlField" /> properties are both set, the <see cref="P:System.Web.UI.WebControls.MenuItemBinding.SeparatorImageUrlField" /> property takes precedence.</para>
</block>
</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Gets or sets the URL to an image displayed below the text of a menu item (to separate it from other menu items) for a menu item to which the <see cref="T:System.Web.UI.WebControls.MenuItemBinding" /> object is applied.</para>
</summary>
</Docs>
<AssemblyInfo>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
</Member>
<Member MemberName="SeparatorImageUrlField">
<MemberSignature Language="C#" Value="public string SeparatorImageUrlField { 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.Menu" /> control is bound to a data source, use the <see cref="P:System.Web.UI.WebControls.MenuItemBinding.SeparatorImageUrlField" /> property to specify the name of the field to bind to the <see cref="P:System.Web.UI.WebControls.MenuItem.SeparatorImageUrl" /> property of a <see cref="T:System.Web.UI.WebControls.MenuItem" /> object. When rendered, the <see cref="P:System.Web.UI.WebControls.MenuItem.SeparatorImageUrl" /> property of each menu item to which the <see cref="T:System.Web.UI.WebControls.MenuItemBinding" /> object is applied contains the corresponding value from the field. The image at the corresponding URL is displayed for each menu item.</para>
<block subset="none" type="note">
<para>You can override the URL for an individual menu item by setting its <see cref="P:System.Web.UI.WebControls.MenuItem.SeparatorImageUrl" /> property directly.</para>
</block>
<para>If the data source contains multiple tables or attributes, you must first establish the binding criteria by setting the <see cref="P:System.Web.UI.WebControls.MenuItemBinding.Depth" /> property, the <see cref="P:System.Web.UI.WebControls.MenuItemBinding.DataMember" /> property, or both.</para>
<para>Instead of using this property to bind the <see cref="P:System.Web.UI.WebControls.MenuItem.SeparatorImageUrl" /> property of a <see cref="T:System.Web.UI.WebControls.MenuItem" /> object to a field, you can also bind it to a static value by setting the <see cref="P:System.Web.UI.WebControls.MenuItemBinding.SeparatorImageUrl" /> property. This allows you to navigate to the same URL from each menu item to which the <see cref="T:System.Web.UI.WebControls.MenuItemBinding" /> object is applied.</para>
<block subset="none" type="note">
<para>If the <see cref="P:System.Web.UI.WebControls.MenuItemBinding.SeparatorImageUrl" /> and <see cref="P:System.Web.UI.WebControls.MenuItemBinding.SeparatorImageUrlField" /> properties are both set, the <see cref="P:System.Web.UI.WebControls.MenuItemBinding.SeparatorImageUrlField" /> property takes precedence.</para>
</block>
</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.MenuItem.SeparatorImageUrl" /> property of a <see cref="T:System.Web.UI.WebControls.MenuItem" /> object to which the <see cref="T:System.Web.UI.WebControls.MenuItemBinding" /> 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.MenuItemBinding.System#ICloneable#Clone" /> method is a helper function that creates a copy of the <see cref="T:System.Web.UI.WebControls.MenuItemBinding" /> object from which this method is called.</para>
<block subset="none" type="note">
<para>This 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.MenuItemBinding" /> object.</para>
</summary>
<returns>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>An <see cref="T:System.Object" /> that represents a copy of the <see cref="T:System.Web.UI.WebControls.MenuItemBinding" />.</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.MenuItemBinding" /> instance is cast to an <see cref="T:System.Web.UI.IDataSourceViewSchemaAccessor" /> 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.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>To be added.</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Gets a value that indicates whether the <see cref="T:System.Web.UI.WebControls.MenuItemBinding" /> object is saving changes to its view state.</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 node's previously saved view state.</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 <see cref="T:System.Object" />.</para>
</summary>
<returns>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>An <see cref="T:System.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 this 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.MenuItemBinding" /> 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.Menu" /> control is bound to a data source, use the <see cref="P:System.Web.UI.WebControls.MenuItemBinding.Target" /> property to specify the window or frame in which to display the Web content linked to a menu item when that menu item is clicked.</para>
<block subset="none" type="note">
<para>Setting this property overrides the <see cref="P:System.Web.UI.WebControls.Menu.Target" /> property of the <see cref="T:System.Web.UI.WebControls.Menu" /> control for the menu items to which the <see cref="T:System.Web.UI.WebControls.MenuItemBinding" /> object is applied. You can selectively override this property by setting the <see cref="P:System.Web.UI.WebControls.MenuItem.Target" /> property of each menu item directly.</para>
</block>
<para>Target values must begin with a letter in the range of A through Z (case-insensitive), except for certain special values that begin with an underscore, as shown in the following table.</para>
<list type="table">
<listheader>
<item>
<term>
<para>Target value </para>
</term>
<description>
<para>Description </para>
</description>
</item>
</listheader>
<item>
<term>
<para>_blank </para>
</term>
<description>
<para>Renders the content in a new window without frames. </para>
</description>
</item>
<item>
<term>
<para>_parent </para>
</term>
<description>
<para>Renders the content in the immediate frameset parent. </para>
</description>
</item>
<item>
<term>
<para>_search</para>
</term>
<description>
<para>Renders the content in the search pane.</para>
</description>
</item>
<item>
<term>
<para>_self </para>
</term>
<description>
<para>Renders the content in the frame with focus. </para>
</description>
</item>
<item>
<term>
<para>_top </para>
</term>
<description>
<para>Renders the content in the full window without frames. </para>
</description>
</item>
</list>
<block subset="none" type="note">
<para>Check your browser documentation to determine if the _search value is supported. For example, Microsoft Internet Explorer 5.0 and later support the _search target value.</para>
</block>
<block subset="none" type="note">
<para> The <see cref="P:System.Web.UI.WebControls.MenuItemBinding.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.MenuItemBinding.Target" /> property if the rendered output for the <see cref="T:System.Web.UI.WebControls.MenuItemBinding" /> object must be XHTML 1.1 compliant. For more information, refer to the topic <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, it is strongly recommended you avoid using the <see cref="P:System.Web.UI.WebControls.MenuItemBinding.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>
</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 associated with a menu item to which the <see cref="T:System.Web.UI.WebControls.MenuItemBinding" /> 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.Menu" /> control is bound to a data source, use the <see cref="P:System.Web.UI.WebControls.MenuItemBinding.TargetField" /> property to specify the name of the field to bind to the <see cref="P:System.Web.UI.WebControls.MenuItem.Target" /> property of a <see cref="T:System.Web.UI.WebControls.MenuItem" /> object.</para>
<para>The <see cref="P:System.Web.UI.WebControls.MenuItem.Target" /> property specifies the window or frame in which to display the Web content linked to a menu item when that menu item is clicked. Values must begin with a letter in the range of A through Z (case-insensitive), except for certain special values that begin with an underscore, as shown in the following table. </para>
<list type="table">
<listheader>
<item>
<term>
<para>Target value </para>
</term>
<description>
<para>Description </para>
</description>
</item>
</listheader>
<item>
<term>
<para>_blank </para>
</term>
<description>
<para>Renders the content in a new window without frames. </para>
</description>
</item>
<item>
<term>
<para>_parent </para>
</term>
<description>
<para>Renders the content in the immediate frameset parent. </para>
</description>
</item>
<item>
<term>
<para>_self </para>
</term>
<description>
<para>Renders the content in the frame with focus. </para>
</description>
</item>
<item>
<term>
<para>_top </para>
</term>
<description>
<para>Renders the content in the full window without frames. </para>
</description>
</item>
</list>
<block subset="none" type="note">
<para> The <see cref="P:System.Web.UI.WebControls.MenuItemBinding.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.MenuItemBinding.Target" /> property if the rendered output for the <see cref="T:System.Web.UI.WebControls.MenuItemBinding" /> must be XHTML 1.1 compliant. For more information, refer to the topic <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, it is strongly recommended you avoid using the <see cref="P:System.Web.UI.WebControls.MenuItemBinding.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>Note that setting this property overrides the <see cref="P:System.Web.UI.WebControls.Menu.Target" /> property of the <see cref="T:System.Web.UI.WebControls.Menu" /> control for this menu item. Setting the <see cref="P:System.Web.UI.WebControls.Menu.Target" /> property to open a new window can make it difficult for users of assistive technology devices to use the page.</para>
<block subset="none" type="note">
<para>You can override enabling an individual menu item by setting its <see cref="P:System.Web.UI.WebControls.MenuItem.Target" /> property directly.</para>
</block>
<para>If the data source contains multiple tables or attributes, you must first establish the binding criteria by setting the <see cref="P:System.Web.UI.WebControls.MenuItemBinding.Depth" /> property, the <see cref="P:System.Web.UI.WebControls.MenuItemBinding.DataMember" /> property, or both.</para>
<block subset="none" type="note">
<para>If the <see cref="P:System.Web.UI.WebControls.MenuItemBinding.Target" /> and <see cref="P:System.Web.UI.WebControls.MenuItemBinding.TargetField" /> properties are both set, the <see cref="P:System.Web.UI.WebControls.MenuItemBinding.TargetField" /> property takes precedence.</para>
</block>
</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.MenuItem.Target" /> property of a <see cref="T:System.Web.UI.WebControls.MenuItem" /> object to which the <see cref="T:System.Web.UI.WebControls.MenuItemBinding" /> 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.Menu" /> control is bound to a data source, use the <see cref="P:System.Web.UI.WebControls.MenuItemBinding.Text" /> property to specify the text to bind to the <see cref="P:System.Web.UI.WebControls.MenuItem.Text" /> property of a <see cref="T:System.Web.UI.WebControls.MenuItem" /> object. This text is displayed in a menu item and is shared with all menu items to which the <see cref="T:System.Web.UI.WebControls.MenuItemBinding" /> object is applied.</para>
<block subset="none" type="note">
<para>You can override the text for an individual menu item by setting its <see cref="P:System.Web.UI.WebControls.MenuItem.Text" /> property directly.</para>
</block>
<para>Instead of using this property to display the same text in each menu item, you can also bind the <see cref="P:System.Web.UI.WebControls.MenuItem.Text" /> property of a <see cref="T:System.Web.UI.WebControls.MenuItem" /> object to a field of a data source by setting the <see cref="P:System.Web.UI.WebControls.MenuItemBinding.TextField" /> property. When rendered, the <see cref="P:System.Web.UI.WebControls.MenuItem.Text" /> property of each menu item to which the <see cref="T:System.Web.UI.WebControls.MenuItemBinding" /> object is applied contains the corresponding value from the field.</para>
<block subset="none" type="note">
<para>If the <see cref="P:System.Web.UI.WebControls.MenuItemBinding.Text" /> and <see cref="P:System.Web.UI.WebControls.MenuItemBinding.TextField" /> properties are both set, the <see cref="P:System.Web.UI.WebControls.MenuItemBinding.TextField" /> property takes precedence.</para>
</block>
<para>You cannot create empty nodes in a <see cref="T:System.Web.UI.WebControls.Menu" /> control by setting the <see cref="P:System.Web.UI.WebControls.MenuItemBinding.Text" /> or <see cref="P:System.Web.UI.WebControls.MenuItemBinding.TextField" /> properties to the empty string (""). Setting these properties to the empty string has the same effect as not setting the properties. In that case, the <see cref="T:System.Web.UI.WebControls.Menu" /> control creates a default binding using the <see cref="P:System.Web.UI.WebControls.BaseDataBoundControl.DataSource" /> property. For more information, see <format type="text/html"><a href="f9219396-a0fa-481f-894d-e3d9c67d64f2">Accessing Data with ASP.NET</a></format>.</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 displayed for the menu item to which the <see cref="T:System.Web.UI.WebControls.MenuItemBinding" /> 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.Menu" /> control is bound to a data source, use the <see cref="P:System.Web.UI.WebControls.MenuItemBinding.TextField" /> property to specify the name of the field to bind to the <see cref="P:System.Web.UI.WebControls.MenuItem.Text" /> property of a <see cref="T:System.Web.UI.WebControls.MenuItem" /> object. When rendered, the <see cref="P:System.Web.UI.WebControls.MenuItem.Text" /> property of each menu item to which the <see cref="T:System.Web.UI.WebControls.MenuItemBinding" /> object is applied contains the corresponding value from the field. This text is displayed in the menu items.</para>
<block subset="none" type="note">
<para>You can override the text for an individual menu item by setting its <see cref="P:System.Web.UI.WebControls.MenuItem.Text" /> property directly.</para>
</block>
<para>If the data source contains multiple tables or attributes, you must first establish the binding criteria by setting the <see cref="P:System.Web.UI.WebControls.MenuItemBinding.Depth" /> property, the <see cref="P:System.Web.UI.WebControls.MenuItemBinding.DataMember" /> property, or both.</para>
<para>You cannot create empty nodes in a <see cref="T:System.Web.UI.WebControls.Menu" /> control by setting the <see cref="P:System.Web.UI.WebControls.MenuItemBinding.Text" /> or <see cref="P:System.Web.UI.WebControls.MenuItemBinding.TextField" /> properties to the empty string (""). Setting these properties to the empty string has the same effect as not setting the properties. In that case, the <see cref="T:System.Web.UI.WebControls.Menu" /> control creates a default binding using the <see cref="P:System.Web.UI.WebControls.BaseDataBoundControl.DataSource" /> property. For more information, see <format type="text/html"><a href="f9219396-a0fa-481f-894d-e3d9c67d64f2">Accessing Data with ASP.NET</a></format>.</para>
<para>Instead of using this property to bind the <see cref="P:System.Web.UI.WebControls.MenuItem.Text" /> property of a <see cref="T:System.Web.UI.WebControls.MenuItem" /> object to a field, you can also bind it to a static value by setting the <see cref="P:System.Web.UI.WebControls.MenuItemBinding.Text" /> property. This allows you to display the same text in each menu item to which the <see cref="T:System.Web.UI.WebControls.MenuItemBinding" /> object is applied.</para>
<block subset="none" type="note">
<para>If the <see cref="P:System.Web.UI.WebControls.MenuItemBinding.Text" /> and <see cref="P:System.Web.UI.WebControls.MenuItemBinding.TextField" /> properties are both set, the <see cref="P:System.Web.UI.WebControls.MenuItemBinding.TextField" /> property takes precedence.</para>
</block>
</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.MenuItem.Text" /> property of a <see cref="T:System.Web.UI.WebControls.MenuItem" /> object to which the <see cref="T:System.Web.UI.WebControls.MenuItemBinding" /> 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.Menu" /> control is bound to a data source, use the <see cref="P:System.Web.UI.WebControls.MenuItemBinding.ToolTip" /> property to specify the text to bind to the <see cref="P:System.Web.UI.WebControls.MenuItem.ToolTip" /> property of a <see cref="T:System.Web.UI.WebControls.MenuItem" /> object. This ToolTip is shared with all menu items to which the <see cref="T:System.Web.UI.WebControls.MenuItemBinding" /> object is applied. When the user positions the mouse pointer over a menu item, the specified text is displayed.</para>
<block subset="none" type="note">
<para>You can override the ToolTip for an individual menu item by setting its <see cref="P:System.Web.UI.WebControls.MenuItem.ToolTip" /> property directly.</para>
</block>
<para>Instead of using this property to specify the same ToolTip for each menu item, you can also bind the <see cref="P:System.Web.UI.WebControls.MenuItem.ToolTip" /> property of a <see cref="T:System.Web.UI.WebControls.MenuItem" /> object to a field of a data source by setting the <see cref="P:System.Web.UI.WebControls.MenuItemBinding.ToolTipField" /> property. When rendered, the <see cref="P:System.Web.UI.WebControls.MenuItem.ToolTip" /> property of each menu item to which the <see cref="T:System.Web.UI.WebControls.MenuItemBinding" /> object is applied contains the corresponding value from the field.</para>
<block subset="none" type="note">
<para>If the <see cref="P:System.Web.UI.WebControls.MenuItemBinding.ToolTip" /> and <see cref="P:System.Web.UI.WebControls.MenuItemBinding.ToolTipField" /> properties are both set, the <see cref="P:System.Web.UI.WebControls.MenuItemBinding.ToolTipField" /> property takes precedence.</para>
</block>
<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 menu item to which the <see cref="T:System.Web.UI.WebControls.MenuItemBinding" /> 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.Menu" /> control is bound to a data source, use the <see cref="P:System.Web.UI.WebControls.MenuItemBinding.ToolTipField" /> property to specify the name of the field to bind to the <see cref="P:System.Web.UI.WebControls.MenuItem.ToolTip" /> property of a <see cref="T:System.Web.UI.WebControls.MenuItem" /> object. When rendered, the <see cref="P:System.Web.UI.WebControls.MenuItem.ToolTip" /> property of each menu item to which the <see cref="T:System.Web.UI.WebControls.MenuItemBinding" /> object is applied contains the corresponding value from the field. The specified text is displayed when the user positions the mouse pointer over a menu item.</para>
<block subset="none" type="note">
<para>You can override the text for an individual menu item by setting its <see cref="P:System.Web.UI.WebControls.MenuItem.ToolTip" /> property directly.</para>
</block>
<para>If the data source contains multiple tables or attributes, you must first establish the binding criteria by setting the <see cref="P:System.Web.UI.WebControls.MenuItemBinding.Depth" /> property, the <see cref="P:System.Web.UI.WebControls.MenuItemBinding.DataMember" /> property, or both.</para>
<para>Instead of using this property to bind the <see cref="P:System.Web.UI.WebControls.MenuItem.ToolTip" /> property of a <see cref="T:System.Web.UI.WebControls.MenuItem" /> object to a field, you can also bind it to a static value by setting the <see cref="P:System.Web.UI.WebControls.MenuItemBinding.ToolTip" /> property. This allows you to display the same ToolTip for each menu item to which the <see cref="T:System.Web.UI.WebControls.MenuItemBinding" /> object is applied.</para>
<block subset="none" type="note">
<para>If the <see cref="P:System.Web.UI.WebControls.MenuItemBinding.ToolTip" /> and <see cref="P:System.Web.UI.WebControls.MenuItemBinding.ToolTipField" /> properties are both set, the <see cref="P:System.Web.UI.WebControls.MenuItemBinding.ToolTipField" /> property takes precedence.</para>
</block>
</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.MenuItem.ToolTip" /> property of a <see cref="T:System.Web.UI.WebControls.MenuItem" /> object to which the <see cref="T:System.Web.UI.WebControls.MenuItemBinding" /> object is applied.</para>
</summary>
</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.Menu" /> control is bound to a data source, use the <see cref="P:System.Web.UI.WebControls.MenuItemBinding.Value" /> property to specify the value to bind to the <see cref="P:System.Web.UI.WebControls.MenuItem.Value" /> property of a <see cref="T:System.Web.UI.WebControls.MenuItem" /> object. This value is shared with all menu items to which the <see cref="T:System.Web.UI.WebControls.MenuItemBinding" /> object is applied. The specified value is not displayed in a menu item and is used to store any additional data about a menu item to which the <see cref="T:System.Web.UI.WebControls.MenuItemBinding" /> object is applied, such as data used for handling postback events.</para>
<block subset="none" type="note">
<para>You can override the value for an individual menu item by setting its <see cref="P:System.Web.UI.WebControls.MenuItem.Value" /> property directly.</para>
</block>
<para>Instead of using this property to specify the same value for each menu item, you can also bind the <see cref="P:System.Web.UI.WebControls.MenuItem.Value" /> property of a <see cref="T:System.Web.UI.WebControls.MenuItem" /> object to a field of a data source by setting the <see cref="P:System.Web.UI.WebControls.MenuItemBinding.ValueField" /> property. When rendered, the <see cref="P:System.Web.UI.WebControls.MenuItem.Value" /> property of each menu item to which the <see cref="T:System.Web.UI.WebControls.MenuItemBinding" /> object is applied contains the corresponding value from the field.</para>
<block subset="none" type="note">
<para>If the <see cref="P:System.Web.UI.WebControls.MenuItemBinding.Value" /> and <see cref="P:System.Web.UI.WebControls.MenuItemBinding.ValueField" /> properties are both set, the <see cref="P:System.Web.UI.WebControls.MenuItemBinding.ValueField" /> property takes precedence.</para>
</block>
<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 nondisplayed value used to store any additional data about a menu item to which the <see cref="T:System.Web.UI.WebControls.MenuItemBinding" /> 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.Menu" /> control is bound to a data source, use the <see cref="P:System.Web.UI.WebControls.MenuItemBinding.ValueField" /> property to specify the name of the field to bind to the <see cref="P:System.Web.UI.WebControls.MenuItem.Value" /> property of a <see cref="T:System.Web.UI.WebControls.MenuItem" /> object. When rendered, the <see cref="P:System.Web.UI.WebControls.MenuItem.Value" /> property of each menu item to which the <see cref="T:System.Web.UI.WebControls.MenuItemBinding" /> object is applied contains the corresponding value from the field. The specified value is not displayed in a menu item and is used to store any additional data about a menu item to which the <see cref="T:System.Web.UI.WebControls.MenuItemBinding" /> object is applied, such as data used for handling postback events.</para>
<block subset="none" type="note">
<para>You can override the value for an individual menu item by setting its <see cref="P:System.Web.UI.WebControls.MenuItem.Value" /> property directly.</para>
</block>
<para>If the data source contains multiple tables or attributes, you must first establish the binding criteria by setting the <see cref="P:System.Web.UI.WebControls.MenuItemBinding.Depth" /> property, the <see cref="P:System.Web.UI.WebControls.MenuItemBinding.DataMember" /> property, or both.</para>
<para>Instead of using this property to bind the <see cref="P:System.Web.UI.WebControls.MenuItem.Value" /> property of a <see cref="T:System.Web.UI.WebControls.MenuItem" /> object to a field, you can also bind it to a static value by setting the <see cref="P:System.Web.UI.WebControls.MenuItemBinding.Value" /> property. This allows you to specify the same value for each menu item to which the <see cref="T:System.Web.UI.WebControls.MenuItemBinding" /> object is applied.</para>
<block subset="none" type="note">
<para>If the <see cref="P:System.Web.UI.WebControls.MenuItemBinding.Value" /> and <see cref="P:System.Web.UI.WebControls.MenuItemBinding.ValueField" /> properties are both set, the <see cref="P:System.Web.UI.WebControls.MenuItemBinding.ValueField" /> property takes precedence.</para>
</block>
</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.MenuItem.Value" /> property of a <see cref="T:System.Web.UI.WebControls.MenuItem" /> object to which the <see cref="T:System.Web.UI.WebControls.MenuItemBinding" /> object is applied.</para>
</summary>
</Docs>
<AssemblyInfo>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
</Member>
</Members>
</Type>
|