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
|
<?xml version="1.0" encoding="utf-8"?>
<Type Name="Unit" FullName="System.Web.UI.WebControls.Unit">
<TypeSignature Language="C#" Maintainer="auto" Value="public struct Unit" />
<AssemblyInfo>
<AssemblyName>System.Web</AssemblyName>
<AssemblyPublicKey>
</AssemblyPublicKey>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ThreadSafetyStatement>Gtk# is thread aware, but not thread safe; See the <link location="node:gtk-sharp/programming/threads">Gtk# Thread Programming</link> for details.</ThreadSafetyStatement>
<Base>
<BaseTypeName>System.ValueType</BaseTypeName>
</Base>
<Interfaces />
<Attributes>
<Attribute>
<AttributeName>System.ComponentModel.TypeConverter(typeof(System.Web.UI.WebControls.UnitConverter))</AttributeName>
</Attribute>
</Attributes>
<Docs>
<remarks>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>The <see cref="T:System.Web.UI.WebControls.Unit" /> structure represents a length measurement that can be expressed in any HTML-compatible size unit. The <see cref="T:System.Web.UI.WebControls.UnitType" /> enumeration lists the units of measurement that can be represented. The <see cref="T:System.Web.UI.WebControls.Unit" /> is used by properties such as BorderWidth and Height to represent the length or width of the property. For example, you can set the <see cref="P:System.Web.UI.WebControls.WebControl.BorderWidth" /> property of a Web Server control to a <see cref="T:System.Web.UI.WebControls.Unit" /> that represents five pixels.</para>
<block subset="none" type="note">
<para>The <see cref="T:System.Web.UI.WebControls.Unit" /> class can represent values only between -32768 and 32767.</para>
</block>
<para>Use the <see cref="P:System.Web.UI.WebControls.Unit.Value" /> property to determine the length of the measurement. The unit of measurement is determined using the <see cref="P:System.Web.UI.WebControls.Unit.Type" /> property. You can convert other data types to a <see cref="T:System.Web.UI.WebControls.Unit" /> by using the <see cref="M:System.Web.UI.WebControls.Unit.Parse(System.String)" />, <see cref="M:System.Web.UI.WebControls.Unit.Percentage(System.Double)" />, <see cref="M:System.Web.UI.WebControls.Unit.Pixel(System.Int32)" />, and <see cref="M:System.Web.UI.WebControls.Unit.Point(System.Int32)" /> methods.</para>
<para>For a list of initial property values for an instance of <see cref="T:System.Web.UI.WebControls.Unit" />, see the <see cref="T:System.Web.UI.WebControls.Unit" /> constructor.</para>
</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Represents a length measurement.</para>
</summary>
</Docs>
<Members>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="public Unit (double value);" />
<MemberType>Constructor</MemberType>
<ReturnValue />
<Parameters>
<Parameter Name="value" Type="System.Double" />
</Parameters>
<Docs>
<remarks>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Use this constructor to create and initialize a new instance of the <see cref="T:System.Web.UI.WebControls.Unit" /> structure using the specified double precision floating point number.</para>
<para>The following table shows initial property values for an instance of <see cref="T:System.Web.UI.WebControls.Unit" />.</para>
<list type="table">
<listheader>
<item>
<term>
<para>Property </para>
</term>
<description>
<para>Initial Value </para>
</description>
</item>
</listheader>
<item>
<term>
<para>
<see cref="P:System.Web.UI.WebControls.Unit.Type" />
</para>
</term>
<description>
<para>
<see cref="F:System.Web.UI.WebControls.UnitType.Pixel" />
</para>
</description>
</item>
<item>
<term>
<para>
<see cref="P:System.Web.UI.WebControls.Unit.Value" /> </para>
</term>
<description>
<para>The value specified by <paramref name="value" />. </para>
</description>
</item>
</list>
<block subset="none" type="note">
<para>If <paramref name="value" /> is not between -32768 and 32767, an exception is thrown.</para>
</block>
</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Initializes a new instance of the <see cref="T:System.Web.UI.WebControls.Unit" /> structure with the specified double precision floating point number.</para>
</summary>
<param name="value">
<attribution license="cc4" from="Microsoft" modified="false" />A double precision floating point number that represents the length of the <see cref="T:System.Web.UI.WebControls.Unit" /> in pixels. </param>
</Docs>
<AssemblyInfo>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
</Member>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="public Unit (int value);" />
<MemberType>Constructor</MemberType>
<ReturnValue />
<Parameters>
<Parameter Name="value" Type="System.Int32" />
</Parameters>
<Docs>
<remarks>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Use this constructor to create and initialize a new instance of the <see cref="T:System.Web.UI.WebControls.Unit" /> structure using the specified 32-bit signed integer.</para>
<para>The following table shows initial property values for an instance of <see cref="T:System.Web.UI.WebControls.Unit" />.</para>
<list type="table">
<listheader>
<item>
<term>
<para>Property </para>
</term>
<description>
<para>Initial Value </para>
</description>
</item>
</listheader>
<item>
<term>
<para>
<see cref="P:System.Web.UI.WebControls.Unit.Type" />
</para>
</term>
<description>
<para>
<see cref="F:System.Web.UI.WebControls.UnitType.Pixel" />
</para>
</description>
</item>
<item>
<term>
<para>
<see cref="P:System.Web.UI.WebControls.Unit.Value" /> </para>
</term>
<description>
<para>The value specified by <paramref name="value" />. </para>
</description>
</item>
</list>
<block subset="none" type="note">
<para>If <paramref name="value" /> is not between -32768 and 32767, an exception is thrown.</para>
</block>
</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Initializes a new instance of the <see cref="T:System.Web.UI.WebControls.Unit" /> structure with the specified 32-bit signed integer.</para>
</summary>
<param name="value">
<attribution license="cc4" from="Microsoft" modified="false" />A 32-bit signed integer that represents the length of the <see cref="T:System.Web.UI.WebControls.Unit" /> in pixels. </param>
</Docs>
<AssemblyInfo>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
</Member>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="public Unit (string value);" />
<MemberType>Constructor</MemberType>
<ReturnValue />
<Parameters>
<Parameter Name="value" Type="System.String" />
</Parameters>
<Docs>
<remarks>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Use this constructor to create and initialize a new instance of the <see cref="T:System.Web.UI.WebControls.Unit" /> structure using the specified length. The length is specified in two parts, the length's value and the length's unit type. For example, "200Cm" represents a length of 200 centimeters. You can use any valid CSS-compliant unit expression.</para>
<para>The following table lists the common unit types.</para>
<list type="table">
<listheader>
<item>
<term>
<para>Unit type </para>
</term>
<description>
<para>Description </para>
</description>
</item>
</listheader>
<item>
<term>
<para>Pixel </para>
</term>
<description>
<para>Length in pixels. </para>
</description>
</item>
<item>
<term>
<para>Point </para>
</term>
<description>
<para>Length in points. A point represents 1/72 of an inch. </para>
</description>
</item>
<item>
<term>
<para>Inch </para>
</term>
<description>
<para>Length in inches. </para>
</description>
</item>
<item>
<term>
<para>Mm </para>
</term>
<description>
<para>Length in millimeters. </para>
</description>
</item>
<item>
<term>
<para>Cm </para>
</term>
<description>
<para>Length in centimeters. </para>
</description>
</item>
<item>
<term>
<para>Percentage </para>
</term>
<description>
<para>Length as a percentage of the parent element. </para>
</description>
</item>
</list>
<para>The following table shows initial property values for an instance of <see cref="T:System.Web.UI.WebControls.Unit" />.</para>
<list type="table">
<listheader>
<item>
<term>
<para>Property </para>
</term>
<description>
<para>Initial Value </para>
</description>
</item>
</listheader>
<item>
<term>
<para>
<see cref="P:System.Web.UI.WebControls.Unit.Type" />
</para>
</term>
<description>
<para>The unit type specified in <paramref name="value" />. </para>
</description>
</item>
<item>
<term>
<para>
<see cref="P:System.Web.UI.WebControls.Unit.Value" /> </para>
</term>
<description>
<para>The value specified in <paramref name="value" />. </para>
</description>
</item>
</list>
<block subset="none" type="note">
<para>If <paramref name="value" /> is not between -32768 and 32767, an exception is thrown.</para>
</block>
</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Initializes a new instance of the <see cref="T:System.Web.UI.WebControls.Unit" /> structure with the specified length.</para>
</summary>
<param name="value">
<attribution license="cc4" from="Microsoft" modified="false" />A string that represents the length of the <see cref="T:System.Web.UI.WebControls.Unit" />. </param>
</Docs>
<AssemblyInfo>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
</Member>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="public Unit (double value, System.Web.UI.WebControls.UnitType type);" />
<MemberType>Constructor</MemberType>
<ReturnValue />
<Parameters>
<Parameter Name="value" Type="System.Double" />
<Parameter Name="type" Type="System.Web.UI.WebControls.UnitType" />
</Parameters>
<Docs>
<remarks>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Use this constructor to create and initialize a new instance of the <see cref="T:System.Web.UI.WebControls.Unit" /> structure using the specified double precision floating point number and <see cref="T:System.Web.UI.WebControls.UnitType" />.</para>
<para>The following table shows initial property values for an instance of <see cref="T:System.Web.UI.WebControls.Unit" />.</para>
<list type="table">
<listheader>
<item>
<term>
<para>Property </para>
</term>
<description>
<para>Initial Value </para>
</description>
</item>
</listheader>
<item>
<term>
<para>
<see cref="P:System.Web.UI.WebControls.Unit.Type" />
</para>
</term>
<description>
<para>The value of <paramref name="type" />. </para>
</description>
</item>
<item>
<term>
<para>
<see cref="P:System.Web.UI.WebControls.Unit.Value" /> </para>
</term>
<description>
<para>The value specified by <paramref name="value" />. </para>
</description>
</item>
</list>
<block subset="none" type="note">
<para>If <paramref name="value" /> is not between -32768 and 32767, an exception is thrown.</para>
</block>
</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Initializes a new instance of the <see cref="T:System.Web.UI.WebControls.Unit" /> structure with the specified double precision floating point number and <see cref="T:System.Web.UI.WebControls.UnitType" />.</para>
</summary>
<param name="value">
<attribution license="cc4" from="Microsoft" modified="false" />A double precision floating point number that represents the length of the <see cref="T:System.Web.UI.WebControls.Unit" />. </param>
<param name="type">
<attribution license="cc4" from="Microsoft" modified="false" />One of the <see cref="T:System.Web.UI.WebControls.UnitType" /> enumeration values. </param>
</Docs>
<AssemblyInfo>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
</Member>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="public Unit (string value, System.Globalization.CultureInfo culture);" />
<MemberType>Constructor</MemberType>
<ReturnValue />
<Parameters>
<Parameter Name="value" Type="System.String" />
<Parameter Name="culture" Type="System.Globalization.CultureInfo" />
</Parameters>
<Docs>
<remarks>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Use this constructor to create and initialize a new instance of the <see cref="T:System.Web.UI.WebControls.Unit" /> structure using the specified length and <see cref="T:System.Globalization.CultureInfo" />. The length is specified in two parts, the length's value and the length's unit type. For example, "200Cm" represents a length of 200 centimeters. You can use any valid CSS-compliant unit expression.</para>
<para>The following table lists the common unit types.</para>
<list type="table">
<listheader>
<item>
<term>
<para>Unit type </para>
</term>
<description>
<para>Description </para>
</description>
</item>
</listheader>
<item>
<term>
<para>Pixel </para>
</term>
<description>
<para>Length in pixels. </para>
</description>
</item>
<item>
<term>
<para>Point </para>
</term>
<description>
<para>Length in points. A point represents 1/72 of an inch. </para>
</description>
</item>
<item>
<term>
<para>Inch </para>
</term>
<description>
<para>Length in inches. </para>
</description>
</item>
<item>
<term>
<para>Mm </para>
</term>
<description>
<para>Length in millimeters. </para>
</description>
</item>
<item>
<term>
<para>Cm </para>
</term>
<description>
<para>Length in centimeters. </para>
</description>
</item>
<item>
<term>
<para>Percentage </para>
</term>
<description>
<para>Length as a percentage of the parent element. </para>
</description>
</item>
</list>
<para>The following table shows initial property values for an instance of <see cref="T:System.Web.UI.WebControls.Unit" />.</para>
<list type="table">
<listheader>
<item>
<term>
<para>Property </para>
</term>
<description>
<para>Initial Value </para>
</description>
</item>
</listheader>
<item>
<term>
<para>
<see cref="P:System.Web.UI.WebControls.Unit.Type" />
</para>
</term>
<description>
<para>The unit type specified in <paramref name="value" />. </para>
</description>
</item>
<item>
<term>
<para>
<see cref="P:System.Web.UI.WebControls.Unit.Value" /> </para>
</term>
<description>
<para>The value specified in <paramref name="value" />. </para>
</description>
</item>
</list>
<block subset="none" type="note">
<para>If <paramref name="value" /> is not between -32768 and 32767, an exception is thrown.</para>
</block>
</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Initializes a new instance of the <see cref="T:System.Web.UI.WebControls.Unit" /> structure with the specified length and <see cref="T:System.Globalization.CultureInfo" />.</para>
</summary>
<param name="value">
<attribution license="cc4" from="Microsoft" modified="false" />A string that represents the length of the <see cref="T:System.Web.UI.WebControls.Unit" />. </param>
<param name="culture">
<attribution license="cc4" from="Microsoft" modified="false" />A <see cref="T:System.Globalization.CultureInfo" /> that represents the culture. </param>
</Docs>
<AssemblyInfo>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
</Member>
<Member MemberName="Empty">
<MemberSignature Language="C#" Value="public static readonly System.Web.UI.WebControls.Unit Empty;" />
<MemberType>Field</MemberType>
<ReturnValue>
<ReturnType>System.Web.UI.WebControls.Unit</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<remarks>To be added</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Represents an empty <see cref="T:System.Web.UI.WebControls.Unit" />. This field is read-only.</para>
</summary>
</Docs>
<AssemblyInfo>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
</Member>
<Member MemberName="Equals">
<MemberSignature Language="C#" Value="public override bool Equals (object obj);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="obj" Type="System.Object" />
</Parameters>
<Docs>
<remarks>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Use the <see cref="M:System.Web.UI.WebControls.Unit.Equals(System.Object)" /> method to compare the <see cref="T:System.Web.UI.WebControls.Unit" /> that this method is called from with the object specified by <paramref name="obj" />. For both objects to be equal, they must have the same values for both the <see cref="P:System.Web.UI.WebControls.Unit.Type" /> and <see cref="P:System.Web.UI.WebControls.Unit.Value" /> properties.</para>
<block subset="none" type="note">
<para>The object specified by <paramref name="obj" /> must by a <see cref="T:System.Web.UI.WebControls.Unit" /> type object for the comparison to succeed. If the object is null, false is returned.</para>
</block>
</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Compares this <see cref="T:System.Web.UI.WebControls.Unit" /> with the specified object.</para>
</summary>
<returns>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>true if the <see cref="T:System.Web.UI.WebControls.Unit" /> that this method is called from is equal to the specified object; otherwise, false.</para>
</returns>
<param name="obj">
<attribution license="cc4" from="Microsoft" modified="false" />The object for comparison. </param>
</Docs>
<AssemblyInfo>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
</Member>
<Member MemberName="GetHashCode">
<MemberSignature Language="C#" Value="public override int GetHashCode ();" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Int32</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<returns>a <see cref="T:System.Int32" /></returns>
<remarks>To be added</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Returns a hash code for this <see cref="T:System.Web.UI.WebControls.Unit" />.</para>
</summary>
</Docs>
<AssemblyInfo>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
</Member>
<Member MemberName="IsEmpty">
<MemberSignature Language="C#" Value="public bool IsEmpty { get; }" />
<MemberType>Property</MemberType>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Docs>
<value>To be added: an object of type 'bool'</value>
<remarks>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Use the <see cref="P:System.Web.UI.WebControls.Unit.IsEmpty" /> property to determine whether the <see cref="T:System.Web.UI.WebControls.Unit" /> is empty. The <see cref="T:System.Web.UI.WebControls.Unit" /> is empty if the <see cref="P:System.Web.UI.WebControls.Unit.Type" /> property contains an enumeration value of 0.</para>
</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Gets a value indicating whether the <see cref="T:System.Web.UI.WebControls.Unit" /> is empty.</para>
</summary>
</Docs>
<AssemblyInfo>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
</Member>
<Member MemberName="op_Equality">
<MemberSignature Language="C#" Value="public static bool op_Equality (System.Web.UI.WebControls.Unit left, System.Web.UI.WebControls.Unit right);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="left" Type="System.Web.UI.WebControls.Unit" />
<Parameter Name="right" Type="System.Web.UI.WebControls.Unit" />
</Parameters>
<Docs>
<remarks>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Use this operator to compare two <see cref="T:System.Web.UI.WebControls.Unit" /> objects for equality. For both objects to be equal, they must have the same values for both the <see cref="P:System.Web.UI.WebControls.Unit.Type" /> and <see cref="P:System.Web.UI.WebControls.Unit.Value" /> properties.</para>
</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Compares two <see cref="T:System.Web.UI.WebControls.Unit" /> objects to determine whether they are equal.</para>
</summary>
<returns>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>true if both <see cref="T:System.Web.UI.WebControls.Unit" /> objects are equal; otherwise, false.</para>
</returns>
<param name="left">
<attribution license="cc4" from="Microsoft" modified="false" />The <see cref="T:System.Web.UI.WebControls.Unit" /> on the left side of the operator. </param>
<param name="right">
<attribution license="cc4" from="Microsoft" modified="false" />The <see cref="T:System.Web.UI.WebControls.Unit" /> on the right side of the operator. </param>
</Docs>
<AssemblyInfo>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
</Member>
<Member MemberName="op_Implicit">
<MemberSignature Language="C#" Value="public static System.Web.UI.WebControls.Unit op_Implicit (int n);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Web.UI.WebControls.Unit</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="n" Type="System.Int32" />
</Parameters>
<Docs>
<param name="n">To be added.</param>
<summary>To be added.</summary>
<returns>To be added.</returns>
<remarks>To be added.</remarks>
</Docs>
<AssemblyInfo>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
</Member>
<Member MemberName="op_Inequality">
<MemberSignature Language="C#" Value="public static bool op_Inequality (System.Web.UI.WebControls.Unit left, System.Web.UI.WebControls.Unit right);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="left" Type="System.Web.UI.WebControls.Unit" />
<Parameter Name="right" Type="System.Web.UI.WebControls.Unit" />
</Parameters>
<Docs>
<remarks>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Use this operator to compare two <see cref="T:System.Web.UI.WebControls.Unit" /> objects for inequality. For the objects to not be equal, they must have different values for the <see cref="P:System.Web.UI.WebControls.Unit.Type" /> property or the <see cref="P:System.Web.UI.WebControls.Unit.Value" /> property.</para>
</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Compares two <see cref="T:System.Web.UI.WebControls.Unit" /> objects to determine whether they are not equal.</para>
</summary>
<returns>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>true if the <see cref="T:System.Web.UI.WebControls.Unit" /> objects are not equal; otherwise, false.</para>
</returns>
<param name="left">
<attribution license="cc4" from="Microsoft" modified="false" />The <see cref="T:System.Web.UI.WebControls.Unit" /> on the left side of the operator. </param>
<param name="right">
<attribution license="cc4" from="Microsoft" modified="false" />The <see cref="T:System.Web.UI.WebControls.Unit" /> on the right side of the operator. </param>
</Docs>
<AssemblyInfo>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
</Member>
<Member MemberName="Parse">
<MemberSignature Language="C#" Value="public static System.Web.UI.WebControls.Unit Parse (string s);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Web.UI.WebControls.Unit</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="s" Type="System.String" />
</Parameters>
<Docs>
<remarks>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Use the <see cref="M:System.Web.UI.WebControls.Unit.Parse(System.String)" /> static method to convert the string specified by the <paramref name="s" /> parameter to a <see cref="T:System.Web.UI.WebControls.Unit" />.</para>
<block subset="none" type="note">
<para>The unit of measurement when using this method is <see cref="F:System.Web.UI.WebControls.UnitType.Pixel" />.</para>
</block>
</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Converts the specified string to a <see cref="T:System.Web.UI.WebControls.Unit" />.</para>
</summary>
<returns>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>A <see cref="T:System.Web.UI.WebControls.Unit" /> that represents the specified string.</para>
</returns>
<param name="s">
<attribution license="cc4" from="Microsoft" modified="false" />The string to convert. </param>
</Docs>
<AssemblyInfo>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
</Member>
<Member MemberName="Parse">
<MemberSignature Language="C#" Value="public static System.Web.UI.WebControls.Unit Parse (string s, System.Globalization.CultureInfo culture);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Web.UI.WebControls.Unit</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="s" Type="System.String" />
<Parameter Name="culture" Type="System.Globalization.CultureInfo" />
</Parameters>
<Docs>
<remarks>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Use the <see cref="M:System.Web.UI.WebControls.Unit.Parse(System.String)" /> static method to convert the string specified by <paramref name="s" /> to a <see cref="T:System.Web.UI.WebControls.Unit" /> in the culture specified by <paramref name="culture" />.</para>
<block subset="none" type="note">
<para>The unit of measurement when using this method is <see cref="F:System.Web.UI.WebControls.UnitType.Pixel" />.</para>
</block>
</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Converts the specified string and <see cref="T:System.Globalization.CultureInfo" /> to a <see cref="T:System.Web.UI.WebControls.Unit" />.</para>
</summary>
<returns>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>A <see cref="T:System.Web.UI.WebControls.Unit" /> that represents the specified string.</para>
</returns>
<param name="s">
<attribution license="cc4" from="Microsoft" modified="false" />The string to convert. </param>
<param name="culture">
<attribution license="cc4" from="Microsoft" modified="false" />A <see cref="T:System.Globalization.CultureInfo" /> object that represents the culture. </param>
</Docs>
<AssemblyInfo>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
</Member>
<Member MemberName="Percentage">
<MemberSignature Language="C#" Value="public static System.Web.UI.WebControls.Unit Percentage (double n);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Web.UI.WebControls.Unit</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="n" Type="System.Double" />
</Parameters>
<Docs>
<remarks>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Use the <see cref="M:System.Web.UI.WebControls.Unit.Percentage(System.Double)" /> static method to create a <see cref="T:System.Web.UI.WebControls.Unit" /> of type <see cref="F:System.Web.UI.WebControls.UnitType.Percentage" /> that represents the length specified by the <paramref name="n" /> parameter. For example, if you specify 80 for n and use the returned unit to set the <see cref="P:System.Web.UI.WebControls.WebControl.Height" /> of a Web server control, the height attribute is set to 80%.</para>
<block subset="none" type="note">
<para>The <see cref="T:System.Web.UI.WebControls.Unit" /> class can represent values only between -32768 and 32767.</para>
</block>
</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Creates a <see cref="T:System.Web.UI.WebControls.Unit" /> of type <see cref="F:System.Web.UI.WebControls.UnitType.Percentage" /> from the specified double-precision floating-point number.</para>
</summary>
<returns>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>A <see cref="T:System.Web.UI.WebControls.Unit" /> of type <see cref="F:System.Web.UI.WebControls.UnitType.Percentage" /> that represents the length specified by the double-precision floating-point number.</para>
</returns>
<param name="n">
<attribution license="cc4" from="Microsoft" modified="false" />A double-precision floating-point number that represents the length of the <see cref="T:System.Web.UI.WebControls.Unit" />.</param>
</Docs>
<AssemblyInfo>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
</Member>
<Member MemberName="Pixel">
<MemberSignature Language="C#" Value="public static System.Web.UI.WebControls.Unit Pixel (int n);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Web.UI.WebControls.Unit</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="n" Type="System.Int32" />
</Parameters>
<Docs>
<remarks>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Use the <see cref="M:System.Web.UI.WebControls.Unit.Pixel(System.Int32)" /> static method to create a <see cref="T:System.Web.UI.WebControls.Unit" /> of type <see cref="F:System.Web.UI.WebControls.UnitType.Pixel" /> that represents the length specified by the <paramref name="n" /> parameter.</para>
<block subset="none" type="note">
<para>The <see cref="T:System.Web.UI.WebControls.Unit" /> class can represent values only between -32768 and 32767.</para>
</block>
</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Creates a <see cref="T:System.Web.UI.WebControls.Unit" /> of type <see cref="F:System.Web.UI.WebControls.UnitType.Pixel" /> from the specified 32-bit signed integer.</para>
</summary>
<returns>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>A <see cref="T:System.Web.UI.WebControls.Unit" /> of type <see cref="F:System.Web.UI.WebControls.UnitType.Pixel" /> that represents the length specified by the <paramref name="n" /> parameter.</para>
</returns>
<param name="n">
<attribution license="cc4" from="Microsoft" modified="false" />A 32-bit signed integer that represents the length of the <see cref="T:System.Web.UI.WebControls.Unit" />. </param>
</Docs>
<AssemblyInfo>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
</Member>
<Member MemberName="Point">
<MemberSignature Language="C#" Value="public static System.Web.UI.WebControls.Unit Point (int n);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.Web.UI.WebControls.Unit</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="n" Type="System.Int32" />
</Parameters>
<Docs>
<remarks>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Use the <see cref="M:System.Web.UI.WebControls.Unit.Point(System.Int32)" /> static method to create a <see cref="T:System.Web.UI.WebControls.Unit" /> of type <see cref="F:System.Web.UI.WebControls.UnitType.Point" /> that represents the length specified by the <paramref name="n" /> parameter.</para>
<block subset="none" type="note">
<para>The <see cref="T:System.Web.UI.WebControls.Unit" /> class can represent values only between -32768 and 32767.</para>
</block>
</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Creates a <see cref="T:System.Web.UI.WebControls.Unit" /> of type <see cref="F:System.Web.UI.WebControls.UnitType.Point" /> from the specified 32-bit signed integer.</para>
</summary>
<returns>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>A <see cref="T:System.Web.UI.WebControls.Unit" /> of type <see cref="F:System.Web.UI.WebControls.UnitType.Point" /> that represents the length specified by the 32-bit signed integer.</para>
</returns>
<param name="n">
<attribution license="cc4" from="Microsoft" modified="false" />A 32-bit signed integer that represents the length of the <see cref="T:System.Web.UI.WebControls.Unit" />. </param>
</Docs>
<AssemblyInfo>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
</Member>
<Member MemberName="ToString">
<MemberSignature Language="C#" Value="public override string ToString ();" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.String</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<remarks>To be added</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Converts a <see cref="T:System.Web.UI.WebControls.Unit" /> to a <see cref="T:System.String" />.</para>
</summary>
<returns>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>A <see cref="T:System.String" /> that represents this <see cref="T:System.Web.UI.WebControls.Unit" />.</para>
</returns>
</Docs>
<AssemblyInfo>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
</Member>
<Member MemberName="ToString">
<MemberSignature Language="C#" Value="public string ToString (System.Globalization.CultureInfo culture);" />
<MemberType>Method</MemberType>
<ReturnValue>
<ReturnType>System.String</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="culture" Type="System.Globalization.CultureInfo" />
</Parameters>
<Docs>
<remarks>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Use the <see cref="M:System.Web.UI.WebControls.Unit.ToString" /> method to convert the <see cref="T:System.Web.UI.WebControls.Unit" /> that this method is called from to a string equivalent in the specified culture.</para>
</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Converts a <see cref="T:System.Web.UI.WebControls.Unit" /> to a string equivalent in the specified culture.</para>
</summary>
<returns>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>A <see cref="T:System.String" /> represents this <see cref="T:System.Web.UI.WebControls.Unit" /> in the culture specified by <paramref name="culture" />.</para>
</returns>
<param name="culture">
<attribution license="cc4" from="Microsoft" modified="false" />A <see cref="T:System.Globalization.CultureInfo" /> that represents the culture. </param>
</Docs>
<AssemblyInfo>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
</Member>
<Member MemberName="ToString">
<MemberSignature Language="C#" Value="public string ToString (IFormatProvider provider);" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
<ReturnValue>
<ReturnType>System.String</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="provider" Type="System.IFormatProvider" />
</Parameters>
<Docs>
<param name="provider">To be added.</param>
<remarks>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>The <see cref="M:System.Web.UI.WebControls.Unit.ToString(System.IFormatProvider)" /> method returns a string representation formatted with a unit <see cref="P:System.Web.UI.WebControls.Unit.Value" /> and an abbreviation representing the unit <see cref="P:System.Web.UI.WebControls.Unit.Type" />. The following table lists <see cref="T:System.Web.UI.WebControls.UnitType" /> values and their corresponding abbreviation.</para>
<list type="table">
<listheader>
<item>
<term>
<para>Unit type </para>
</term>
<description>
<para>Abbreviation </para>
</description>
</item>
</listheader>
<item>
<term>
<para>
<see cref="F:System.Web.UI.WebControls.UnitType.Pixel" /> </para>
</term>
<description>
<para>px </para>
</description>
</item>
<item>
<term>
<para>
<see cref="F:System.Web.UI.WebControls.UnitType.Point" /> </para>
</term>
<description>
<para>pt </para>
</description>
</item>
<item>
<term>
<para>
<see cref="F:System.Web.UI.WebControls.UnitType.Pica" /> </para>
</term>
<description>
<para>pc</para>
</description>
</item>
<item>
<term>
<para>
<see cref="F:System.Web.UI.WebControls.UnitType.Inch" /> </para>
</term>
<description>
<para>in </para>
</description>
</item>
<item>
<term>
<para>
<see cref="F:System.Web.UI.WebControls.UnitType.Mm" /> </para>
</term>
<description>
<para>mm </para>
</description>
</item>
<item>
<term>
<para>
<see cref="F:System.Web.UI.WebControls.UnitType.Cm" /> </para>
</term>
<description>
<para>cm </para>
</description>
</item>
<item>
<term>
<para>
<see cref="F:System.Web.UI.WebControls.UnitType.Percentage" /> </para>
</term>
<description>
<para>%</para>
</description>
</item>
<item>
<term>
<para>
<see cref="F:System.Web.UI.WebControls.UnitType.Em" /> </para>
</term>
<description>
<para>em</para>
</description>
</item>
<item>
<term>
<para>
<see cref="F:System.Web.UI.WebControls.UnitType.Ex" /> </para>
</term>
<description>
<para>ex</para>
</description>
</item>
</list>
<para>Use <paramref name="formatProvider" /> to specify culture-specific information used to format the <see cref="P:System.Web.UI.WebControls.Unit.Value" />. If <paramref name="formatProvider" /> is null, the numeric portion of the string is formatted using a default <see cref="T:System.Globalization.NumberFormatInfo" /> object set for the current culture.</para>
</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Converts a <see cref="T:System.Web.UI.WebControls.Unit" /> to a string equivalent using the specified format provider.</para>
</summary>
<returns>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>A <see cref="T:System.String" /> representing this <see cref="T:System.Web.UI.WebControls.Unit" /> in the format specified by <paramref name="formatProvider" />.</para>
</returns>
</Docs>
</Member>
<Member MemberName="Type">
<MemberSignature Language="C#" Value="public System.Web.UI.WebControls.UnitType Type { get; }" />
<MemberType>Property</MemberType>
<ReturnValue>
<ReturnType>System.Web.UI.WebControls.UnitType</ReturnType>
</ReturnValue>
<Docs>
<value>To be added: an object of type 'UnitType'</value>
<remarks>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Use the <see cref="P:System.Web.UI.WebControls.Unit.Type" /> property to determine the unit of measurement that the <see cref="T:System.Web.UI.WebControls.Unit" /> represents, such as pixels. The <see cref="P:System.Web.UI.WebControls.Unit.Type" /> property is represented by one of the <see cref="T:System.Web.UI.WebControls.UnitType" /> enumeration values.</para>
<block subset="none" type="note">
<para>If <see cref="P:System.Web.UI.WebControls.Unit.IsEmpty" /> property is set to true, the <see cref="F:System.Web.UI.WebControls.UnitType.Point" /> enumeration value is returned.</para>
</block>
</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Gets the unit type of the <see cref="T:System.Web.UI.WebControls.Unit" />.</para>
</summary>
</Docs>
<AssemblyInfo>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
</Member>
<Member MemberName="Value">
<MemberSignature Language="C#" Value="public double Value { get; }" />
<MemberType>Property</MemberType>
<ReturnValue>
<ReturnType>System.Double</ReturnType>
</ReturnValue>
<Docs>
<value>To be added: an object of type 'double'</value>
<remarks>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Use the <see cref="P:System.Web.UI.WebControls.Unit.Value" /> property to determine the length of the <see cref="T:System.Web.UI.WebControls.Unit" />.</para>
</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Gets the length of the <see cref="T:System.Web.UI.WebControls.Unit" />.</para>
</summary>
</Docs>
<AssemblyInfo>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
</Member>
</Members>
</Type>
|