File: grids.xml

package info (click to toggle)
lazarus 2.2.6%2Bdfsg2-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 219,980 kB
  • sloc: pascal: 1,944,919; xml: 357,634; makefile: 270,608; cpp: 57,115; sh: 3,249; java: 609; perl: 297; sql: 222; ansic: 137
file content (16208 lines) | stat: -rw-r--r-- 748,748 bytes parent folder | download
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
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
2086
2087
2088
2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
2144
2145
2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
2164
2165
2166
2167
2168
2169
2170
2171
2172
2173
2174
2175
2176
2177
2178
2179
2180
2181
2182
2183
2184
2185
2186
2187
2188
2189
2190
2191
2192
2193
2194
2195
2196
2197
2198
2199
2200
2201
2202
2203
2204
2205
2206
2207
2208
2209
2210
2211
2212
2213
2214
2215
2216
2217
2218
2219
2220
2221
2222
2223
2224
2225
2226
2227
2228
2229
2230
2231
2232
2233
2234
2235
2236
2237
2238
2239
2240
2241
2242
2243
2244
2245
2246
2247
2248
2249
2250
2251
2252
2253
2254
2255
2256
2257
2258
2259
2260
2261
2262
2263
2264
2265
2266
2267
2268
2269
2270
2271
2272
2273
2274
2275
2276
2277
2278
2279
2280
2281
2282
2283
2284
2285
2286
2287
2288
2289
2290
2291
2292
2293
2294
2295
2296
2297
2298
2299
2300
2301
2302
2303
2304
2305
2306
2307
2308
2309
2310
2311
2312
2313
2314
2315
2316
2317
2318
2319
2320
2321
2322
2323
2324
2325
2326
2327
2328
2329
2330
2331
2332
2333
2334
2335
2336
2337
2338
2339
2340
2341
2342
2343
2344
2345
2346
2347
2348
2349
2350
2351
2352
2353
2354
2355
2356
2357
2358
2359
2360
2361
2362
2363
2364
2365
2366
2367
2368
2369
2370
2371
2372
2373
2374
2375
2376
2377
2378
2379
2380
2381
2382
2383
2384
2385
2386
2387
2388
2389
2390
2391
2392
2393
2394
2395
2396
2397
2398
2399
2400
2401
2402
2403
2404
2405
2406
2407
2408
2409
2410
2411
2412
2413
2414
2415
2416
2417
2418
2419
2420
2421
2422
2423
2424
2425
2426
2427
2428
2429
2430
2431
2432
2433
2434
2435
2436
2437
2438
2439
2440
2441
2442
2443
2444
2445
2446
2447
2448
2449
2450
2451
2452
2453
2454
2455
2456
2457
2458
2459
2460
2461
2462
2463
2464
2465
2466
2467
2468
2469
2470
2471
2472
2473
2474
2475
2476
2477
2478
2479
2480
2481
2482
2483
2484
2485
2486
2487
2488
2489
2490
2491
2492
2493
2494
2495
2496
2497
2498
2499
2500
2501
2502
2503
2504
2505
2506
2507
2508
2509
2510
2511
2512
2513
2514
2515
2516
2517
2518
2519
2520
2521
2522
2523
2524
2525
2526
2527
2528
2529
2530
2531
2532
2533
2534
2535
2536
2537
2538
2539
2540
2541
2542
2543
2544
2545
2546
2547
2548
2549
2550
2551
2552
2553
2554
2555
2556
2557
2558
2559
2560
2561
2562
2563
2564
2565
2566
2567
2568
2569
2570
2571
2572
2573
2574
2575
2576
2577
2578
2579
2580
2581
2582
2583
2584
2585
2586
2587
2588
2589
2590
2591
2592
2593
2594
2595
2596
2597
2598
2599
2600
2601
2602
2603
2604
2605
2606
2607
2608
2609
2610
2611
2612
2613
2614
2615
2616
2617
2618
2619
2620
2621
2622
2623
2624
2625
2626
2627
2628
2629
2630
2631
2632
2633
2634
2635
2636
2637
2638
2639
2640
2641
2642
2643
2644
2645
2646
2647
2648
2649
2650
2651
2652
2653
2654
2655
2656
2657
2658
2659
2660
2661
2662
2663
2664
2665
2666
2667
2668
2669
2670
2671
2672
2673
2674
2675
2676
2677
2678
2679
2680
2681
2682
2683
2684
2685
2686
2687
2688
2689
2690
2691
2692
2693
2694
2695
2696
2697
2698
2699
2700
2701
2702
2703
2704
2705
2706
2707
2708
2709
2710
2711
2712
2713
2714
2715
2716
2717
2718
2719
2720
2721
2722
2723
2724
2725
2726
2727
2728
2729
2730
2731
2732
2733
2734
2735
2736
2737
2738
2739
2740
2741
2742
2743
2744
2745
2746
2747
2748
2749
2750
2751
2752
2753
2754
2755
2756
2757
2758
2759
2760
2761
2762
2763
2764
2765
2766
2767
2768
2769
2770
2771
2772
2773
2774
2775
2776
2777
2778
2779
2780
2781
2782
2783
2784
2785
2786
2787
2788
2789
2790
2791
2792
2793
2794
2795
2796
2797
2798
2799
2800
2801
2802
2803
2804
2805
2806
2807
2808
2809
2810
2811
2812
2813
2814
2815
2816
2817
2818
2819
2820
2821
2822
2823
2824
2825
2826
2827
2828
2829
2830
2831
2832
2833
2834
2835
2836
2837
2838
2839
2840
2841
2842
2843
2844
2845
2846
2847
2848
2849
2850
2851
2852
2853
2854
2855
2856
2857
2858
2859
2860
2861
2862
2863
2864
2865
2866
2867
2868
2869
2870
2871
2872
2873
2874
2875
2876
2877
2878
2879
2880
2881
2882
2883
2884
2885
2886
2887
2888
2889
2890
2891
2892
2893
2894
2895
2896
2897
2898
2899
2900
2901
2902
2903
2904
2905
2906
2907
2908
2909
2910
2911
2912
2913
2914
2915
2916
2917
2918
2919
2920
2921
2922
2923
2924
2925
2926
2927
2928
2929
2930
2931
2932
2933
2934
2935
2936
2937
2938
2939
2940
2941
2942
2943
2944
2945
2946
2947
2948
2949
2950
2951
2952
2953
2954
2955
2956
2957
2958
2959
2960
2961
2962
2963
2964
2965
2966
2967
2968
2969
2970
2971
2972
2973
2974
2975
2976
2977
2978
2979
2980
2981
2982
2983
2984
2985
2986
2987
2988
2989
2990
2991
2992
2993
2994
2995
2996
2997
2998
2999
3000
3001
3002
3003
3004
3005
3006
3007
3008
3009
3010
3011
3012
3013
3014
3015
3016
3017
3018
3019
3020
3021
3022
3023
3024
3025
3026
3027
3028
3029
3030
3031
3032
3033
3034
3035
3036
3037
3038
3039
3040
3041
3042
3043
3044
3045
3046
3047
3048
3049
3050
3051
3052
3053
3054
3055
3056
3057
3058
3059
3060
3061
3062
3063
3064
3065
3066
3067
3068
3069
3070
3071
3072
3073
3074
3075
3076
3077
3078
3079
3080
3081
3082
3083
3084
3085
3086
3087
3088
3089
3090
3091
3092
3093
3094
3095
3096
3097
3098
3099
3100
3101
3102
3103
3104
3105
3106
3107
3108
3109
3110
3111
3112
3113
3114
3115
3116
3117
3118
3119
3120
3121
3122
3123
3124
3125
3126
3127
3128
3129
3130
3131
3132
3133
3134
3135
3136
3137
3138
3139
3140
3141
3142
3143
3144
3145
3146
3147
3148
3149
3150
3151
3152
3153
3154
3155
3156
3157
3158
3159
3160
3161
3162
3163
3164
3165
3166
3167
3168
3169
3170
3171
3172
3173
3174
3175
3176
3177
3178
3179
3180
3181
3182
3183
3184
3185
3186
3187
3188
3189
3190
3191
3192
3193
3194
3195
3196
3197
3198
3199
3200
3201
3202
3203
3204
3205
3206
3207
3208
3209
3210
3211
3212
3213
3214
3215
3216
3217
3218
3219
3220
3221
3222
3223
3224
3225
3226
3227
3228
3229
3230
3231
3232
3233
3234
3235
3236
3237
3238
3239
3240
3241
3242
3243
3244
3245
3246
3247
3248
3249
3250
3251
3252
3253
3254
3255
3256
3257
3258
3259
3260
3261
3262
3263
3264
3265
3266
3267
3268
3269
3270
3271
3272
3273
3274
3275
3276
3277
3278
3279
3280
3281
3282
3283
3284
3285
3286
3287
3288
3289
3290
3291
3292
3293
3294
3295
3296
3297
3298
3299
3300
3301
3302
3303
3304
3305
3306
3307
3308
3309
3310
3311
3312
3313
3314
3315
3316
3317
3318
3319
3320
3321
3322
3323
3324
3325
3326
3327
3328
3329
3330
3331
3332
3333
3334
3335
3336
3337
3338
3339
3340
3341
3342
3343
3344
3345
3346
3347
3348
3349
3350
3351
3352
3353
3354
3355
3356
3357
3358
3359
3360
3361
3362
3363
3364
3365
3366
3367
3368
3369
3370
3371
3372
3373
3374
3375
3376
3377
3378
3379
3380
3381
3382
3383
3384
3385
3386
3387
3388
3389
3390
3391
3392
3393
3394
3395
3396
3397
3398
3399
3400
3401
3402
3403
3404
3405
3406
3407
3408
3409
3410
3411
3412
3413
3414
3415
3416
3417
3418
3419
3420
3421
3422
3423
3424
3425
3426
3427
3428
3429
3430
3431
3432
3433
3434
3435
3436
3437
3438
3439
3440
3441
3442
3443
3444
3445
3446
3447
3448
3449
3450
3451
3452
3453
3454
3455
3456
3457
3458
3459
3460
3461
3462
3463
3464
3465
3466
3467
3468
3469
3470
3471
3472
3473
3474
3475
3476
3477
3478
3479
3480
3481
3482
3483
3484
3485
3486
3487
3488
3489
3490
3491
3492
3493
3494
3495
3496
3497
3498
3499
3500
3501
3502
3503
3504
3505
3506
3507
3508
3509
3510
3511
3512
3513
3514
3515
3516
3517
3518
3519
3520
3521
3522
3523
3524
3525
3526
3527
3528
3529
3530
3531
3532
3533
3534
3535
3536
3537
3538
3539
3540
3541
3542
3543
3544
3545
3546
3547
3548
3549
3550
3551
3552
3553
3554
3555
3556
3557
3558
3559
3560
3561
3562
3563
3564
3565
3566
3567
3568
3569
3570
3571
3572
3573
3574
3575
3576
3577
3578
3579
3580
3581
3582
3583
3584
3585
3586
3587
3588
3589
3590
3591
3592
3593
3594
3595
3596
3597
3598
3599
3600
3601
3602
3603
3604
3605
3606
3607
3608
3609
3610
3611
3612
3613
3614
3615
3616
3617
3618
3619
3620
3621
3622
3623
3624
3625
3626
3627
3628
3629
3630
3631
3632
3633
3634
3635
3636
3637
3638
3639
3640
3641
3642
3643
3644
3645
3646
3647
3648
3649
3650
3651
3652
3653
3654
3655
3656
3657
3658
3659
3660
3661
3662
3663
3664
3665
3666
3667
3668
3669
3670
3671
3672
3673
3674
3675
3676
3677
3678
3679
3680
3681
3682
3683
3684
3685
3686
3687
3688
3689
3690
3691
3692
3693
3694
3695
3696
3697
3698
3699
3700
3701
3702
3703
3704
3705
3706
3707
3708
3709
3710
3711
3712
3713
3714
3715
3716
3717
3718
3719
3720
3721
3722
3723
3724
3725
3726
3727
3728
3729
3730
3731
3732
3733
3734
3735
3736
3737
3738
3739
3740
3741
3742
3743
3744
3745
3746
3747
3748
3749
3750
3751
3752
3753
3754
3755
3756
3757
3758
3759
3760
3761
3762
3763
3764
3765
3766
3767
3768
3769
3770
3771
3772
3773
3774
3775
3776
3777
3778
3779
3780
3781
3782
3783
3784
3785
3786
3787
3788
3789
3790
3791
3792
3793
3794
3795
3796
3797
3798
3799
3800
3801
3802
3803
3804
3805
3806
3807
3808
3809
3810
3811
3812
3813
3814
3815
3816
3817
3818
3819
3820
3821
3822
3823
3824
3825
3826
3827
3828
3829
3830
3831
3832
3833
3834
3835
3836
3837
3838
3839
3840
3841
3842
3843
3844
3845
3846
3847
3848
3849
3850
3851
3852
3853
3854
3855
3856
3857
3858
3859
3860
3861
3862
3863
3864
3865
3866
3867
3868
3869
3870
3871
3872
3873
3874
3875
3876
3877
3878
3879
3880
3881
3882
3883
3884
3885
3886
3887
3888
3889
3890
3891
3892
3893
3894
3895
3896
3897
3898
3899
3900
3901
3902
3903
3904
3905
3906
3907
3908
3909
3910
3911
3912
3913
3914
3915
3916
3917
3918
3919
3920
3921
3922
3923
3924
3925
3926
3927
3928
3929
3930
3931
3932
3933
3934
3935
3936
3937
3938
3939
3940
3941
3942
3943
3944
3945
3946
3947
3948
3949
3950
3951
3952
3953
3954
3955
3956
3957
3958
3959
3960
3961
3962
3963
3964
3965
3966
3967
3968
3969
3970
3971
3972
3973
3974
3975
3976
3977
3978
3979
3980
3981
3982
3983
3984
3985
3986
3987
3988
3989
3990
3991
3992
3993
3994
3995
3996
3997
3998
3999
4000
4001
4002
4003
4004
4005
4006
4007
4008
4009
4010
4011
4012
4013
4014
4015
4016
4017
4018
4019
4020
4021
4022
4023
4024
4025
4026
4027
4028
4029
4030
4031
4032
4033
4034
4035
4036
4037
4038
4039
4040
4041
4042
4043
4044
4045
4046
4047
4048
4049
4050
4051
4052
4053
4054
4055
4056
4057
4058
4059
4060
4061
4062
4063
4064
4065
4066
4067
4068
4069
4070
4071
4072
4073
4074
4075
4076
4077
4078
4079
4080
4081
4082
4083
4084
4085
4086
4087
4088
4089
4090
4091
4092
4093
4094
4095
4096
4097
4098
4099
4100
4101
4102
4103
4104
4105
4106
4107
4108
4109
4110
4111
4112
4113
4114
4115
4116
4117
4118
4119
4120
4121
4122
4123
4124
4125
4126
4127
4128
4129
4130
4131
4132
4133
4134
4135
4136
4137
4138
4139
4140
4141
4142
4143
4144
4145
4146
4147
4148
4149
4150
4151
4152
4153
4154
4155
4156
4157
4158
4159
4160
4161
4162
4163
4164
4165
4166
4167
4168
4169
4170
4171
4172
4173
4174
4175
4176
4177
4178
4179
4180
4181
4182
4183
4184
4185
4186
4187
4188
4189
4190
4191
4192
4193
4194
4195
4196
4197
4198
4199
4200
4201
4202
4203
4204
4205
4206
4207
4208
4209
4210
4211
4212
4213
4214
4215
4216
4217
4218
4219
4220
4221
4222
4223
4224
4225
4226
4227
4228
4229
4230
4231
4232
4233
4234
4235
4236
4237
4238
4239
4240
4241
4242
4243
4244
4245
4246
4247
4248
4249
4250
4251
4252
4253
4254
4255
4256
4257
4258
4259
4260
4261
4262
4263
4264
4265
4266
4267
4268
4269
4270
4271
4272
4273
4274
4275
4276
4277
4278
4279
4280
4281
4282
4283
4284
4285
4286
4287
4288
4289
4290
4291
4292
4293
4294
4295
4296
4297
4298
4299
4300
4301
4302
4303
4304
4305
4306
4307
4308
4309
4310
4311
4312
4313
4314
4315
4316
4317
4318
4319
4320
4321
4322
4323
4324
4325
4326
4327
4328
4329
4330
4331
4332
4333
4334
4335
4336
4337
4338
4339
4340
4341
4342
4343
4344
4345
4346
4347
4348
4349
4350
4351
4352
4353
4354
4355
4356
4357
4358
4359
4360
4361
4362
4363
4364
4365
4366
4367
4368
4369
4370
4371
4372
4373
4374
4375
4376
4377
4378
4379
4380
4381
4382
4383
4384
4385
4386
4387
4388
4389
4390
4391
4392
4393
4394
4395
4396
4397
4398
4399
4400
4401
4402
4403
4404
4405
4406
4407
4408
4409
4410
4411
4412
4413
4414
4415
4416
4417
4418
4419
4420
4421
4422
4423
4424
4425
4426
4427
4428
4429
4430
4431
4432
4433
4434
4435
4436
4437
4438
4439
4440
4441
4442
4443
4444
4445
4446
4447
4448
4449
4450
4451
4452
4453
4454
4455
4456
4457
4458
4459
4460
4461
4462
4463
4464
4465
4466
4467
4468
4469
4470
4471
4472
4473
4474
4475
4476
4477
4478
4479
4480
4481
4482
4483
4484
4485
4486
4487
4488
4489
4490
4491
4492
4493
4494
4495
4496
4497
4498
4499
4500
4501
4502
4503
4504
4505
4506
4507
4508
4509
4510
4511
4512
4513
4514
4515
4516
4517
4518
4519
4520
4521
4522
4523
4524
4525
4526
4527
4528
4529
4530
4531
4532
4533
4534
4535
4536
4537
4538
4539
4540
4541
4542
4543
4544
4545
4546
4547
4548
4549
4550
4551
4552
4553
4554
4555
4556
4557
4558
4559
4560
4561
4562
4563
4564
4565
4566
4567
4568
4569
4570
4571
4572
4573
4574
4575
4576
4577
4578
4579
4580
4581
4582
4583
4584
4585
4586
4587
4588
4589
4590
4591
4592
4593
4594
4595
4596
4597
4598
4599
4600
4601
4602
4603
4604
4605
4606
4607
4608
4609
4610
4611
4612
4613
4614
4615
4616
4617
4618
4619
4620
4621
4622
4623
4624
4625
4626
4627
4628
4629
4630
4631
4632
4633
4634
4635
4636
4637
4638
4639
4640
4641
4642
4643
4644
4645
4646
4647
4648
4649
4650
4651
4652
4653
4654
4655
4656
4657
4658
4659
4660
4661
4662
4663
4664
4665
4666
4667
4668
4669
4670
4671
4672
4673
4674
4675
4676
4677
4678
4679
4680
4681
4682
4683
4684
4685
4686
4687
4688
4689
4690
4691
4692
4693
4694
4695
4696
4697
4698
4699
4700
4701
4702
4703
4704
4705
4706
4707
4708
4709
4710
4711
4712
4713
4714
4715
4716
4717
4718
4719
4720
4721
4722
4723
4724
4725
4726
4727
4728
4729
4730
4731
4732
4733
4734
4735
4736
4737
4738
4739
4740
4741
4742
4743
4744
4745
4746
4747
4748
4749
4750
4751
4752
4753
4754
4755
4756
4757
4758
4759
4760
4761
4762
4763
4764
4765
4766
4767
4768
4769
4770
4771
4772
4773
4774
4775
4776
4777
4778
4779
4780
4781
4782
4783
4784
4785
4786
4787
4788
4789
4790
4791
4792
4793
4794
4795
4796
4797
4798
4799
4800
4801
4802
4803
4804
4805
4806
4807
4808
4809
4810
4811
4812
4813
4814
4815
4816
4817
4818
4819
4820
4821
4822
4823
4824
4825
4826
4827
4828
4829
4830
4831
4832
4833
4834
4835
4836
4837
4838
4839
4840
4841
4842
4843
4844
4845
4846
4847
4848
4849
4850
4851
4852
4853
4854
4855
4856
4857
4858
4859
4860
4861
4862
4863
4864
4865
4866
4867
4868
4869
4870
4871
4872
4873
4874
4875
4876
4877
4878
4879
4880
4881
4882
4883
4884
4885
4886
4887
4888
4889
4890
4891
4892
4893
4894
4895
4896
4897
4898
4899
4900
4901
4902
4903
4904
4905
4906
4907
4908
4909
4910
4911
4912
4913
4914
4915
4916
4917
4918
4919
4920
4921
4922
4923
4924
4925
4926
4927
4928
4929
4930
4931
4932
4933
4934
4935
4936
4937
4938
4939
4940
4941
4942
4943
4944
4945
4946
4947
4948
4949
4950
4951
4952
4953
4954
4955
4956
4957
4958
4959
4960
4961
4962
4963
4964
4965
4966
4967
4968
4969
4970
4971
4972
4973
4974
4975
4976
4977
4978
4979
4980
4981
4982
4983
4984
4985
4986
4987
4988
4989
4990
4991
4992
4993
4994
4995
4996
4997
4998
4999
5000
5001
5002
5003
5004
5005
5006
5007
5008
5009
5010
5011
5012
5013
5014
5015
5016
5017
5018
5019
5020
5021
5022
5023
5024
5025
5026
5027
5028
5029
5030
5031
5032
5033
5034
5035
5036
5037
5038
5039
5040
5041
5042
5043
5044
5045
5046
5047
5048
5049
5050
5051
5052
5053
5054
5055
5056
5057
5058
5059
5060
5061
5062
5063
5064
5065
5066
5067
5068
5069
5070
5071
5072
5073
5074
5075
5076
5077
5078
5079
5080
5081
5082
5083
5084
5085
5086
5087
5088
5089
5090
5091
5092
5093
5094
5095
5096
5097
5098
5099
5100
5101
5102
5103
5104
5105
5106
5107
5108
5109
5110
5111
5112
5113
5114
5115
5116
5117
5118
5119
5120
5121
5122
5123
5124
5125
5126
5127
5128
5129
5130
5131
5132
5133
5134
5135
5136
5137
5138
5139
5140
5141
5142
5143
5144
5145
5146
5147
5148
5149
5150
5151
5152
5153
5154
5155
5156
5157
5158
5159
5160
5161
5162
5163
5164
5165
5166
5167
5168
5169
5170
5171
5172
5173
5174
5175
5176
5177
5178
5179
5180
5181
5182
5183
5184
5185
5186
5187
5188
5189
5190
5191
5192
5193
5194
5195
5196
5197
5198
5199
5200
5201
5202
5203
5204
5205
5206
5207
5208
5209
5210
5211
5212
5213
5214
5215
5216
5217
5218
5219
5220
5221
5222
5223
5224
5225
5226
5227
5228
5229
5230
5231
5232
5233
5234
5235
5236
5237
5238
5239
5240
5241
5242
5243
5244
5245
5246
5247
5248
5249
5250
5251
5252
5253
5254
5255
5256
5257
5258
5259
5260
5261
5262
5263
5264
5265
5266
5267
5268
5269
5270
5271
5272
5273
5274
5275
5276
5277
5278
5279
5280
5281
5282
5283
5284
5285
5286
5287
5288
5289
5290
5291
5292
5293
5294
5295
5296
5297
5298
5299
5300
5301
5302
5303
5304
5305
5306
5307
5308
5309
5310
5311
5312
5313
5314
5315
5316
5317
5318
5319
5320
5321
5322
5323
5324
5325
5326
5327
5328
5329
5330
5331
5332
5333
5334
5335
5336
5337
5338
5339
5340
5341
5342
5343
5344
5345
5346
5347
5348
5349
5350
5351
5352
5353
5354
5355
5356
5357
5358
5359
5360
5361
5362
5363
5364
5365
5366
5367
5368
5369
5370
5371
5372
5373
5374
5375
5376
5377
5378
5379
5380
5381
5382
5383
5384
5385
5386
5387
5388
5389
5390
5391
5392
5393
5394
5395
5396
5397
5398
5399
5400
5401
5402
5403
5404
5405
5406
5407
5408
5409
5410
5411
5412
5413
5414
5415
5416
5417
5418
5419
5420
5421
5422
5423
5424
5425
5426
5427
5428
5429
5430
5431
5432
5433
5434
5435
5436
5437
5438
5439
5440
5441
5442
5443
5444
5445
5446
5447
5448
5449
5450
5451
5452
5453
5454
5455
5456
5457
5458
5459
5460
5461
5462
5463
5464
5465
5466
5467
5468
5469
5470
5471
5472
5473
5474
5475
5476
5477
5478
5479
5480
5481
5482
5483
5484
5485
5486
5487
5488
5489
5490
5491
5492
5493
5494
5495
5496
5497
5498
5499
5500
5501
5502
5503
5504
5505
5506
5507
5508
5509
5510
5511
5512
5513
5514
5515
5516
5517
5518
5519
5520
5521
5522
5523
5524
5525
5526
5527
5528
5529
5530
5531
5532
5533
5534
5535
5536
5537
5538
5539
5540
5541
5542
5543
5544
5545
5546
5547
5548
5549
5550
5551
5552
5553
5554
5555
5556
5557
5558
5559
5560
5561
5562
5563
5564
5565
5566
5567
5568
5569
5570
5571
5572
5573
5574
5575
5576
5577
5578
5579
5580
5581
5582
5583
5584
5585
5586
5587
5588
5589
5590
5591
5592
5593
5594
5595
5596
5597
5598
5599
5600
5601
5602
5603
5604
5605
5606
5607
5608
5609
5610
5611
5612
5613
5614
5615
5616
5617
5618
5619
5620
5621
5622
5623
5624
5625
5626
5627
5628
5629
5630
5631
5632
5633
5634
5635
5636
5637
5638
5639
5640
5641
5642
5643
5644
5645
5646
5647
5648
5649
5650
5651
5652
5653
5654
5655
5656
5657
5658
5659
5660
5661
5662
5663
5664
5665
5666
5667
5668
5669
5670
5671
5672
5673
5674
5675
5676
5677
5678
5679
5680
5681
5682
5683
5684
5685
5686
5687
5688
5689
5690
5691
5692
5693
5694
5695
5696
5697
5698
5699
5700
5701
5702
5703
5704
5705
5706
5707
5708
5709
5710
5711
5712
5713
5714
5715
5716
5717
5718
5719
5720
5721
5722
5723
5724
5725
5726
5727
5728
5729
5730
5731
5732
5733
5734
5735
5736
5737
5738
5739
5740
5741
5742
5743
5744
5745
5746
5747
5748
5749
5750
5751
5752
5753
5754
5755
5756
5757
5758
5759
5760
5761
5762
5763
5764
5765
5766
5767
5768
5769
5770
5771
5772
5773
5774
5775
5776
5777
5778
5779
5780
5781
5782
5783
5784
5785
5786
5787
5788
5789
5790
5791
5792
5793
5794
5795
5796
5797
5798
5799
5800
5801
5802
5803
5804
5805
5806
5807
5808
5809
5810
5811
5812
5813
5814
5815
5816
5817
5818
5819
5820
5821
5822
5823
5824
5825
5826
5827
5828
5829
5830
5831
5832
5833
5834
5835
5836
5837
5838
5839
5840
5841
5842
5843
5844
5845
5846
5847
5848
5849
5850
5851
5852
5853
5854
5855
5856
5857
5858
5859
5860
5861
5862
5863
5864
5865
5866
5867
5868
5869
5870
5871
5872
5873
5874
5875
5876
5877
5878
5879
5880
5881
5882
5883
5884
5885
5886
5887
5888
5889
5890
5891
5892
5893
5894
5895
5896
5897
5898
5899
5900
5901
5902
5903
5904
5905
5906
5907
5908
5909
5910
5911
5912
5913
5914
5915
5916
5917
5918
5919
5920
5921
5922
5923
5924
5925
5926
5927
5928
5929
5930
5931
5932
5933
5934
5935
5936
5937
5938
5939
5940
5941
5942
5943
5944
5945
5946
5947
5948
5949
5950
5951
5952
5953
5954
5955
5956
5957
5958
5959
5960
5961
5962
5963
5964
5965
5966
5967
5968
5969
5970
5971
5972
5973
5974
5975
5976
5977
5978
5979
5980
5981
5982
5983
5984
5985
5986
5987
5988
5989
5990
5991
5992
5993
5994
5995
5996
5997
5998
5999
6000
6001
6002
6003
6004
6005
6006
6007
6008
6009
6010
6011
6012
6013
6014
6015
6016
6017
6018
6019
6020
6021
6022
6023
6024
6025
6026
6027
6028
6029
6030
6031
6032
6033
6034
6035
6036
6037
6038
6039
6040
6041
6042
6043
6044
6045
6046
6047
6048
6049
6050
6051
6052
6053
6054
6055
6056
6057
6058
6059
6060
6061
6062
6063
6064
6065
6066
6067
6068
6069
6070
6071
6072
6073
6074
6075
6076
6077
6078
6079
6080
6081
6082
6083
6084
6085
6086
6087
6088
6089
6090
6091
6092
6093
6094
6095
6096
6097
6098
6099
6100
6101
6102
6103
6104
6105
6106
6107
6108
6109
6110
6111
6112
6113
6114
6115
6116
6117
6118
6119
6120
6121
6122
6123
6124
6125
6126
6127
6128
6129
6130
6131
6132
6133
6134
6135
6136
6137
6138
6139
6140
6141
6142
6143
6144
6145
6146
6147
6148
6149
6150
6151
6152
6153
6154
6155
6156
6157
6158
6159
6160
6161
6162
6163
6164
6165
6166
6167
6168
6169
6170
6171
6172
6173
6174
6175
6176
6177
6178
6179
6180
6181
6182
6183
6184
6185
6186
6187
6188
6189
6190
6191
6192
6193
6194
6195
6196
6197
6198
6199
6200
6201
6202
6203
6204
6205
6206
6207
6208
6209
6210
6211
6212
6213
6214
6215
6216
6217
6218
6219
6220
6221
6222
6223
6224
6225
6226
6227
6228
6229
6230
6231
6232
6233
6234
6235
6236
6237
6238
6239
6240
6241
6242
6243
6244
6245
6246
6247
6248
6249
6250
6251
6252
6253
6254
6255
6256
6257
6258
6259
6260
6261
6262
6263
6264
6265
6266
6267
6268
6269
6270
6271
6272
6273
6274
6275
6276
6277
6278
6279
6280
6281
6282
6283
6284
6285
6286
6287
6288
6289
6290
6291
6292
6293
6294
6295
6296
6297
6298
6299
6300
6301
6302
6303
6304
6305
6306
6307
6308
6309
6310
6311
6312
6313
6314
6315
6316
6317
6318
6319
6320
6321
6322
6323
6324
6325
6326
6327
6328
6329
6330
6331
6332
6333
6334
6335
6336
6337
6338
6339
6340
6341
6342
6343
6344
6345
6346
6347
6348
6349
6350
6351
6352
6353
6354
6355
6356
6357
6358
6359
6360
6361
6362
6363
6364
6365
6366
6367
6368
6369
6370
6371
6372
6373
6374
6375
6376
6377
6378
6379
6380
6381
6382
6383
6384
6385
6386
6387
6388
6389
6390
6391
6392
6393
6394
6395
6396
6397
6398
6399
6400
6401
6402
6403
6404
6405
6406
6407
6408
6409
6410
6411
6412
6413
6414
6415
6416
6417
6418
6419
6420
6421
6422
6423
6424
6425
6426
6427
6428
6429
6430
6431
6432
6433
6434
6435
6436
6437
6438
6439
6440
6441
6442
6443
6444
6445
6446
6447
6448
6449
6450
6451
6452
6453
6454
6455
6456
6457
6458
6459
6460
6461
6462
6463
6464
6465
6466
6467
6468
6469
6470
6471
6472
6473
6474
6475
6476
6477
6478
6479
6480
6481
6482
6483
6484
6485
6486
6487
6488
6489
6490
6491
6492
6493
6494
6495
6496
6497
6498
6499
6500
6501
6502
6503
6504
6505
6506
6507
6508
6509
6510
6511
6512
6513
6514
6515
6516
6517
6518
6519
6520
6521
6522
6523
6524
6525
6526
6527
6528
6529
6530
6531
6532
6533
6534
6535
6536
6537
6538
6539
6540
6541
6542
6543
6544
6545
6546
6547
6548
6549
6550
6551
6552
6553
6554
6555
6556
6557
6558
6559
6560
6561
6562
6563
6564
6565
6566
6567
6568
6569
6570
6571
6572
6573
6574
6575
6576
6577
6578
6579
6580
6581
6582
6583
6584
6585
6586
6587
6588
6589
6590
6591
6592
6593
6594
6595
6596
6597
6598
6599
6600
6601
6602
6603
6604
6605
6606
6607
6608
6609
6610
6611
6612
6613
6614
6615
6616
6617
6618
6619
6620
6621
6622
6623
6624
6625
6626
6627
6628
6629
6630
6631
6632
6633
6634
6635
6636
6637
6638
6639
6640
6641
6642
6643
6644
6645
6646
6647
6648
6649
6650
6651
6652
6653
6654
6655
6656
6657
6658
6659
6660
6661
6662
6663
6664
6665
6666
6667
6668
6669
6670
6671
6672
6673
6674
6675
6676
6677
6678
6679
6680
6681
6682
6683
6684
6685
6686
6687
6688
6689
6690
6691
6692
6693
6694
6695
6696
6697
6698
6699
6700
6701
6702
6703
6704
6705
6706
6707
6708
6709
6710
6711
6712
6713
6714
6715
6716
6717
6718
6719
6720
6721
6722
6723
6724
6725
6726
6727
6728
6729
6730
6731
6732
6733
6734
6735
6736
6737
6738
6739
6740
6741
6742
6743
6744
6745
6746
6747
6748
6749
6750
6751
6752
6753
6754
6755
6756
6757
6758
6759
6760
6761
6762
6763
6764
6765
6766
6767
6768
6769
6770
6771
6772
6773
6774
6775
6776
6777
6778
6779
6780
6781
6782
6783
6784
6785
6786
6787
6788
6789
6790
6791
6792
6793
6794
6795
6796
6797
6798
6799
6800
6801
6802
6803
6804
6805
6806
6807
6808
6809
6810
6811
6812
6813
6814
6815
6816
6817
6818
6819
6820
6821
6822
6823
6824
6825
6826
6827
6828
6829
6830
6831
6832
6833
6834
6835
6836
6837
6838
6839
6840
6841
6842
6843
6844
6845
6846
6847
6848
6849
6850
6851
6852
6853
6854
6855
6856
6857
6858
6859
6860
6861
6862
6863
6864
6865
6866
6867
6868
6869
6870
6871
6872
6873
6874
6875
6876
6877
6878
6879
6880
6881
6882
6883
6884
6885
6886
6887
6888
6889
6890
6891
6892
6893
6894
6895
6896
6897
6898
6899
6900
6901
6902
6903
6904
6905
6906
6907
6908
6909
6910
6911
6912
6913
6914
6915
6916
6917
6918
6919
6920
6921
6922
6923
6924
6925
6926
6927
6928
6929
6930
6931
6932
6933
6934
6935
6936
6937
6938
6939
6940
6941
6942
6943
6944
6945
6946
6947
6948
6949
6950
6951
6952
6953
6954
6955
6956
6957
6958
6959
6960
6961
6962
6963
6964
6965
6966
6967
6968
6969
6970
6971
6972
6973
6974
6975
6976
6977
6978
6979
6980
6981
6982
6983
6984
6985
6986
6987
6988
6989
6990
6991
6992
6993
6994
6995
6996
6997
6998
6999
7000
7001
7002
7003
7004
7005
7006
7007
7008
7009
7010
7011
7012
7013
7014
7015
7016
7017
7018
7019
7020
7021
7022
7023
7024
7025
7026
7027
7028
7029
7030
7031
7032
7033
7034
7035
7036
7037
7038
7039
7040
7041
7042
7043
7044
7045
7046
7047
7048
7049
7050
7051
7052
7053
7054
7055
7056
7057
7058
7059
7060
7061
7062
7063
7064
7065
7066
7067
7068
7069
7070
7071
7072
7073
7074
7075
7076
7077
7078
7079
7080
7081
7082
7083
7084
7085
7086
7087
7088
7089
7090
7091
7092
7093
7094
7095
7096
7097
7098
7099
7100
7101
7102
7103
7104
7105
7106
7107
7108
7109
7110
7111
7112
7113
7114
7115
7116
7117
7118
7119
7120
7121
7122
7123
7124
7125
7126
7127
7128
7129
7130
7131
7132
7133
7134
7135
7136
7137
7138
7139
7140
7141
7142
7143
7144
7145
7146
7147
7148
7149
7150
7151
7152
7153
7154
7155
7156
7157
7158
7159
7160
7161
7162
7163
7164
7165
7166
7167
7168
7169
7170
7171
7172
7173
7174
7175
7176
7177
7178
7179
7180
7181
7182
7183
7184
7185
7186
7187
7188
7189
7190
7191
7192
7193
7194
7195
7196
7197
7198
7199
7200
7201
7202
7203
7204
7205
7206
7207
7208
7209
7210
7211
7212
7213
7214
7215
7216
7217
7218
7219
7220
7221
7222
7223
7224
7225
7226
7227
7228
7229
7230
7231
7232
7233
7234
7235
7236
7237
7238
7239
7240
7241
7242
7243
7244
7245
7246
7247
7248
7249
7250
7251
7252
7253
7254
7255
7256
7257
7258
7259
7260
7261
7262
7263
7264
7265
7266
7267
7268
7269
7270
7271
7272
7273
7274
7275
7276
7277
7278
7279
7280
7281
7282
7283
7284
7285
7286
7287
7288
7289
7290
7291
7292
7293
7294
7295
7296
7297
7298
7299
7300
7301
7302
7303
7304
7305
7306
7307
7308
7309
7310
7311
7312
7313
7314
7315
7316
7317
7318
7319
7320
7321
7322
7323
7324
7325
7326
7327
7328
7329
7330
7331
7332
7333
7334
7335
7336
7337
7338
7339
7340
7341
7342
7343
7344
7345
7346
7347
7348
7349
7350
7351
7352
7353
7354
7355
7356
7357
7358
7359
7360
7361
7362
7363
7364
7365
7366
7367
7368
7369
7370
7371
7372
7373
7374
7375
7376
7377
7378
7379
7380
7381
7382
7383
7384
7385
7386
7387
7388
7389
7390
7391
7392
7393
7394
7395
7396
7397
7398
7399
7400
7401
7402
7403
7404
7405
7406
7407
7408
7409
7410
7411
7412
7413
7414
7415
7416
7417
7418
7419
7420
7421
7422
7423
7424
7425
7426
7427
7428
7429
7430
7431
7432
7433
7434
7435
7436
7437
7438
7439
7440
7441
7442
7443
7444
7445
7446
7447
7448
7449
7450
7451
7452
7453
7454
7455
7456
7457
7458
7459
7460
7461
7462
7463
7464
7465
7466
7467
7468
7469
7470
7471
7472
7473
7474
7475
7476
7477
7478
7479
7480
7481
7482
7483
7484
7485
7486
7487
7488
7489
7490
7491
7492
7493
7494
7495
7496
7497
7498
7499
7500
7501
7502
7503
7504
7505
7506
7507
7508
7509
7510
7511
7512
7513
7514
7515
7516
7517
7518
7519
7520
7521
7522
7523
7524
7525
7526
7527
7528
7529
7530
7531
7532
7533
7534
7535
7536
7537
7538
7539
7540
7541
7542
7543
7544
7545
7546
7547
7548
7549
7550
7551
7552
7553
7554
7555
7556
7557
7558
7559
7560
7561
7562
7563
7564
7565
7566
7567
7568
7569
7570
7571
7572
7573
7574
7575
7576
7577
7578
7579
7580
7581
7582
7583
7584
7585
7586
7587
7588
7589
7590
7591
7592
7593
7594
7595
7596
7597
7598
7599
7600
7601
7602
7603
7604
7605
7606
7607
7608
7609
7610
7611
7612
7613
7614
7615
7616
7617
7618
7619
7620
7621
7622
7623
7624
7625
7626
7627
7628
7629
7630
7631
7632
7633
7634
7635
7636
7637
7638
7639
7640
7641
7642
7643
7644
7645
7646
7647
7648
7649
7650
7651
7652
7653
7654
7655
7656
7657
7658
7659
7660
7661
7662
7663
7664
7665
7666
7667
7668
7669
7670
7671
7672
7673
7674
7675
7676
7677
7678
7679
7680
7681
7682
7683
7684
7685
7686
7687
7688
7689
7690
7691
7692
7693
7694
7695
7696
7697
7698
7699
7700
7701
7702
7703
7704
7705
7706
7707
7708
7709
7710
7711
7712
7713
7714
7715
7716
7717
7718
7719
7720
7721
7722
7723
7724
7725
7726
7727
7728
7729
7730
7731
7732
7733
7734
7735
7736
7737
7738
7739
7740
7741
7742
7743
7744
7745
7746
7747
7748
7749
7750
7751
7752
7753
7754
7755
7756
7757
7758
7759
7760
7761
7762
7763
7764
7765
7766
7767
7768
7769
7770
7771
7772
7773
7774
7775
7776
7777
7778
7779
7780
7781
7782
7783
7784
7785
7786
7787
7788
7789
7790
7791
7792
7793
7794
7795
7796
7797
7798
7799
7800
7801
7802
7803
7804
7805
7806
7807
7808
7809
7810
7811
7812
7813
7814
7815
7816
7817
7818
7819
7820
7821
7822
7823
7824
7825
7826
7827
7828
7829
7830
7831
7832
7833
7834
7835
7836
7837
7838
7839
7840
7841
7842
7843
7844
7845
7846
7847
7848
7849
7850
7851
7852
7853
7854
7855
7856
7857
7858
7859
7860
7861
7862
7863
7864
7865
7866
7867
7868
7869
7870
7871
7872
7873
7874
7875
7876
7877
7878
7879
7880
7881
7882
7883
7884
7885
7886
7887
7888
7889
7890
7891
7892
7893
7894
7895
7896
7897
7898
7899
7900
7901
7902
7903
7904
7905
7906
7907
7908
7909
7910
7911
7912
7913
7914
7915
7916
7917
7918
7919
7920
7921
7922
7923
7924
7925
7926
7927
7928
7929
7930
7931
7932
7933
7934
7935
7936
7937
7938
7939
7940
7941
7942
7943
7944
7945
7946
7947
7948
7949
7950
7951
7952
7953
7954
7955
7956
7957
7958
7959
7960
7961
7962
7963
7964
7965
7966
7967
7968
7969
7970
7971
7972
7973
7974
7975
7976
7977
7978
7979
7980
7981
7982
7983
7984
7985
7986
7987
7988
7989
7990
7991
7992
7993
7994
7995
7996
7997
7998
7999
8000
8001
8002
8003
8004
8005
8006
8007
8008
8009
8010
8011
8012
8013
8014
8015
8016
8017
8018
8019
8020
8021
8022
8023
8024
8025
8026
8027
8028
8029
8030
8031
8032
8033
8034
8035
8036
8037
8038
8039
8040
8041
8042
8043
8044
8045
8046
8047
8048
8049
8050
8051
8052
8053
8054
8055
8056
8057
8058
8059
8060
8061
8062
8063
8064
8065
8066
8067
8068
8069
8070
8071
8072
8073
8074
8075
8076
8077
8078
8079
8080
8081
8082
8083
8084
8085
8086
8087
8088
8089
8090
8091
8092
8093
8094
8095
8096
8097
8098
8099
8100
8101
8102
8103
8104
8105
8106
8107
8108
8109
8110
8111
8112
8113
8114
8115
8116
8117
8118
8119
8120
8121
8122
8123
8124
8125
8126
8127
8128
8129
8130
8131
8132
8133
8134
8135
8136
8137
8138
8139
8140
8141
8142
8143
8144
8145
8146
8147
8148
8149
8150
8151
8152
8153
8154
8155
8156
8157
8158
8159
8160
8161
8162
8163
8164
8165
8166
8167
8168
8169
8170
8171
8172
8173
8174
8175
8176
8177
8178
8179
8180
8181
8182
8183
8184
8185
8186
8187
8188
8189
8190
8191
8192
8193
8194
8195
8196
8197
8198
8199
8200
8201
8202
8203
8204
8205
8206
8207
8208
8209
8210
8211
8212
8213
8214
8215
8216
8217
8218
8219
8220
8221
8222
8223
8224
8225
8226
8227
8228
8229
8230
8231
8232
8233
8234
8235
8236
8237
8238
8239
8240
8241
8242
8243
8244
8245
8246
8247
8248
8249
8250
8251
8252
8253
8254
8255
8256
8257
8258
8259
8260
8261
8262
8263
8264
8265
8266
8267
8268
8269
8270
8271
8272
8273
8274
8275
8276
8277
8278
8279
8280
8281
8282
8283
8284
8285
8286
8287
8288
8289
8290
8291
8292
8293
8294
8295
8296
8297
8298
8299
8300
8301
8302
8303
8304
8305
8306
8307
8308
8309
8310
8311
8312
8313
8314
8315
8316
8317
8318
8319
8320
8321
8322
8323
8324
8325
8326
8327
8328
8329
8330
8331
8332
8333
8334
8335
8336
8337
8338
8339
8340
8341
8342
8343
8344
8345
8346
8347
8348
8349
8350
8351
8352
8353
8354
8355
8356
8357
8358
8359
8360
8361
8362
8363
8364
8365
8366
8367
8368
8369
8370
8371
8372
8373
8374
8375
8376
8377
8378
8379
8380
8381
8382
8383
8384
8385
8386
8387
8388
8389
8390
8391
8392
8393
8394
8395
8396
8397
8398
8399
8400
8401
8402
8403
8404
8405
8406
8407
8408
8409
8410
8411
8412
8413
8414
8415
8416
8417
8418
8419
8420
8421
8422
8423
8424
8425
8426
8427
8428
8429
8430
8431
8432
8433
8434
8435
8436
8437
8438
8439
8440
8441
8442
8443
8444
8445
8446
8447
8448
8449
8450
8451
8452
8453
8454
8455
8456
8457
8458
8459
8460
8461
8462
8463
8464
8465
8466
8467
8468
8469
8470
8471
8472
8473
8474
8475
8476
8477
8478
8479
8480
8481
8482
8483
8484
8485
8486
8487
8488
8489
8490
8491
8492
8493
8494
8495
8496
8497
8498
8499
8500
8501
8502
8503
8504
8505
8506
8507
8508
8509
8510
8511
8512
8513
8514
8515
8516
8517
8518
8519
8520
8521
8522
8523
8524
8525
8526
8527
8528
8529
8530
8531
8532
8533
8534
8535
8536
8537
8538
8539
8540
8541
8542
8543
8544
8545
8546
8547
8548
8549
8550
8551
8552
8553
8554
8555
8556
8557
8558
8559
8560
8561
8562
8563
8564
8565
8566
8567
8568
8569
8570
8571
8572
8573
8574
8575
8576
8577
8578
8579
8580
8581
8582
8583
8584
8585
8586
8587
8588
8589
8590
8591
8592
8593
8594
8595
8596
8597
8598
8599
8600
8601
8602
8603
8604
8605
8606
8607
8608
8609
8610
8611
8612
8613
8614
8615
8616
8617
8618
8619
8620
8621
8622
8623
8624
8625
8626
8627
8628
8629
8630
8631
8632
8633
8634
8635
8636
8637
8638
8639
8640
8641
8642
8643
8644
8645
8646
8647
8648
8649
8650
8651
8652
8653
8654
8655
8656
8657
8658
8659
8660
8661
8662
8663
8664
8665
8666
8667
8668
8669
8670
8671
8672
8673
8674
8675
8676
8677
8678
8679
8680
8681
8682
8683
8684
8685
8686
8687
8688
8689
8690
8691
8692
8693
8694
8695
8696
8697
8698
8699
8700
8701
8702
8703
8704
8705
8706
8707
8708
8709
8710
8711
8712
8713
8714
8715
8716
8717
8718
8719
8720
8721
8722
8723
8724
8725
8726
8727
8728
8729
8730
8731
8732
8733
8734
8735
8736
8737
8738
8739
8740
8741
8742
8743
8744
8745
8746
8747
8748
8749
8750
8751
8752
8753
8754
8755
8756
8757
8758
8759
8760
8761
8762
8763
8764
8765
8766
8767
8768
8769
8770
8771
8772
8773
8774
8775
8776
8777
8778
8779
8780
8781
8782
8783
8784
8785
8786
8787
8788
8789
8790
8791
8792
8793
8794
8795
8796
8797
8798
8799
8800
8801
8802
8803
8804
8805
8806
8807
8808
8809
8810
8811
8812
8813
8814
8815
8816
8817
8818
8819
8820
8821
8822
8823
8824
8825
8826
8827
8828
8829
8830
8831
8832
8833
8834
8835
8836
8837
8838
8839
8840
8841
8842
8843
8844
8845
8846
8847
8848
8849
8850
8851
8852
8853
8854
8855
8856
8857
8858
8859
8860
8861
8862
8863
8864
8865
8866
8867
8868
8869
8870
8871
8872
8873
8874
8875
8876
8877
8878
8879
8880
8881
8882
8883
8884
8885
8886
8887
8888
8889
8890
8891
8892
8893
8894
8895
8896
8897
8898
8899
8900
8901
8902
8903
8904
8905
8906
8907
8908
8909
8910
8911
8912
8913
8914
8915
8916
8917
8918
8919
8920
8921
8922
8923
8924
8925
8926
8927
8928
8929
8930
8931
8932
8933
8934
8935
8936
8937
8938
8939
8940
8941
8942
8943
8944
8945
8946
8947
8948
8949
8950
8951
8952
8953
8954
8955
8956
8957
8958
8959
8960
8961
8962
8963
8964
8965
8966
8967
8968
8969
8970
8971
8972
8973
8974
8975
8976
8977
8978
8979
8980
8981
8982
8983
8984
8985
8986
8987
8988
8989
8990
8991
8992
8993
8994
8995
8996
8997
8998
8999
9000
9001
9002
9003
9004
9005
9006
9007
9008
9009
9010
9011
9012
9013
9014
9015
9016
9017
9018
9019
9020
9021
9022
9023
9024
9025
9026
9027
9028
9029
9030
9031
9032
9033
9034
9035
9036
9037
9038
9039
9040
9041
9042
9043
9044
9045
9046
9047
9048
9049
9050
9051
9052
9053
9054
9055
9056
9057
9058
9059
9060
9061
9062
9063
9064
9065
9066
9067
9068
9069
9070
9071
9072
9073
9074
9075
9076
9077
9078
9079
9080
9081
9082
9083
9084
9085
9086
9087
9088
9089
9090
9091
9092
9093
9094
9095
9096
9097
9098
9099
9100
9101
9102
9103
9104
9105
9106
9107
9108
9109
9110
9111
9112
9113
9114
9115
9116
9117
9118
9119
9120
9121
9122
9123
9124
9125
9126
9127
9128
9129
9130
9131
9132
9133
9134
9135
9136
9137
9138
9139
9140
9141
9142
9143
9144
9145
9146
9147
9148
9149
9150
9151
9152
9153
9154
9155
9156
9157
9158
9159
9160
9161
9162
9163
9164
9165
9166
9167
9168
9169
9170
9171
9172
9173
9174
9175
9176
9177
9178
9179
9180
9181
9182
9183
9184
9185
9186
9187
9188
9189
9190
9191
9192
9193
9194
9195
9196
9197
9198
9199
9200
9201
9202
9203
9204
9205
9206
9207
9208
9209
9210
9211
9212
9213
9214
9215
9216
9217
9218
9219
9220
9221
9222
9223
9224
9225
9226
9227
9228
9229
9230
9231
9232
9233
9234
9235
9236
9237
9238
9239
9240
9241
9242
9243
9244
9245
9246
9247
9248
9249
9250
9251
9252
9253
9254
9255
9256
9257
9258
9259
9260
9261
9262
9263
9264
9265
9266
9267
9268
9269
9270
9271
9272
9273
9274
9275
9276
9277
9278
9279
9280
9281
9282
9283
9284
9285
9286
9287
9288
9289
9290
9291
9292
9293
9294
9295
9296
9297
9298
9299
9300
9301
9302
9303
9304
9305
9306
9307
9308
9309
9310
9311
9312
9313
9314
9315
9316
9317
9318
9319
9320
9321
9322
9323
9324
9325
9326
9327
9328
9329
9330
9331
9332
9333
9334
9335
9336
9337
9338
9339
9340
9341
9342
9343
9344
9345
9346
9347
9348
9349
9350
9351
9352
9353
9354
9355
9356
9357
9358
9359
9360
9361
9362
9363
9364
9365
9366
9367
9368
9369
9370
9371
9372
9373
9374
9375
9376
9377
9378
9379
9380
9381
9382
9383
9384
9385
9386
9387
9388
9389
9390
9391
9392
9393
9394
9395
9396
9397
9398
9399
9400
9401
9402
9403
9404
9405
9406
9407
9408
9409
9410
9411
9412
9413
9414
9415
9416
9417
9418
9419
9420
9421
9422
9423
9424
9425
9426
9427
9428
9429
9430
9431
9432
9433
9434
9435
9436
9437
9438
9439
9440
9441
9442
9443
9444
9445
9446
9447
9448
9449
9450
9451
9452
9453
9454
9455
9456
9457
9458
9459
9460
9461
9462
9463
9464
9465
9466
9467
9468
9469
9470
9471
9472
9473
9474
9475
9476
9477
9478
9479
9480
9481
9482
9483
9484
9485
9486
9487
9488
9489
9490
9491
9492
9493
9494
9495
9496
9497
9498
9499
9500
9501
9502
9503
9504
9505
9506
9507
9508
9509
9510
9511
9512
9513
9514
9515
9516
9517
9518
9519
9520
9521
9522
9523
9524
9525
9526
9527
9528
9529
9530
9531
9532
9533
9534
9535
9536
9537
9538
9539
9540
9541
9542
9543
9544
9545
9546
9547
9548
9549
9550
9551
9552
9553
9554
9555
9556
9557
9558
9559
9560
9561
9562
9563
9564
9565
9566
9567
9568
9569
9570
9571
9572
9573
9574
9575
9576
9577
9578
9579
9580
9581
9582
9583
9584
9585
9586
9587
9588
9589
9590
9591
9592
9593
9594
9595
9596
9597
9598
9599
9600
9601
9602
9603
9604
9605
9606
9607
9608
9609
9610
9611
9612
9613
9614
9615
9616
9617
9618
9619
9620
9621
9622
9623
9624
9625
9626
9627
9628
9629
9630
9631
9632
9633
9634
9635
9636
9637
9638
9639
9640
9641
9642
9643
9644
9645
9646
9647
9648
9649
9650
9651
9652
9653
9654
9655
9656
9657
9658
9659
9660
9661
9662
9663
9664
9665
9666
9667
9668
9669
9670
9671
9672
9673
9674
9675
9676
9677
9678
9679
9680
9681
9682
9683
9684
9685
9686
9687
9688
9689
9690
9691
9692
9693
9694
9695
9696
9697
9698
9699
9700
9701
9702
9703
9704
9705
9706
9707
9708
9709
9710
9711
9712
9713
9714
9715
9716
9717
9718
9719
9720
9721
9722
9723
9724
9725
9726
9727
9728
9729
9730
9731
9732
9733
9734
9735
9736
9737
9738
9739
9740
9741
9742
9743
9744
9745
9746
9747
9748
9749
9750
9751
9752
9753
9754
9755
9756
9757
9758
9759
9760
9761
9762
9763
9764
9765
9766
9767
9768
9769
9770
9771
9772
9773
9774
9775
9776
9777
9778
9779
9780
9781
9782
9783
9784
9785
9786
9787
9788
9789
9790
9791
9792
9793
9794
9795
9796
9797
9798
9799
9800
9801
9802
9803
9804
9805
9806
9807
9808
9809
9810
9811
9812
9813
9814
9815
9816
9817
9818
9819
9820
9821
9822
9823
9824
9825
9826
9827
9828
9829
9830
9831
9832
9833
9834
9835
9836
9837
9838
9839
9840
9841
9842
9843
9844
9845
9846
9847
9848
9849
9850
9851
9852
9853
9854
9855
9856
9857
9858
9859
9860
9861
9862
9863
9864
9865
9866
9867
9868
9869
9870
9871
9872
9873
9874
9875
9876
9877
9878
9879
9880
9881
9882
9883
9884
9885
9886
9887
9888
9889
9890
9891
9892
9893
9894
9895
9896
9897
9898
9899
9900
9901
9902
9903
9904
9905
9906
9907
9908
9909
9910
9911
9912
9913
9914
9915
9916
9917
9918
9919
9920
9921
9922
9923
9924
9925
9926
9927
9928
9929
9930
9931
9932
9933
9934
9935
9936
9937
9938
9939
9940
9941
9942
9943
9944
9945
9946
9947
9948
9949
9950
9951
9952
9953
9954
9955
9956
9957
9958
9959
9960
9961
9962
9963
9964
9965
9966
9967
9968
9969
9970
9971
9972
9973
9974
9975
9976
9977
9978
9979
9980
9981
9982
9983
9984
9985
9986
9987
9988
9989
9990
9991
9992
9993
9994
9995
9996
9997
9998
9999
10000
10001
10002
10003
10004
10005
10006
10007
10008
10009
10010
10011
10012
10013
10014
10015
10016
10017
10018
10019
10020
10021
10022
10023
10024
10025
10026
10027
10028
10029
10030
10031
10032
10033
10034
10035
10036
10037
10038
10039
10040
10041
10042
10043
10044
10045
10046
10047
10048
10049
10050
10051
10052
10053
10054
10055
10056
10057
10058
10059
10060
10061
10062
10063
10064
10065
10066
10067
10068
10069
10070
10071
10072
10073
10074
10075
10076
10077
10078
10079
10080
10081
10082
10083
10084
10085
10086
10087
10088
10089
10090
10091
10092
10093
10094
10095
10096
10097
10098
10099
10100
10101
10102
10103
10104
10105
10106
10107
10108
10109
10110
10111
10112
10113
10114
10115
10116
10117
10118
10119
10120
10121
10122
10123
10124
10125
10126
10127
10128
10129
10130
10131
10132
10133
10134
10135
10136
10137
10138
10139
10140
10141
10142
10143
10144
10145
10146
10147
10148
10149
10150
10151
10152
10153
10154
10155
10156
10157
10158
10159
10160
10161
10162
10163
10164
10165
10166
10167
10168
10169
10170
10171
10172
10173
10174
10175
10176
10177
10178
10179
10180
10181
10182
10183
10184
10185
10186
10187
10188
10189
10190
10191
10192
10193
10194
10195
10196
10197
10198
10199
10200
10201
10202
10203
10204
10205
10206
10207
10208
10209
10210
10211
10212
10213
10214
10215
10216
10217
10218
10219
10220
10221
10222
10223
10224
10225
10226
10227
10228
10229
10230
10231
10232
10233
10234
10235
10236
10237
10238
10239
10240
10241
10242
10243
10244
10245
10246
10247
10248
10249
10250
10251
10252
10253
10254
10255
10256
10257
10258
10259
10260
10261
10262
10263
10264
10265
10266
10267
10268
10269
10270
10271
10272
10273
10274
10275
10276
10277
10278
10279
10280
10281
10282
10283
10284
10285
10286
10287
10288
10289
10290
10291
10292
10293
10294
10295
10296
10297
10298
10299
10300
10301
10302
10303
10304
10305
10306
10307
10308
10309
10310
10311
10312
10313
10314
10315
10316
10317
10318
10319
10320
10321
10322
10323
10324
10325
10326
10327
10328
10329
10330
10331
10332
10333
10334
10335
10336
10337
10338
10339
10340
10341
10342
10343
10344
10345
10346
10347
10348
10349
10350
10351
10352
10353
10354
10355
10356
10357
10358
10359
10360
10361
10362
10363
10364
10365
10366
10367
10368
10369
10370
10371
10372
10373
10374
10375
10376
10377
10378
10379
10380
10381
10382
10383
10384
10385
10386
10387
10388
10389
10390
10391
10392
10393
10394
10395
10396
10397
10398
10399
10400
10401
10402
10403
10404
10405
10406
10407
10408
10409
10410
10411
10412
10413
10414
10415
10416
10417
10418
10419
10420
10421
10422
10423
10424
10425
10426
10427
10428
10429
10430
10431
10432
10433
10434
10435
10436
10437
10438
10439
10440
10441
10442
10443
10444
10445
10446
10447
10448
10449
10450
10451
10452
10453
10454
10455
10456
10457
10458
10459
10460
10461
10462
10463
10464
10465
10466
10467
10468
10469
10470
10471
10472
10473
10474
10475
10476
10477
10478
10479
10480
10481
10482
10483
10484
10485
10486
10487
10488
10489
10490
10491
10492
10493
10494
10495
10496
10497
10498
10499
10500
10501
10502
10503
10504
10505
10506
10507
10508
10509
10510
10511
10512
10513
10514
10515
10516
10517
10518
10519
10520
10521
10522
10523
10524
10525
10526
10527
10528
10529
10530
10531
10532
10533
10534
10535
10536
10537
10538
10539
10540
10541
10542
10543
10544
10545
10546
10547
10548
10549
10550
10551
10552
10553
10554
10555
10556
10557
10558
10559
10560
10561
10562
10563
10564
10565
10566
10567
10568
10569
10570
10571
10572
10573
10574
10575
10576
10577
10578
10579
10580
10581
10582
10583
10584
10585
10586
10587
10588
10589
10590
10591
10592
10593
10594
10595
10596
10597
10598
10599
10600
10601
10602
10603
10604
10605
10606
10607
10608
10609
10610
10611
10612
10613
10614
10615
10616
10617
10618
10619
10620
10621
10622
10623
10624
10625
10626
10627
10628
10629
10630
10631
10632
10633
10634
10635
10636
10637
10638
10639
10640
10641
10642
10643
10644
10645
10646
10647
10648
10649
10650
10651
10652
10653
10654
10655
10656
10657
10658
10659
10660
10661
10662
10663
10664
10665
10666
10667
10668
10669
10670
10671
10672
10673
10674
10675
10676
10677
10678
10679
10680
10681
10682
10683
10684
10685
10686
10687
10688
10689
10690
10691
10692
10693
10694
10695
10696
10697
10698
10699
10700
10701
10702
10703
10704
10705
10706
10707
10708
10709
10710
10711
10712
10713
10714
10715
10716
10717
10718
10719
10720
10721
10722
10723
10724
10725
10726
10727
10728
10729
10730
10731
10732
10733
10734
10735
10736
10737
10738
10739
10740
10741
10742
10743
10744
10745
10746
10747
10748
10749
10750
10751
10752
10753
10754
10755
10756
10757
10758
10759
10760
10761
10762
10763
10764
10765
10766
10767
10768
10769
10770
10771
10772
10773
10774
10775
10776
10777
10778
10779
10780
10781
10782
10783
10784
10785
10786
10787
10788
10789
10790
10791
10792
10793
10794
10795
10796
10797
10798
10799
10800
10801
10802
10803
10804
10805
10806
10807
10808
10809
10810
10811
10812
10813
10814
10815
10816
10817
10818
10819
10820
10821
10822
10823
10824
10825
10826
10827
10828
10829
10830
10831
10832
10833
10834
10835
10836
10837
10838
10839
10840
10841
10842
10843
10844
10845
10846
10847
10848
10849
10850
10851
10852
10853
10854
10855
10856
10857
10858
10859
10860
10861
10862
10863
10864
10865
10866
10867
10868
10869
10870
10871
10872
10873
10874
10875
10876
10877
10878
10879
10880
10881
10882
10883
10884
10885
10886
10887
10888
10889
10890
10891
10892
10893
10894
10895
10896
10897
10898
10899
10900
10901
10902
10903
10904
10905
10906
10907
10908
10909
10910
10911
10912
10913
10914
10915
10916
10917
10918
10919
10920
10921
10922
10923
10924
10925
10926
10927
10928
10929
10930
10931
10932
10933
10934
10935
10936
10937
10938
10939
10940
10941
10942
10943
10944
10945
10946
10947
10948
10949
10950
10951
10952
10953
10954
10955
10956
10957
10958
10959
10960
10961
10962
10963
10964
10965
10966
10967
10968
10969
10970
10971
10972
10973
10974
10975
10976
10977
10978
10979
10980
10981
10982
10983
10984
10985
10986
10987
10988
10989
10990
10991
10992
10993
10994
10995
10996
10997
10998
10999
11000
11001
11002
11003
11004
11005
11006
11007
11008
11009
11010
11011
11012
11013
11014
11015
11016
11017
11018
11019
11020
11021
11022
11023
11024
11025
11026
11027
11028
11029
11030
11031
11032
11033
11034
11035
11036
11037
11038
11039
11040
11041
11042
11043
11044
11045
11046
11047
11048
11049
11050
11051
11052
11053
11054
11055
11056
11057
11058
11059
11060
11061
11062
11063
11064
11065
11066
11067
11068
11069
11070
11071
11072
11073
11074
11075
11076
11077
11078
11079
11080
11081
11082
11083
11084
11085
11086
11087
11088
11089
11090
11091
11092
11093
11094
11095
11096
11097
11098
11099
11100
11101
11102
11103
11104
11105
11106
11107
11108
11109
11110
11111
11112
11113
11114
11115
11116
11117
11118
11119
11120
11121
11122
11123
11124
11125
11126
11127
11128
11129
11130
11131
11132
11133
11134
11135
11136
11137
11138
11139
11140
11141
11142
11143
11144
11145
11146
11147
11148
11149
11150
11151
11152
11153
11154
11155
11156
11157
11158
11159
11160
11161
11162
11163
11164
11165
11166
11167
11168
11169
11170
11171
11172
11173
11174
11175
11176
11177
11178
11179
11180
11181
11182
11183
11184
11185
11186
11187
11188
11189
11190
11191
11192
11193
11194
11195
11196
11197
11198
11199
11200
11201
11202
11203
11204
11205
11206
11207
11208
11209
11210
11211
11212
11213
11214
11215
11216
11217
11218
11219
11220
11221
11222
11223
11224
11225
11226
11227
11228
11229
11230
11231
11232
11233
11234
11235
11236
11237
11238
11239
11240
11241
11242
11243
11244
11245
11246
11247
11248
11249
11250
11251
11252
11253
11254
11255
11256
11257
11258
11259
11260
11261
11262
11263
11264
11265
11266
11267
11268
11269
11270
11271
11272
11273
11274
11275
11276
11277
11278
11279
11280
11281
11282
11283
11284
11285
11286
11287
11288
11289
11290
11291
11292
11293
11294
11295
11296
11297
11298
11299
11300
11301
11302
11303
11304
11305
11306
11307
11308
11309
11310
11311
11312
11313
11314
11315
11316
11317
11318
11319
11320
11321
11322
11323
11324
11325
11326
11327
11328
11329
11330
11331
11332
11333
11334
11335
11336
11337
11338
11339
11340
11341
11342
11343
11344
11345
11346
11347
11348
11349
11350
11351
11352
11353
11354
11355
11356
11357
11358
11359
11360
11361
11362
11363
11364
11365
11366
11367
11368
11369
11370
11371
11372
11373
11374
11375
11376
11377
11378
11379
11380
11381
11382
11383
11384
11385
11386
11387
11388
11389
11390
11391
11392
11393
11394
11395
11396
11397
11398
11399
11400
11401
11402
11403
11404
11405
11406
11407
11408
11409
11410
11411
11412
11413
11414
11415
11416
11417
11418
11419
11420
11421
11422
11423
11424
11425
11426
11427
11428
11429
11430
11431
11432
11433
11434
11435
11436
11437
11438
11439
11440
11441
11442
11443
11444
11445
11446
11447
11448
11449
11450
11451
11452
11453
11454
11455
11456
11457
11458
11459
11460
11461
11462
11463
11464
11465
11466
11467
11468
11469
11470
11471
11472
11473
11474
11475
11476
11477
11478
11479
11480
11481
11482
11483
11484
11485
11486
11487
11488
11489
11490
11491
11492
11493
11494
11495
11496
11497
11498
11499
11500
11501
11502
11503
11504
11505
11506
11507
11508
11509
11510
11511
11512
11513
11514
11515
11516
11517
11518
11519
11520
11521
11522
11523
11524
11525
11526
11527
11528
11529
11530
11531
11532
11533
11534
11535
11536
11537
11538
11539
11540
11541
11542
11543
11544
11545
11546
11547
11548
11549
11550
11551
11552
11553
11554
11555
11556
11557
11558
11559
11560
11561
11562
11563
11564
11565
11566
11567
11568
11569
11570
11571
11572
11573
11574
11575
11576
11577
11578
11579
11580
11581
11582
11583
11584
11585
11586
11587
11588
11589
11590
11591
11592
11593
11594
11595
11596
11597
11598
11599
11600
11601
11602
11603
11604
11605
11606
11607
11608
11609
11610
11611
11612
11613
11614
11615
11616
11617
11618
11619
11620
11621
11622
11623
11624
11625
11626
11627
11628
11629
11630
11631
11632
11633
11634
11635
11636
11637
11638
11639
11640
11641
11642
11643
11644
11645
11646
11647
11648
11649
11650
11651
11652
11653
11654
11655
11656
11657
11658
11659
11660
11661
11662
11663
11664
11665
11666
11667
11668
11669
11670
11671
11672
11673
11674
11675
11676
11677
11678
11679
11680
11681
11682
11683
11684
11685
11686
11687
11688
11689
11690
11691
11692
11693
11694
11695
11696
11697
11698
11699
11700
11701
11702
11703
11704
11705
11706
11707
11708
11709
11710
11711
11712
11713
11714
11715
11716
11717
11718
11719
11720
11721
11722
11723
11724
11725
11726
11727
11728
11729
11730
11731
11732
11733
11734
11735
11736
11737
11738
11739
11740
11741
11742
11743
11744
11745
11746
11747
11748
11749
11750
11751
11752
11753
11754
11755
11756
11757
11758
11759
11760
11761
11762
11763
11764
11765
11766
11767
11768
11769
11770
11771
11772
11773
11774
11775
11776
11777
11778
11779
11780
11781
11782
11783
11784
11785
11786
11787
11788
11789
11790
11791
11792
11793
11794
11795
11796
11797
11798
11799
11800
11801
11802
11803
11804
11805
11806
11807
11808
11809
11810
11811
11812
11813
11814
11815
11816
11817
11818
11819
11820
11821
11822
11823
11824
11825
11826
11827
11828
11829
11830
11831
11832
11833
11834
11835
11836
11837
11838
11839
11840
11841
11842
11843
11844
11845
11846
11847
11848
11849
11850
11851
11852
11853
11854
11855
11856
11857
11858
11859
11860
11861
11862
11863
11864
11865
11866
11867
11868
11869
11870
11871
11872
11873
11874
11875
11876
11877
11878
11879
11880
11881
11882
11883
11884
11885
11886
11887
11888
11889
11890
11891
11892
11893
11894
11895
11896
11897
11898
11899
11900
11901
11902
11903
11904
11905
11906
11907
11908
11909
11910
11911
11912
11913
11914
11915
11916
11917
11918
11919
11920
11921
11922
11923
11924
11925
11926
11927
11928
11929
11930
11931
11932
11933
11934
11935
11936
11937
11938
11939
11940
11941
11942
11943
11944
11945
11946
11947
11948
11949
11950
11951
11952
11953
11954
11955
11956
11957
11958
11959
11960
11961
11962
11963
11964
11965
11966
11967
11968
11969
11970
11971
11972
11973
11974
11975
11976
11977
11978
11979
11980
11981
11982
11983
11984
11985
11986
11987
11988
11989
11990
11991
11992
11993
11994
11995
11996
11997
11998
11999
12000
12001
12002
12003
12004
12005
12006
12007
12008
12009
12010
12011
12012
12013
12014
12015
12016
12017
12018
12019
12020
12021
12022
12023
12024
12025
12026
12027
12028
12029
12030
12031
12032
12033
12034
12035
12036
12037
12038
12039
12040
12041
12042
12043
12044
12045
12046
12047
12048
12049
12050
12051
12052
12053
12054
12055
12056
12057
12058
12059
12060
12061
12062
12063
12064
12065
12066
12067
12068
12069
12070
12071
12072
12073
12074
12075
12076
12077
12078
12079
12080
12081
12082
12083
12084
12085
12086
12087
12088
12089
12090
12091
12092
12093
12094
12095
12096
12097
12098
12099
12100
12101
12102
12103
12104
12105
12106
12107
12108
12109
12110
12111
12112
12113
12114
12115
12116
12117
12118
12119
12120
12121
12122
12123
12124
12125
12126
12127
12128
12129
12130
12131
12132
12133
12134
12135
12136
12137
12138
12139
12140
12141
12142
12143
12144
12145
12146
12147
12148
12149
12150
12151
12152
12153
12154
12155
12156
12157
12158
12159
12160
12161
12162
12163
12164
12165
12166
12167
12168
12169
12170
12171
12172
12173
12174
12175
12176
12177
12178
12179
12180
12181
12182
12183
12184
12185
12186
12187
12188
12189
12190
12191
12192
12193
12194
12195
12196
12197
12198
12199
12200
12201
12202
12203
12204
12205
12206
12207
12208
12209
12210
12211
12212
12213
12214
12215
12216
12217
12218
12219
12220
12221
12222
12223
12224
12225
12226
12227
12228
12229
12230
12231
12232
12233
12234
12235
12236
12237
12238
12239
12240
12241
12242
12243
12244
12245
12246
12247
12248
12249
12250
12251
12252
12253
12254
12255
12256
12257
12258
12259
12260
12261
12262
12263
12264
12265
12266
12267
12268
12269
12270
12271
12272
12273
12274
12275
12276
12277
12278
12279
12280
12281
12282
12283
12284
12285
12286
12287
12288
12289
12290
12291
12292
12293
12294
12295
12296
12297
12298
12299
12300
12301
12302
12303
12304
12305
12306
12307
12308
12309
12310
12311
12312
12313
12314
12315
12316
12317
12318
12319
12320
12321
12322
12323
12324
12325
12326
12327
12328
12329
12330
12331
12332
12333
12334
12335
12336
12337
12338
12339
12340
12341
12342
12343
12344
12345
12346
12347
12348
12349
12350
12351
12352
12353
12354
12355
12356
12357
12358
12359
12360
12361
12362
12363
12364
12365
12366
12367
12368
12369
12370
12371
12372
12373
12374
12375
12376
12377
12378
12379
12380
12381
12382
12383
12384
12385
12386
12387
12388
12389
12390
12391
12392
12393
12394
12395
12396
12397
12398
12399
12400
12401
12402
12403
12404
12405
12406
12407
12408
12409
12410
12411
12412
12413
12414
12415
12416
12417
12418
12419
12420
12421
12422
12423
12424
12425
12426
12427
12428
12429
12430
12431
12432
12433
12434
12435
12436
12437
12438
12439
12440
12441
12442
12443
12444
12445
12446
12447
12448
12449
12450
12451
12452
12453
12454
12455
12456
12457
12458
12459
12460
12461
12462
12463
12464
12465
12466
12467
12468
12469
12470
12471
12472
12473
12474
12475
12476
12477
12478
12479
12480
12481
12482
12483
12484
12485
12486
12487
12488
12489
12490
12491
12492
12493
12494
12495
12496
12497
12498
12499
12500
12501
12502
12503
12504
12505
12506
12507
12508
12509
12510
12511
12512
12513
12514
12515
12516
12517
12518
12519
12520
12521
12522
12523
12524
12525
12526
12527
12528
12529
12530
12531
12532
12533
12534
12535
12536
12537
12538
12539
12540
12541
12542
12543
12544
12545
12546
12547
12548
12549
12550
12551
12552
12553
12554
12555
12556
12557
12558
12559
12560
12561
12562
12563
12564
12565
12566
12567
12568
12569
12570
12571
12572
12573
12574
12575
12576
12577
12578
12579
12580
12581
12582
12583
12584
12585
12586
12587
12588
12589
12590
12591
12592
12593
12594
12595
12596
12597
12598
12599
12600
12601
12602
12603
12604
12605
12606
12607
12608
12609
12610
12611
12612
12613
12614
12615
12616
12617
12618
12619
12620
12621
12622
12623
12624
12625
12626
12627
12628
12629
12630
12631
12632
12633
12634
12635
12636
12637
12638
12639
12640
12641
12642
12643
12644
12645
12646
12647
12648
12649
12650
12651
12652
12653
12654
12655
12656
12657
12658
12659
12660
12661
12662
12663
12664
12665
12666
12667
12668
12669
12670
12671
12672
12673
12674
12675
12676
12677
12678
12679
12680
12681
12682
12683
12684
12685
12686
12687
12688
12689
12690
12691
12692
12693
12694
12695
12696
12697
12698
12699
12700
12701
12702
12703
12704
12705
12706
12707
12708
12709
12710
12711
12712
12713
12714
12715
12716
12717
12718
12719
12720
12721
12722
12723
12724
12725
12726
12727
12728
12729
12730
12731
12732
12733
12734
12735
12736
12737
12738
12739
12740
12741
12742
12743
12744
12745
12746
12747
12748
12749
12750
12751
12752
12753
12754
12755
12756
12757
12758
12759
12760
12761
12762
12763
12764
12765
12766
12767
12768
12769
12770
12771
12772
12773
12774
12775
12776
12777
12778
12779
12780
12781
12782
12783
12784
12785
12786
12787
12788
12789
12790
12791
12792
12793
12794
12795
12796
12797
12798
12799
12800
12801
12802
12803
12804
12805
12806
12807
12808
12809
12810
12811
12812
12813
12814
12815
12816
12817
12818
12819
12820
12821
12822
12823
12824
12825
12826
12827
12828
12829
12830
12831
12832
12833
12834
12835
12836
12837
12838
12839
12840
12841
12842
12843
12844
12845
12846
12847
12848
12849
12850
12851
12852
12853
12854
12855
12856
12857
12858
12859
12860
12861
12862
12863
12864
12865
12866
12867
12868
12869
12870
12871
12872
12873
12874
12875
12876
12877
12878
12879
12880
12881
12882
12883
12884
12885
12886
12887
12888
12889
12890
12891
12892
12893
12894
12895
12896
12897
12898
12899
12900
12901
12902
12903
12904
12905
12906
12907
12908
12909
12910
12911
12912
12913
12914
12915
12916
12917
12918
12919
12920
12921
12922
12923
12924
12925
12926
12927
12928
12929
12930
12931
12932
12933
12934
12935
12936
12937
12938
12939
12940
12941
12942
12943
12944
12945
12946
12947
12948
12949
12950
12951
12952
12953
12954
12955
12956
12957
12958
12959
12960
12961
12962
12963
12964
12965
12966
12967
12968
12969
12970
12971
12972
12973
12974
12975
12976
12977
12978
12979
12980
12981
12982
12983
12984
12985
12986
12987
12988
12989
12990
12991
12992
12993
12994
12995
12996
12997
12998
12999
13000
13001
13002
13003
13004
13005
13006
13007
13008
13009
13010
13011
13012
13013
13014
13015
13016
13017
13018
13019
13020
13021
13022
13023
13024
13025
13026
13027
13028
13029
13030
13031
13032
13033
13034
13035
13036
13037
13038
13039
13040
13041
13042
13043
13044
13045
13046
13047
13048
13049
13050
13051
13052
13053
13054
13055
13056
13057
13058
13059
13060
13061
13062
13063
13064
13065
13066
13067
13068
13069
13070
13071
13072
13073
13074
13075
13076
13077
13078
13079
13080
13081
13082
13083
13084
13085
13086
13087
13088
13089
13090
13091
13092
13093
13094
13095
13096
13097
13098
13099
13100
13101
13102
13103
13104
13105
13106
13107
13108
13109
13110
13111
13112
13113
13114
13115
13116
13117
13118
13119
13120
13121
13122
13123
13124
13125
13126
13127
13128
13129
13130
13131
13132
13133
13134
13135
13136
13137
13138
13139
13140
13141
13142
13143
13144
13145
13146
13147
13148
13149
13150
13151
13152
13153
13154
13155
13156
13157
13158
13159
13160
13161
13162
13163
13164
13165
13166
13167
13168
13169
13170
13171
13172
13173
13174
13175
13176
13177
13178
13179
13180
13181
13182
13183
13184
13185
13186
13187
13188
13189
13190
13191
13192
13193
13194
13195
13196
13197
13198
13199
13200
13201
13202
13203
13204
13205
13206
13207
13208
13209
13210
13211
13212
13213
13214
13215
13216
13217
13218
13219
13220
13221
13222
13223
13224
13225
13226
13227
13228
13229
13230
13231
13232
13233
13234
13235
13236
13237
13238
13239
13240
13241
13242
13243
13244
13245
13246
13247
13248
13249
13250
13251
13252
13253
13254
13255
13256
13257
13258
13259
13260
13261
13262
13263
13264
13265
13266
13267
13268
13269
13270
13271
13272
13273
13274
13275
13276
13277
13278
13279
13280
13281
13282
13283
13284
13285
13286
13287
13288
13289
13290
13291
13292
13293
13294
13295
13296
13297
13298
13299
13300
13301
13302
13303
13304
13305
13306
13307
13308
13309
13310
13311
13312
13313
13314
13315
13316
13317
13318
13319
13320
13321
13322
13323
13324
13325
13326
13327
13328
13329
13330
13331
13332
13333
13334
13335
13336
13337
13338
13339
13340
13341
13342
13343
13344
13345
13346
13347
13348
13349
13350
13351
13352
13353
13354
13355
13356
13357
13358
13359
13360
13361
13362
13363
13364
13365
13366
13367
13368
13369
13370
13371
13372
13373
13374
13375
13376
13377
13378
13379
13380
13381
13382
13383
13384
13385
13386
13387
13388
13389
13390
13391
13392
13393
13394
13395
13396
13397
13398
13399
13400
13401
13402
13403
13404
13405
13406
13407
13408
13409
13410
13411
13412
13413
13414
13415
13416
13417
13418
13419
13420
13421
13422
13423
13424
13425
13426
13427
13428
13429
13430
13431
13432
13433
13434
13435
13436
13437
13438
13439
13440
13441
13442
13443
13444
13445
13446
13447
13448
13449
13450
13451
13452
13453
13454
13455
13456
13457
13458
13459
13460
13461
13462
13463
13464
13465
13466
13467
13468
13469
13470
13471
13472
13473
13474
13475
13476
13477
13478
13479
13480
13481
13482
13483
13484
13485
13486
13487
13488
13489
13490
13491
13492
13493
13494
13495
13496
13497
13498
13499
13500
13501
13502
13503
13504
13505
13506
13507
13508
13509
13510
13511
13512
13513
13514
13515
13516
13517
13518
13519
13520
13521
13522
13523
13524
13525
13526
13527
13528
13529
13530
13531
13532
13533
13534
13535
13536
13537
13538
13539
13540
13541
13542
13543
13544
13545
13546
13547
13548
13549
13550
13551
13552
13553
13554
13555
13556
13557
13558
13559
13560
13561
13562
13563
13564
13565
13566
13567
13568
13569
13570
13571
13572
13573
13574
13575
13576
13577
13578
13579
13580
13581
13582
13583
13584
13585
13586
13587
13588
13589
13590
13591
13592
13593
13594
13595
13596
13597
13598
13599
13600
13601
13602
13603
13604
13605
13606
13607
13608
13609
13610
13611
13612
13613
13614
13615
13616
13617
13618
13619
13620
13621
13622
13623
13624
13625
13626
13627
13628
13629
13630
13631
13632
13633
13634
13635
13636
13637
13638
13639
13640
13641
13642
13643
13644
13645
13646
13647
13648
13649
13650
13651
13652
13653
13654
13655
13656
13657
13658
13659
13660
13661
13662
13663
13664
13665
13666
13667
13668
13669
13670
13671
13672
13673
13674
13675
13676
13677
13678
13679
13680
13681
13682
13683
13684
13685
13686
13687
13688
13689
13690
13691
13692
13693
13694
13695
13696
13697
13698
13699
13700
13701
13702
13703
13704
13705
13706
13707
13708
13709
13710
13711
13712
13713
13714
13715
13716
13717
13718
13719
13720
13721
13722
13723
13724
13725
13726
13727
13728
13729
13730
13731
13732
13733
13734
13735
13736
13737
13738
13739
13740
13741
13742
13743
13744
13745
13746
13747
13748
13749
13750
13751
13752
13753
13754
13755
13756
13757
13758
13759
13760
13761
13762
13763
13764
13765
13766
13767
13768
13769
13770
13771
13772
13773
13774
13775
13776
13777
13778
13779
13780
13781
13782
13783
13784
13785
13786
13787
13788
13789
13790
13791
13792
13793
13794
13795
13796
13797
13798
13799
13800
13801
13802
13803
13804
13805
13806
13807
13808
13809
13810
13811
13812
13813
13814
13815
13816
13817
13818
13819
13820
13821
13822
13823
13824
13825
13826
13827
13828
13829
13830
13831
13832
13833
13834
13835
13836
13837
13838
13839
13840
13841
13842
13843
13844
13845
13846
13847
13848
13849
13850
13851
13852
13853
13854
13855
13856
13857
13858
13859
13860
13861
13862
13863
13864
13865
13866
13867
13868
13869
13870
13871
13872
13873
13874
13875
13876
13877
13878
13879
13880
13881
13882
13883
13884
13885
13886
13887
13888
13889
13890
13891
13892
13893
13894
13895
13896
13897
13898
13899
13900
13901
13902
13903
13904
13905
13906
13907
13908
13909
13910
13911
13912
13913
13914
13915
13916
13917
13918
13919
13920
13921
13922
13923
13924
13925
13926
13927
13928
13929
13930
13931
13932
13933
13934
13935
13936
13937
13938
13939
13940
13941
13942
13943
13944
13945
13946
13947
13948
13949
13950
13951
13952
13953
13954
13955
13956
13957
13958
13959
13960
13961
13962
13963
13964
13965
13966
13967
13968
13969
13970
13971
13972
13973
13974
13975
13976
13977
13978
13979
13980
13981
13982
13983
13984
13985
13986
13987
13988
13989
13990
13991
13992
13993
13994
13995
13996
13997
13998
13999
14000
14001
14002
14003
14004
14005
14006
14007
14008
14009
14010
14011
14012
14013
14014
14015
14016
14017
14018
14019
14020
14021
14022
14023
14024
14025
14026
14027
14028
14029
14030
14031
14032
14033
14034
14035
14036
14037
14038
14039
14040
14041
14042
14043
14044
14045
14046
14047
14048
14049
14050
14051
14052
14053
14054
14055
14056
14057
14058
14059
14060
14061
14062
14063
14064
14065
14066
14067
14068
14069
14070
14071
14072
14073
14074
14075
14076
14077
14078
14079
14080
14081
14082
14083
14084
14085
14086
14087
14088
14089
14090
14091
14092
14093
14094
14095
14096
14097
14098
14099
14100
14101
14102
14103
14104
14105
14106
14107
14108
14109
14110
14111
14112
14113
14114
14115
14116
14117
14118
14119
14120
14121
14122
14123
14124
14125
14126
14127
14128
14129
14130
14131
14132
14133
14134
14135
14136
14137
14138
14139
14140
14141
14142
14143
14144
14145
14146
14147
14148
14149
14150
14151
14152
14153
14154
14155
14156
14157
14158
14159
14160
14161
14162
14163
14164
14165
14166
14167
14168
14169
14170
14171
14172
14173
14174
14175
14176
14177
14178
14179
14180
14181
14182
14183
14184
14185
14186
14187
14188
14189
14190
14191
14192
14193
14194
14195
14196
14197
14198
14199
14200
14201
14202
14203
14204
14205
14206
14207
14208
14209
14210
14211
14212
14213
14214
14215
14216
14217
14218
14219
14220
14221
14222
14223
14224
14225
14226
14227
14228
14229
14230
14231
14232
14233
14234
14235
14236
14237
14238
14239
14240
14241
14242
14243
14244
14245
14246
14247
14248
14249
14250
14251
14252
14253
14254
14255
14256
14257
14258
14259
14260
14261
14262
14263
14264
14265
14266
14267
14268
14269
14270
14271
14272
14273
14274
14275
14276
14277
14278
14279
14280
14281
14282
14283
14284
14285
14286
14287
14288
14289
14290
14291
14292
14293
14294
14295
14296
14297
14298
14299
14300
14301
14302
14303
14304
14305
14306
14307
14308
14309
14310
14311
14312
14313
14314
14315
14316
14317
14318
14319
14320
14321
14322
14323
14324
14325
14326
14327
14328
14329
14330
14331
14332
14333
14334
14335
14336
14337
14338
14339
14340
14341
14342
14343
14344
14345
14346
14347
14348
14349
14350
14351
14352
14353
14354
14355
14356
14357
14358
14359
14360
14361
14362
14363
14364
14365
14366
14367
14368
14369
14370
14371
14372
14373
14374
14375
14376
14377
14378
14379
14380
14381
14382
14383
14384
14385
14386
14387
14388
14389
14390
14391
14392
14393
14394
14395
14396
14397
14398
14399
14400
14401
14402
14403
14404
14405
14406
14407
14408
14409
14410
14411
14412
14413
14414
14415
14416
14417
14418
14419
14420
14421
14422
14423
14424
14425
14426
14427
14428
14429
14430
14431
14432
14433
14434
14435
14436
14437
14438
14439
14440
14441
14442
14443
14444
14445
14446
14447
14448
14449
14450
14451
14452
14453
14454
14455
14456
14457
14458
14459
14460
14461
14462
14463
14464
14465
14466
14467
14468
14469
14470
14471
14472
14473
14474
14475
14476
14477
14478
14479
14480
14481
14482
14483
14484
14485
14486
14487
14488
14489
14490
14491
14492
14493
14494
14495
14496
14497
14498
14499
14500
14501
14502
14503
14504
14505
14506
14507
14508
14509
14510
14511
14512
14513
14514
14515
14516
14517
14518
14519
14520
14521
14522
14523
14524
14525
14526
14527
14528
14529
14530
14531
14532
14533
14534
14535
14536
14537
14538
14539
14540
14541
14542
14543
14544
14545
14546
14547
14548
14549
14550
14551
14552
14553
14554
14555
14556
14557
14558
14559
14560
14561
14562
14563
14564
14565
14566
14567
14568
14569
14570
14571
14572
14573
14574
14575
14576
14577
14578
14579
14580
14581
14582
14583
14584
14585
14586
14587
14588
14589
14590
14591
14592
14593
14594
14595
14596
14597
14598
14599
14600
14601
14602
14603
14604
14605
14606
14607
14608
14609
14610
14611
14612
14613
14614
14615
14616
14617
14618
14619
14620
14621
14622
14623
14624
14625
14626
14627
14628
14629
14630
14631
14632
14633
14634
14635
14636
14637
14638
14639
14640
14641
14642
14643
14644
14645
14646
14647
14648
14649
14650
14651
14652
14653
14654
14655
14656
14657
14658
14659
14660
14661
14662
14663
14664
14665
14666
14667
14668
14669
14670
14671
14672
14673
14674
14675
14676
14677
14678
14679
14680
14681
14682
14683
14684
14685
14686
14687
14688
14689
14690
14691
14692
14693
14694
14695
14696
14697
14698
14699
14700
14701
14702
14703
14704
14705
14706
14707
14708
14709
14710
14711
14712
14713
14714
14715
14716
14717
14718
14719
14720
14721
14722
14723
14724
14725
14726
14727
14728
14729
14730
14731
14732
14733
14734
14735
14736
14737
14738
14739
14740
14741
14742
14743
14744
14745
14746
14747
14748
14749
14750
14751
14752
14753
14754
14755
14756
14757
14758
14759
14760
14761
14762
14763
14764
14765
14766
14767
14768
14769
14770
14771
14772
14773
14774
14775
14776
14777
14778
14779
14780
14781
14782
14783
14784
14785
14786
14787
14788
14789
14790
14791
14792
14793
14794
14795
14796
14797
14798
14799
14800
14801
14802
14803
14804
14805
14806
14807
14808
14809
14810
14811
14812
14813
14814
14815
14816
14817
14818
14819
14820
14821
14822
14823
14824
14825
14826
14827
14828
14829
14830
14831
14832
14833
14834
14835
14836
14837
14838
14839
14840
14841
14842
14843
14844
14845
14846
14847
14848
14849
14850
14851
14852
14853
14854
14855
14856
14857
14858
14859
14860
14861
14862
14863
14864
14865
14866
14867
14868
14869
14870
14871
14872
14873
14874
14875
14876
14877
14878
14879
14880
14881
14882
14883
14884
14885
14886
14887
14888
14889
14890
14891
14892
14893
14894
14895
14896
14897
14898
14899
14900
14901
14902
14903
14904
14905
14906
14907
14908
14909
14910
14911
14912
14913
14914
14915
14916
14917
14918
14919
14920
14921
14922
14923
14924
14925
14926
14927
14928
14929
14930
14931
14932
14933
14934
14935
14936
14937
14938
14939
14940
14941
14942
14943
14944
14945
14946
14947
14948
14949
14950
14951
14952
14953
14954
14955
14956
14957
14958
14959
14960
14961
14962
14963
14964
14965
14966
14967
14968
14969
14970
14971
14972
14973
14974
14975
14976
14977
14978
14979
14980
14981
14982
14983
14984
14985
14986
14987
14988
14989
14990
14991
14992
14993
14994
14995
14996
14997
14998
14999
15000
15001
15002
15003
15004
15005
15006
15007
15008
15009
15010
15011
15012
15013
15014
15015
15016
15017
15018
15019
15020
15021
15022
15023
15024
15025
15026
15027
15028
15029
15030
15031
15032
15033
15034
15035
15036
15037
15038
15039
15040
15041
15042
15043
15044
15045
15046
15047
15048
15049
15050
15051
15052
15053
15054
15055
15056
15057
15058
15059
15060
15061
15062
15063
15064
15065
15066
15067
15068
15069
15070
15071
15072
15073
15074
15075
15076
15077
15078
15079
15080
15081
15082
15083
15084
15085
15086
15087
15088
15089
15090
15091
15092
15093
15094
15095
15096
15097
15098
15099
15100
15101
15102
15103
15104
15105
15106
15107
15108
15109
15110
15111
15112
15113
15114
15115
15116
15117
15118
15119
15120
15121
15122
15123
15124
15125
15126
15127
15128
15129
15130
15131
15132
15133
15134
15135
15136
15137
15138
15139
15140
15141
15142
15143
15144
15145
15146
15147
15148
15149
15150
15151
15152
15153
15154
15155
15156
15157
15158
15159
15160
15161
15162
15163
15164
15165
15166
15167
15168
15169
15170
15171
15172
15173
15174
15175
15176
15177
15178
15179
15180
15181
15182
15183
15184
15185
15186
15187
15188
15189
15190
15191
15192
15193
15194
15195
15196
15197
15198
15199
15200
15201
15202
15203
15204
15205
15206
15207
15208
15209
15210
15211
15212
15213
15214
15215
15216
15217
15218
15219
15220
15221
15222
15223
15224
15225
15226
15227
15228
15229
15230
15231
15232
15233
15234
15235
15236
15237
15238
15239
15240
15241
15242
15243
15244
15245
15246
15247
15248
15249
15250
15251
15252
15253
15254
15255
15256
15257
15258
15259
15260
15261
15262
15263
15264
15265
15266
15267
15268
15269
15270
15271
15272
15273
15274
15275
15276
15277
15278
15279
15280
15281
15282
15283
15284
15285
15286
15287
15288
15289
15290
15291
15292
15293
15294
15295
15296
15297
15298
15299
15300
15301
15302
15303
15304
15305
15306
15307
15308
15309
15310
15311
15312
15313
15314
15315
15316
15317
15318
15319
15320
15321
15322
15323
15324
15325
15326
15327
15328
15329
15330
15331
15332
15333
15334
15335
15336
15337
15338
15339
15340
15341
15342
15343
15344
15345
15346
15347
15348
15349
15350
15351
15352
15353
15354
15355
15356
15357
15358
15359
15360
15361
15362
15363
15364
15365
15366
15367
15368
15369
15370
15371
15372
15373
15374
15375
15376
15377
15378
15379
15380
15381
15382
15383
15384
15385
15386
15387
15388
15389
15390
15391
15392
15393
15394
15395
15396
15397
15398
15399
15400
15401
15402
15403
15404
15405
15406
15407
15408
15409
15410
15411
15412
15413
15414
15415
15416
15417
15418
15419
15420
15421
15422
15423
15424
15425
15426
15427
15428
15429
15430
15431
15432
15433
15434
15435
15436
15437
15438
15439
15440
15441
15442
15443
15444
15445
15446
15447
15448
15449
15450
15451
15452
15453
15454
15455
15456
15457
15458
15459
15460
15461
15462
15463
15464
15465
15466
15467
15468
15469
15470
15471
15472
15473
15474
15475
15476
15477
15478
15479
15480
15481
15482
15483
15484
15485
15486
15487
15488
15489
15490
15491
15492
15493
15494
15495
15496
15497
15498
15499
15500
15501
15502
15503
15504
15505
15506
15507
15508
15509
15510
15511
15512
15513
15514
15515
15516
15517
15518
15519
15520
15521
15522
15523
15524
15525
15526
15527
15528
15529
15530
15531
15532
15533
15534
15535
15536
15537
15538
15539
15540
15541
15542
15543
15544
15545
15546
15547
15548
15549
15550
15551
15552
15553
15554
15555
15556
15557
15558
15559
15560
15561
15562
15563
15564
15565
15566
15567
15568
15569
15570
15571
15572
15573
15574
15575
15576
15577
15578
15579
15580
15581
15582
15583
15584
15585
15586
15587
15588
15589
15590
15591
15592
15593
15594
15595
15596
15597
15598
15599
15600
15601
15602
15603
15604
15605
15606
15607
15608
15609
15610
15611
15612
15613
15614
15615
15616
15617
15618
15619
15620
15621
15622
15623
15624
15625
15626
15627
15628
15629
15630
15631
15632
15633
15634
15635
15636
15637
15638
15639
15640
15641
15642
15643
15644
15645
15646
15647
15648
15649
15650
15651
15652
15653
15654
15655
15656
15657
15658
15659
15660
15661
15662
15663
15664
15665
15666
15667
15668
15669
15670
15671
15672
15673
15674
15675
15676
15677
15678
15679
15680
15681
15682
15683
15684
15685
15686
15687
15688
15689
15690
15691
15692
15693
15694
15695
15696
15697
15698
15699
15700
15701
15702
15703
15704
15705
15706
15707
15708
15709
15710
15711
15712
15713
15714
15715
15716
15717
15718
15719
15720
15721
15722
15723
15724
15725
15726
15727
15728
15729
15730
15731
15732
15733
15734
15735
15736
15737
15738
15739
15740
15741
15742
15743
15744
15745
15746
15747
15748
15749
15750
15751
15752
15753
15754
15755
15756
15757
15758
15759
15760
15761
15762
15763
15764
15765
15766
15767
15768
15769
15770
15771
15772
15773
15774
15775
15776
15777
15778
15779
15780
15781
15782
15783
15784
15785
15786
15787
15788
15789
15790
15791
15792
15793
15794
15795
15796
15797
15798
15799
15800
15801
15802
15803
15804
15805
15806
15807
15808
15809
15810
15811
15812
15813
15814
15815
15816
15817
15818
15819
15820
15821
15822
15823
15824
15825
15826
15827
15828
15829
15830
15831
15832
15833
15834
15835
15836
15837
15838
15839
15840
15841
15842
15843
15844
15845
15846
15847
15848
15849
15850
15851
15852
15853
15854
15855
15856
15857
15858
15859
15860
15861
15862
15863
15864
15865
15866
15867
15868
15869
15870
15871
15872
15873
15874
15875
15876
15877
15878
15879
15880
15881
15882
15883
15884
15885
15886
15887
15888
15889
15890
15891
15892
15893
15894
15895
15896
15897
15898
15899
15900
15901
15902
15903
15904
15905
15906
15907
15908
15909
15910
15911
15912
15913
15914
15915
15916
15917
15918
15919
15920
15921
15922
15923
15924
15925
15926
15927
15928
15929
15930
15931
15932
15933
15934
15935
15936
15937
15938
15939
15940
15941
15942
15943
15944
15945
15946
15947
15948
15949
15950
15951
15952
15953
15954
15955
15956
15957
15958
15959
15960
15961
15962
15963
15964
15965
15966
15967
15968
15969
15970
15971
15972
15973
15974
15975
15976
15977
15978
15979
15980
15981
15982
15983
15984
15985
15986
15987
15988
15989
15990
15991
15992
15993
15994
15995
15996
15997
15998
15999
16000
16001
16002
16003
16004
16005
16006
16007
16008
16009
16010
16011
16012
16013
16014
16015
16016
16017
16018
16019
16020
16021
16022
16023
16024
16025
16026
16027
16028
16029
16030
16031
16032
16033
16034
16035
16036
16037
16038
16039
16040
16041
16042
16043
16044
16045
16046
16047
16048
16049
16050
16051
16052
16053
16054
16055
16056
16057
16058
16059
16060
16061
16062
16063
16064
16065
16066
16067
16068
16069
16070
16071
16072
16073
16074
16075
16076
16077
16078
16079
16080
16081
16082
16083
16084
16085
16086
16087
16088
16089
16090
16091
16092
16093
16094
16095
16096
16097
16098
16099
16100
16101
16102
16103
16104
16105
16106
16107
16108
16109
16110
16111
16112
16113
16114
16115
16116
16117
16118
16119
16120
16121
16122
16123
16124
16125
16126
16127
16128
16129
16130
16131
16132
16133
16134
16135
16136
16137
16138
16139
16140
16141
16142
16143
16144
16145
16146
16147
16148
16149
16150
16151
16152
16153
16154
16155
16156
16157
16158
16159
16160
16161
16162
16163
16164
16165
16166
16167
16168
16169
16170
16171
16172
16173
16174
16175
16176
16177
16178
16179
16180
16181
16182
16183
16184
16185
16186
16187
16188
16189
16190
16191
16192
16193
16194
16195
16196
16197
16198
16199
16200
16201
16202
16203
16204
16205
16206
16207
16208
<?xml version="1.0" encoding="UTF-8"?>
<fpdoc-descriptions>
  <package name="lcl">
    <!--
      ====================================================================
        Grids
      ====================================================================
    -->
    <module name="Grids">
      <short>Classes for displaying tabular data as a series of rows and columns.</short>
      <descr>
        <p>
          <file>grids.pas</file> contains classes, types, constants, variables, and routines used to implement grid controls for the Lazarus Component Library (<b>LCL</b>). Classes include:
        </p>
        <ul>
          <li>TVirtualGrid</li>
          <li>TCustomGrid</li>
          <li>TDrawGrid</li>
          <li>TStringGrid</li>
        </ul>
        <p>
          Original author:  Jesus Reyes Aguilar (jesusrmx@yahoo.com.mx) [2002]
        </p>
      </descr>

      <element name="Classes"/>
      <element name="SysUtils"/>
      <element name="Types"/>
      <element name="TypInfo"/>
      <element name="Math"/>
      <element name="FPCanvas"/>
      <element name="HtmlDefs"/>
      <element name="StrUtils"/>
      <element name="LCLStrConsts"/>
      <element name="LCLType"/>
      <element name="LCLIntf"/>
      <element name="Controls"/>
      <element name="Graphics"/>
      <element name="Forms"/>
      <element name="LMessages"/>
      <element name="StdCtrls"/>
      <element name="LResources"/>
      <element name="MaskEdit"/>
      <element name="Buttons"/>
      <element name="Clipbrd"/>
      <element name="Themes"/>
      <element name="ImgList"/>
      <element name="LazFileUtils"/>
      <element name="DynamicArray"/>
      <element name="Maps"/>
      <element name="LazUTF8"/>
      <element name="Laz2_XMLCfg"/>
      <element name="LazLoggerBase"/>
      <element name="LazUtilities"/>
      <element name="LCSVUtils"/>
      <element name="IntegerList"/>
      <element name="Messages"/>

      <element name="GRIDFILEVERSION">
        <short>Current revision level for the <file>grids.pas</file> file.</short>
        <descr>
          <dl>
            <dt>1</dt>
            <dd>Initial revision</dd>
            <dt>2</dt>
            <dd>Introduced goSmoothScroll grid option</dd>
            <dt>3</dt>
            <dd>Introduced Col/Row FixedAttr and NormalAttr</dd>
          </dl>
        </descr>
        <seealso/>
      </element>

      <element name="GM_SETVALUE">
        <short>Lazarus message for setting the value in a grid edit control.</short>
      </element>

      <element name="GM_GETVALUE">
        <short>Lazarus message for getting the value in a grid edit control.</short>
      </element>

      <element name="GM_SETGRID">
        <short>Lazarus message for setting the grid for an edit control.</short>
      </element>

      <element name="GM_SETBOUNDS">
        <short>Lazarus message for setting the bounds for a grid edit control.</short>
      </element>

      <element name="GM_SELECTALL">
        <short>Lazarus message for selecting the content in a grid edit control.</short>
      </element>

      <element name="GM_SETMASK">
        <short>Lazarus message for setting the edit mask used in a grid edit control.</short>
      </element>

      <element name="GM_SETPOS">
        <short>Lazarus message for setting the position of a grid edit control.</short>
      </element>

      <element name="GM_READY">
        <short>Lazarus message sent when the grid can display its editing controls.</short>
      </element>

      <element name="GM_GETGRID">
        <short>Lazarus message used to get the grid for an editing control.</short>
      </element>

      <element name="EO_AUTOSIZE">
        <short>Represents the auto-size editor option in a grid message.</short>
        <descr/>
        <seealso/>
      </element>

      <element name="EO_HOOKKEYDOWN">
        <short>Represents the hook key down editor option in a grid message.</short>
        <descr/>
        <seealso/>
      </element>

      <element name="EO_HOOKKEYPRESS">
        <short>Represents the hook key press editor option in a grid message.</short>
        <descr/>
        <seealso/>
      </element>

      <element name="EO_HOOKKEYUP">
        <short>Represents the hook key up editor option in a grid message.</short>
        <descr/>
        <seealso/>
      </element>

      <element name="EO_SELECTALL">
        <short>Represents the select all content editor option in a grid message.</short>
        <descr/>
        <seealso/>
      </element>

      <element name="EO_IMPLEMENTED">
        <short>Represents the implemented editor option in a grid message.</short>
        <descr/>
        <seealso/>
      </element>

      <element name="DEFCOLWIDTH">
        <short>Default width for columns in a grid control.</short>
        <descr>
          <p>
            <var>DEFCOLWIDTH</var> is a constant used as the default width for columns in a grid control. The value for the constant is <b>64</b> (pixels). DEFCOLWIDTH is used when getting the value for the <var>DefColWidth</var> in <var>TCustomGrid</var>.
          </p>
        </descr>
        <seealso>
          <link id="TCustomGrid.DefaultColWidth"/>
        </seealso>
      </element>

      <element name="DEFBUTTONWIDTH">
        <short>Default width for edit control buttons in a grid.</short>
        <descr>
          <p>
            <var>DEFBUTTONWIDTH</var> is a constant that contains the default width for the button displayed in a grid cell editor. The value for the constant is <b>25</b> (pixels). DEFBUTTONWIDTH is used when setting the bounds for <var>TButtonCellEditor</var> controls.
          </p>
        </descr>
        <seealso>
          <link id="TButtonCellEditor"/>
        </seealso>
      </element>

      <element name="DEFIMAGEPADDING">
        <short>Default padding used for title images displayed in a grid.</short>
        <descr>
          <p>
            <var>DEFIMAGEPADDING</var> is a constant which contains the padding added to images displayed in the fixed title area for grid controls. The value for the constant is <b>2</b> (pixels). DEFIMAGEPADDING is used in methods like <var>TCustomGrid.DrawColumnTitleImage</var> and <var>TCustomStringGrid.AutoAdjustColumn</var>.
          </p>
        </descr>
        <seealso>
          <link id="TCustomGrid.DrawColumnTitleImage"/>
          <link id="TCustomStringGrid.AutoAdjustColumn"/>
        </seealso>
      </element>

      <element name="EGridException">
        <short>Exception raised for an error occurring in a Grid class.</short>
        <descr>
          <p>
            Used mainly when a row or a column position is invalid for a grid control.
          </p>
        </descr>
        <seealso>
        </seealso>
      </element>

      <element name="TGridOption">
        <short>Represents grip option values available for grid controls.</short>
        <descr>
          <p>
            <var>TGridOption</var> is an enumerated type with values that represent grid options available in LCL grid controls. Values from TGridOption are stored in a <var>TGridOptions</var> set type to indicate that the grid feature or behavior is enabled.
          </p>
          <p>
            Values from TGridOption are stored in the <var>DefaultGridOptions</var> constant which defines the default set of options for LCL grid controls.
          </p>
        </descr>
        <seealso>
          <link id="TGridOptions"/>
          <link id="TGridOptions2"/>
          <link id="DefaultGridOptions"/>
          <link id="TCustomGrid.Options"/>
          <link id="TCustomGrid.Options2"/>
        </seealso>
      </element>
      <element name="TGridOption.goFixedVertLine">
        <short>Shows vertical lines around fixed cells.</short>
      </element>
      <element name="TGridOption.goFixedHorzLine">
        <short>Shows horizontal lines around fixed cells.</short>
      </element>
      <element name="TGridOption.goVertLine">
        <short>Show vertical lines.</short>
      </element>
      <element name="TGridOption.goHorzLine">
        <short>Show horizontal lines.</short>
      </element>
      <element name="TGridOption.goRangeSelect">
        <short>Enables range selection for grid cells.</short>
      </element>
      <element name="TGridOption.goDrawFocusSelected">
        <short>Enables focused drawing for selected cell(s).</short>
      </element>
      <element name="TGridOption.goRowSizing">
        <short>Allow user to change row height.</short>
      </element>
      <element name="TGridOption.goColSizing">
        <short>Allow user to change column width.</short>
      </element>
      <element name="TGridOption.goRowMoving">
        <short>Enables moving the position of an entire row in a grid.</short>
      </element>
      <element name="TGridOption.goColMoving">
        <short>Enables moving the position of an entire column in a grid.</short>
      </element>
      <element name="TGridOption.goEditing">
        <short>Allows editing in grid cells.</short>
        <seealso/>
      </element>
      <element name="TGridOption.goAutoAddRows">
        <short>Automatically add new rows.</short>
        <descr>
          Does not add rows if the last cell is empty and <var>goAutoAddRowsSkipContentCheck</var> is not set.
        </descr>
        <seealso/>
      </element>
      <element name="TGridOption.goTabs">
        <short>Controls Tab key behavior in the grid.</short>
        <descr>
          <p>
            When included in the <var>TCustomGrid.Options</var> property, the <b>Tab</b> key changes the active cell within the grid. When omitted from the grid <var>Options</var>, the <b>Tab</b> key changes to the next active control.
          </p>
          </descr>
          <seealso>
            <link id="TCustomGrid.Options"/>
          </seealso>
      </element>

      <element name="TGridOption.goRowSelect">
        <short>Select the whole row instead of only one cell.</short>
      </element>
      <element name="TGridOption.goAlwaysShowEditor">
        <short>Always shows the cell editor.</short>
        <descr>
          <p>
            Always shows the cell editor. If not set, the user has to enter edit mode by data characters for the cell, or by pressing the <b>F2</b> key.
          </p>
        </descr>
      </element>
      <element name="TGridOption.goThumbTracking">
        <short>Enables tracking of the thumb position in grid scroll bars.</short>
      </element>
      <element name="TGridOption.goColSpanning">
        <short>Enable cellextent calculations.</short>
      </element>
      <element name="TGridOption.goRelaxedRowSelect">
        <short>User can see focused cell on goRowSelect.</short>
      </element>
      <element name="TGridOption.goDblClickAutoSize">
        <short>Double clicking column's borders (on headers) resize column.</short>
      </element>
      <element name="TGridOption.goSmoothScroll">
        <short>Switch scrolling mode.</short>
        <descr>Default is pixel scroll.</descr>
      </element>
      <element name="TGridOption.goFixedRowNumbering">
        <short>Show row numbers in first fixed column.</short>
        <descr>
          <p>
            The displayed row numbers starts with 1. The row number is displayed when no text has been directly assigned to the fixed cell.
          </p>
        </descr>
        <seealso>
          <link id="TCustomGrid.FixedCols"/>
        </seealso>
      </element>
      <element name="TGridOption.goScrollKeepVisible">
        <short>Keeps focused cell visible while scrolling.</short>
      </element>
      <element name="TGridOption.goHeaderHotTracking">
        <short>Header cells change look when mouse is over them.</short>
        <descr/>
        <seealso/>
      </element>
      <element name="TGridOption.goHeaderPushedLook">
        <short>Header cells looks pushed when clicked.</short>
        <descr/>
        <seealso/>
      </element>
      <element name="TGridOption.goSelectionActive">
        <short>Setting grid selection also moves the cell cursor.</short>
        <descr/>
        <seealso/>
      </element>
      <element name="TGridOption.goFixedColSizing">
        <short>Allow to resize fixed columns.</short>
        <seealso/>
      </element>
      <element name="TGridOption.goDontScrollPartCell">
        <short>Selecting a partially visible cell will not scroll the grid content.</short>
        <descr/>
        <seealso/>
      </element>
      <element name="TGridOption.goCellHints">
        <short>Show individual cell hints.</short>
        <descr>
          Requires the <link id="TControl.ShowHint">ShowHint</link> to be set to <var>TRUE</var>. If set, the  <link id="TControl.Hint">Hint</link> will be ignored. Instead the  <link id="TCustomGrid.OnGetCellHint">OnGetCellHint</link> event will be called for each cell.
        </descr>
        <seealso>
          <link id="TControl.Hint"/>
          <link id="TControl.ShowHint"/>
          <link id="TCustomGrid.OnGetCellHint"/>
        </seealso>
      </element>
      <element name="TGridOption.goTruncCellHints">
        <short>Truncates cell hints when they are longer than the cell content.</short>
        <descr/>
        <seealso/>
      </element>
      <element name="TGridOption.goCellEllipsis">
        <short>Shows an Ellipsis (...) at the end of truncated cell hints.</short>
        <descr/>
        <seealso/>
      </element>
      <element name="TGridOption.goAutoAddRowsSkipContentCheck">
        <short>Also add a row if last row is empty.</short>
        <descr>
          <var>goAutoAddRows</var> must also be set. Otherwise this option does not take effect at all.
        </descr>
        <seealso/>
      </element>
      <element name="TGridOption.goRowHighlight">
        <short>Highlights the current Row in a grid control.</short>
        <descr/>
        <seealso/>
      </element>

      <element name="TGridOptions">
        <short>Set type used to store enabled grid options.</short>
        <descr>
          <p>
            <var>TGridOptions</var> is a set type used to store values from the <var>TGridOption</var> enumeration. The features or behaviors in TGridOption are enabled when their enumeration values are included in the set. TGridOptions is the type used for the <var>TCustomGrid.Options</var> property.
          </p>
        </descr>
        <seealso>
          <link id="TCustomGrid.Options"/>
        </seealso>
      </element>

      <element name="TGridOption2">
        <short>Represents grid options introduced in Version 2 of grid controls.</short>
        <descr/>
        <seealso/>
      </element>

      <element name="TGridOption2.goScrollToLastCol">
        <short>Allows scrolling to last column (so that last column can be leftcol).</short>
        <descr/>
        <seealso/>
      </element>
      <element name="TGridOption2.goScrollToLastRow">
        <short>Allows scrolling to last row (so that last row can be toprow).</short>
        <descr/>
        <seealso/>
      </element>

      <element name="TGridOptions2">
        <short>Set type used to store enabled grid options from TGridOption2.</short>
        <descr/>
        <seealso/>
      </element>

      <element name="TGridSaveOptions">
        <short>Represents save options available for LCL grid controls.</short>
        <descr/>
        <seealso/>
      </element>
      <element name="TGridSaveOptions.soDesign">
        <short>Enables saving grid structure (col/row count and Options).</short>
      </element>
      <element name="TGridSaveOptions.soAttributes">
        <short>Enables saving grid attributes (Font, Brush, TextStyle).</short>
      </element>
      <element name="TGridSaveOptions.soContent">
        <short>Enables saving Grid content (Text in TStringGrid).</short>
      </element>
      <element name="TGridSaveOptions.soPosition">
        <short>Enables saving the Grid cursor and selection position.</short>
      </element>

      <element name="TSaveOptions">
        <short>Set type used to store TGridSaveOptions values.</short>
        <descr/>
        <seealso/>
      </element>

      <element name="TGridDrawState">
        <short>Enumeration with Grid draw state values.</short>
        <descr>
          <p>
            <var>TGridDrawState</var> is an enumeration with values that represent grid drawing states for  a grid control. Values in TGridDrawState indicate the display attributes applied to a row, column, or individual cell in a grid control.
          </p>
          <p>
            TGridDrawState arguments are passed to event handlers and methods in <var>TCustomGrid</var>.
          </p>
        </descr>
        <seealso>
          <link id="TOnDrawCell"/>
          <link id="TOnPrepareCanvasEvent"/>
          <link id="TCustomGrid.DrawCell"/>
          <link id="TCustomGrid.DrawCellGrid"/>
          <link id="TCustomGrid.DrawCellText"/>
          <link id="TCustomGrid.DrawButtonCell"/>
          <link id="TCustomGrid.DrawColumnText"/>
          <link id="TCustomGrid.DrawTextInCell"/>
          <link id="TCustomGrid.DrawThemedCell"/>
        </seealso>
      </element>
      <element name="TGridDrawState.gdSelected">
        <short>Drawn in its Selected state.</short>
      </element>
      <element name="TGridDrawState.gdFocused">
        <short>Drawn in its Focused state.</short>
      </element>
      <element name="TGridDrawState.gdFixed">
        <short>Drawn using the Fixed cell colors.</short>
      </element>
      <element name="TGridDrawState.gdHot">
        <short>Drawn using the Hot display attributes.</short>
      </element>
      <element name="TGridDrawState.gdPushed">
        <short>Drawn in a Pushed state.</short>
      </element>
      <element name="TGridDrawState.gdRowHighlight">
        <short>Drawn using the row highlighting color.</short>
      </element>

      <element name="TGridState">
        <short>Enumerated type with grid state values.</short>
        <descr>
          <p>
            <var>TGridState</var> is an enumerated type with values that reflect the state in a grid control. TGridState values represent actions performed using a grid control, rather the display state for rows, columns, and/or cells.
          </p>
          <p>
            TCustomGrid maintains an internal TGridState member used to track the state for the grid control. Methods in TCustomGrid cause the value in the member to be read or updated to reflect the request and/or completion of an action in the grid control.
          </p>
          <p>
            Use the TCustomGrid.Options and TCustomGrid.Options2 properties to determine if specific features or behaviors are enabled for a grid control.
          </p>
        </descr>
        <seealso>
          <link id="TCustomGrid"/>
          <link id="TCustomGrid.Options"/>
          <link id="TCustomGrid.Options2"/>
        </seealso>
      </element>
      <element name="TGridState.gsNormal">
        <short>Normal state for the grid when navigation or editing can be performed.</short>
      </element>
      <element name="TGridState.gsSelecting">
        <short>Grid is selecting a row, column, or cell after keyboard or mouse activity.</short>
      </element>
      <element name="TGridState.gsRowSizing">
        <short>Grid is resizing a row.</short>
      </element>
      <element name="TGridState.gsColSizing">
        <short>Grid is resizing a column.</short>
      </element>
      <element name="TGridState.gsRowMoving">
        <short>Grid is moving or dragging a row.</short>
      </element>
      <element name="TGridState.gsColMoving">
        <short>Grid is moving or dragging a column.</short>
      </element>

      <element name="TGridState.gsHeaderClicking">
        <short>A fixed header cell has been clicked in the Grid.</short>
      </element>
      <element name="TGridState.gsButtonColumnClicking">
        <short>A button in a column has been clicked.</short>
      </element>

      <element name="TGridZone">
        <short>Enumerated type for grid zone values.</short>
        <descr>
          <p>
            <var>TGridZone</var> is an enumeration type with values representing zones in a grid control which are monitored to determine activity and subsequent changes in the grid control state.
          </p>
        </descr>
        <seealso/>
      </element>
      <element name="TGridZone.gzNormal">
        <short>Area normally used for cell data (not fixed row or column headers).</short>
      </element>
      <element name="TGridZone.gzFixedCols">
        <short>Area used for fixed column headers </short>
      </element>
      <element name="TGridZone.gzFixedRows">
        <short>Area used for fixed row headers </short>
      </element>
      <element name="TGridZone.gzFixedCells">
        <short>Area for fixed cells (both column and row are fixed).</short>
      </element>
      <element name="TGridZone.gzInvalid">
        <short>Area not valid for grid cells.</short>
      </element>

      <element name="TGridZoneSet">
        <short>Set type used to store TGridZone enumeration values.</short>
        <descr/>
        <seealso/>
      </element>

      <element name="TAutoAdvance">
        <short>Enumerated type with values controlling grid auto advance behavior.</short>
        <descr>
          <p>
            <var>TAutoAdvance</var> is an enumerated type with values that represent the auto advance behaviors available in a grid control. TAutoAdvance is the type used to represent the <var>AutoAdvance</var> and <var>TabAdvance</var> properties in <var>TCustomGrid</var>.
          </p>
        </descr>
        <seealso>
          <link id="TCustomGrid.AutoAdvance"/>
          <link id="TCustomGrid.TabAdvance"/>
          <link id="TCustomGrid.MoveNextSelectable"/>
          <link id="TCustomGrid.MouseDown"/>
          <link id="TCustomGrid.KeyDown"/>
        </seealso>
      </element>
      <element name="TAutoAdvance.aaNone">
        <short>Auto advance is not enabled.</short>
      </element>
      <element name="TAutoAdvance.aaDown">
        <short>Advances down to the next row in the grid.</short>
      </element>
      <element name="TAutoAdvance.aaRight">
        <short>Advances to the right (next cell) in the grid.</short>
      </element>
      <element name="TAutoAdvance.aaLeft">
        <short>Advances to the left (previous cell) in the grid.</short>
      </element>

      <element name="TAutoAdvance.aaRightDown">
        <short>Advances to the right and then to the next row.</short>
      </element>
      <element name="TAutoAdvance.aaLeftDown">
        <short>Advances to the left and then to the next row.</short>
      </element>
      <element name="TAutoAdvance.aaRightUp">
        <short>Advances to the right and then to the previous row.</short>
      </element>
      <element name="TAutoAdvance.aaLeftUp">
        <short>Advances to the left and then to the previous row.</short>
      </element>

      <element name="TRangeSelectMode">
        <short>Range selection modes available in a grid control.</short>
        <descr/>
        <seealso/>
      </element>
      <element name="TRangeSelectMode.rsmSingle">
        <short>Allows range selection for a single range in a grid.</short>
        <descr/>
        <seealso/>
      </element>
      <element name="TRangeSelectMode.rsmMulti">
        <short>Allows range selection for multiple ranges in a grid.</short>
        <descr/>
        <seealso/>
      </element>

      <element name="TItemType">
        <short>
          Not used in the current LCL implementation.
        </short>
        <descr>
          <p>
            Not used in the current LCL implementation.
          </p>
        </descr>
        <seealso/>
      </element>
      <element name="TItemType.itNormal">
        <short/>
      </element>
      <element name="TItemType.itCell">
        <short/>
      </element>
      <element name="TItemType.itColumn">
        <short/>
      </element>
      <element name="TItemType.itRow">
        <short/>
      </element>
      <element name="TItemType.itFixed">
        <short/>
      </element>
      <element name="TItemType.itFixedColumn">
        <short/>
      </element>
      <element name="TItemType.itFixedRow">
        <short/>
      </element>
      <element name="TItemType.itSelected">
        <short/>
      </element>

      <element name="TColumnButtonStyle">
        <short>Enumeration with cell editor types available in a grid control.</short>
        <descr>
          <p>
            <var>TColumnButtonStyle</var> is an enumerated type with values that represent the different cell editor types available in a grid control. TColumnButtonStyle is the type used for the <var>TGridColumn.ButtonStyle</var> property, and passed as an argument when an editor is requested for a column definition. It is also used when the <var>TCustomGrid.GetDefaultEditor</var> method is called to get the default cell editor for a given column.
          </p>
        </descr>
        <seealso>
          <link id="TGridColumn.ButtonStyle"/>
          <link id="TCustomGrid.GetDefaultEditor"/>
        </seealso>
      </element>

      <element name="TColumnButtonStyle.cbsAuto">
        <short>Button style is automatically determined by the grid control. Results in a TStringCellEditor being used for the cell.</short>
      </element>
      <element name="TColumnButtonStyle.cbsEllipsis">
        <short>Button style with an Ellipsis (<b>...</b>) is displayed as the cell editor. Results in a TCompositeCellEditor being used for the cell.</short>
      </element>
      <element name="TColumnButtonStyle.cbsNone">
        <short>Indicates no editor is required for a cell.</short>
      </element>
      <element name="TColumnButtonStyle.cbsPickList">
        <short>Indicates a Pick List is used in the grid column. Results in a TPickListCellEditor being used for the cell.</short>
      </element>
      <element name="TColumnButtonStyle.cbsCheckboxColumn">
        <short>Indicates a CheckBox is displayed as the editor for the grid column.</short>
      </element>
      <element name="TColumnButtonStyle.cbsButton">
        <short>Indicates a cell editor with a Button is used in the grid column. Causes a TButtonCellEditor to be created.</short>
      </element>
      <element name="TColumnButtonStyle.cbsButtonColumn">
        <short>Indicates a button centered in the cell is used in the grid column.</short>
      </element>

      <element name="TTitleStyle">
        <short>Enumeration with values that control the display style for fixed title cells.</short>
        <descr>
          <p>
            <var>TTitleStyle</var> is an enumerated type with values that determine the drawing style used for fixed title cells in a grid. TTitleStyle is the type used to implement the <var>TCustomGrid.TitleStyle</var> property, and used in the implementation of the <var>TCustomGrid.DrawCellGrid</var> method.
          </p>
        </descr>
        <seealso>
          <link id="TCustomGrid.TitleStyle"/>
          <link id="TCustomGrid.DrawCellGrid"/>
        </seealso>
      </element>
      <element name="TTitleStyle.tsLazarus">
        <short>Titles are displayed using the Lazarus drawing style.</short>
      </element>
      <element name="TTitleStyle.tsStandard">
        <short>Titles are displayed using the standard drawing style (higher contrast).</short>
      </element>
      <element name="TTitleStyle.tsNative">
        <short>Titles are displayed using the drawing style Native to the OS or platform.</short>
      </element>

      <element name="TGridFlagsOption">
        <short>Represents state flags used in a grid control.</short>
        <descr>
          <p>
            <var>TGridFlagsOption</var> is an enumerated type with values which reflect temporal state changes in a grid control. Values from TGridFlagsOption are stored at run-time in the <var>TGridFlags</var> set type used for the <var>TCustomGrid.GridFlags</var> property.
          </p>
        </descr>
        <seealso>
          <link id="TCustomGrid.GridFlags"/>
          <link id="TGridFlags"/>
        </seealso>
      </element>
      <element name="TGridFlagsOption.gfEditorUpdateLock">
        <short>Indicates a cell is locked during a cell editor update.</short>
      </element>
      <element name="TGridFlagsOption.gfNeedsSelectActive">
        <short>Indicates a selection needs to be active prior to mouse down or move actions.</short>
      </element>
      <element name="TGridFlagsOption.gfEditorTab">
        <short>Indicates a Tab key can be applied to focus the next cell in the grid.</short>
      </element>
      <element name="TGridFlagsOption.gfRevEditorTab">
        <short>Indicates if Shift+Tab can be used to select the previous cell in the grid.</short>
      </element>
      <element name="TGridFlagsOption.gfVisualChange">
        <short>Indicates visible changes to row or column sizes can be applied to the grid.</short>
      </element>
      <element name="TGridFlagsOption.gfColumnsLocked">
        <short>Indicates columns in the grid are locked and cannot be reordered.</short>
      </element>
      <element name="TGridFlagsOption.gfEditingDone">
        <short>Indicates editing using a cell editor has been completed.</short>
      </element>
      <element name="TGridFlagsOption.gfSizingStarted">
        <short>Indicates a row or column sizing action is in effect.</short>
      </element>
      <element name="TGridFlagsOption.gfPainting">
        <short>Indicates the grid is being redrawn.</short>
      </element>
      <element name="TGridFlagsOption.gfUpdatingSize">
        <short>Indicates the grid is updating its size.</short>
      </element>
      <element name="TGridFlagsOption.gfClientRectChange">
        <short>Indicates the client rectangle for the grid has changed.</short>
      </element>
      <element name="TGridFlagsOption.gfAutoEditPending">
        <short>Indicates a cell editor is being prepared for a newly selected cell in the grid.</short>
      </element>
      <element name="TGridFlagsOption.gfUpdatingScrollbar">
        <short>Indicates the visibility of scrollbar(s) has been changed for a grid.</short>
      </element>

      <element name="TGridFlags">
        <short>Set type used to store TGridFlagsOption enumeration values.</short>
        <descr>
          <p>
            <var>TGridFlags</var> is a set type used to store <var>TGridFlagsOption</var> enumeration values. TGridFlags is the type used to implement the <var>TCustomGrid.GridFlags</var> property.
          </p>
        </descr>
        <seealso>
          <link id="TGridFlagsOption"/>
          <link id="TCustomGrid.GridFlags"/>
        </seealso>
      </element>

      <element name="TSortOrder">
        <short>Enumerated type with sort orders supported in a grid control.</short>
        <descr>
          <p>
            <var>TSortOrder</var> is an enumerated type with values for the sort orders supported in a grid control. TSortOrder is the type used to implement the <var>TCustomGrid.SortOrder</var> property.
          </p>
        </descr>
        <seealso>
          <link id="TCustomGrid.SortOrder"/>
        </seealso>
      </element>
      <element name="TSortOrder.soAscending">
        <short>Rows are sorted such that the column is in ascending order.</short>
      </element>
      <element name="TSortOrder.soDescending">
        <short>Rows are sorted such that the column is in descending order.</short>
      </element>

      <element name="TPrefixOption">
        <short>Indicates if accelerator keys in column titles are handled for a grid.</short>
        <descr/>
        <seealso/>
      </element>
      <element name="TPrefixOption.poNone">
        <short>Accelerator keys are ignored in the grid column.</short>
      </element>
      <element name="TPrefixOption.poHeaderClick">
        <short>Accelerator keys emulate a mouse click on the column title.</short>
      </element>

      <element name="TMouseWheelOption">
        <short>Enumerated type with values that control mouse wheel operation in a grid.</short>
        <descr/>
        <seealso/>
      </element>
      <element name="TMouseWheelOption.mwCursor">
        <short>Causes the mouse wheel to move the cursor on the screen.</short>
      </element>
      <element name="TMouseWheelOption.mwGrid">
        <short>Causes the mouse wheel to scroll the content in the grid.</short>
      </element>

      <element name="TCellHintPriority">
        <short>Represents the cell hint display priorities.</short>
        <descr>
          <p>
            A grid control can display three types of hint: the default hint (in the Hint property), individual cell hints (using the OnCellHint event), and hints for truncated cells. TCellHintPriority determines how the hint text is determined when multiple hint text values are available for display.
          </p>
        </descr>
        <seealso>
        </seealso>
      </element>
      <element name="TCellHintPriority.chpAll">
        <short>Uses all hints (control and cell hints) including short and long display text values.</short>
      </element>
      <element name="TCellHintPriority.chpAllNoDefault">
        <short>Uses all hints except the default hint for the grid control.</short>
      </element>
      <element name="TCellHintPriority.chpTruncOnly">
        <short>Uses the truncated cell hint text.</short>
      </element>

      <element name="TCellProcessType">
        <short>Identifies the action performed for cell content.</short>
        <descr>
          <p>
            <var>TCellProcessType</var> is an enumerated type with values that identify the action performed for the content in a grid cell. Values in the enumeration indicate whether cell content is copied or pasted in event handlers. TCellProcessType arguments are passed  to the <var>TCustomStringGrid.OnCellProcess</var> event handler.
          </p>
        </descr>
        <seealso>
          <link id="TCellProcessEvent"/>
          <link id="TCustomStringGrid.OnCellProcess"/>
        </seealso>
      </element>
      <element name="TCellProcessType.cpCopy">
        <short>Copies the content in a grid cell.</short>
      </element>
      <element name="TCellProcessType.cpPaste">
        <short>Pastes content into the grid cell.</short>
      </element>

      <element name="soAll">
        <short>All save options available for grid controls.</short>
        <descr>
          <p>
            <var>soAll</var> is a <var>TSaveOptions</var> constant with the set representing all of the TGridSaveOptions values available for a LCL grid control.
          </p>
        </descr>
        <seealso>
          <link id="TGridSaveOptions"/>
        </seealso>
      </element>

      <element name="DefaultGridOptions">
        <short>Set with the default grid options enabled for instances of the grid control.</short>
        <descr>
          <p>
            <var>DefaultGridOptions</var> is used as the default value for the <var>Options</var> property in <var>TCustomGrid</var>.
          </p>
        </descr>
        <seealso>
          <link id="TCustomGrid.Options"/>
        </seealso>
      </element>

      <element name="DefaultGridOptions2">
        <short>Default grid options enabled for version 2 of the grid control.</short>
        <descr>
          <p>
            <var>DefaultGridOptions2</var> is used as the default value for the <var>Options2</var> property in <var>TCustomGrid</var>.
          </p>
        </descr>
        <seealso>
          <link id="TCustomGrid.Options2"/>
        </seealso>
      </element>

      <element name="constRubberSpace">
        <short>Default spacing around rubber band rectangles.</short>
        <descr/>
        <seealso/>
      </element>

      <element name="constCellPadding">
        <short>Default padding for the content in grid cells.</short>
        <descr>
          <p>
            Cell padding is the amount of space added around cell values and hints drawn for a grid control. The value represents the number of pixels added to the boundaries at the default display density (96 PPI). The value may be scaled and stored in the <var>varCellPadding</var> variable when a new instance of a grid control is created. varCellPadding contains the padding value actually applied to the values and hints in the control.
          </p>
        </descr>
        <seealso>
          <link id="varCellPadding"/>
          <link id="TCustomGrid.Create"/>
          <link id="TCustomGrid.ShowCellHintWindow"/>
          <link id="TCustomGrid.DrawCellText"/>
          <link id="TCustomGrid.DrawGridCheckboxBitmaps"/>
          <link id="TCustomStringGrid.AutoAdjustColumn"/>
        </seealso>
      </element>

      <element name="constColRowBorderTolerance">
        <short>Minimum proximity to row or column borders for resizing operations.</short>
        <descr/>
        <seealso/>
      </element>

      <element name="varRubberSpace">
        <short>Default padding for the rubber banding rectangle in grid cells.</short>
        <descr/>
        <seealso/>
      </element>

      <element name="varCellpadding">
        <short>Default padding for the content in grid cells.</short>
        <descr>
          <p>
            Cell padding is the amount of space added around cell values and hints drawn for a grid control. The value represents the number of pixels added to the boundaries at the default display density (96 PPI). The value may be scaled and stored in the <var>varCellPadding</var> variable when a new instance of a grid control is created. varCellPadding contains the padding value actually applied to the values and hints in the control.
          </p>
        </descr>
        <seealso>
          <link id="varCellPadding"/>
          <link id="TCustomGrid.Create"/>
          <link id="TCustomGrid.ShowCellHintWindow"/>
          <link id="TCustomGrid.DrawCellText"/>
          <link id="TCustomGrid.DrawGridCheckboxBitmaps"/>
          <link id="TCustomStringGrid.AutoAdjustColumn"/>
        </seealso>
      </element>

      <element name="varColRowBorderTolerance">
        <short>Proximity threshold for a mouse click near a column boundary.</short>
        <descr>
          <p>
            Used during grid column resizing when fixed column sizing has been enabled.
          </p>
        </descr>
        <seealso/>
      </element>

      <element name="PCellProps">
        <short>Pointer to a TCellProps type.</short>
        <descr/>
        <seealso/>
      </element>

      <element name="TCellProps">
        <short>Contains attributes, data, and text for grid cells.</short>
        <descr/>
        <seealso/>
      </element>

      <element name="TCellProps.Attr">
        <short>Attributes for a grid cell.</short>
        <descr/>
        <seealso/>
      </element>

      <element name="TCellProps.Data">
        <short>Data for a grid cell.</short>
        <descr/>
        <seealso/>
      </element>

      <element name="TCellProps.Text">
        <short>Display text for a grid cell.</short>
        <descr/>
        <seealso/>
      </element>

      <element name="PColRowProps">
        <short>Pointer to a TColRowProps type.</short>
        <descr/>
        <seealso/>
      </element>

      <element name="TColRowProps">
        <short>Contains the size and display attributes for a column or row in a grid.</short>
        <descr/>
        <seealso/>
      </element>

      <element name="TColRowProps.Size">
        <short>Not used in the current implementation.</short>
        <descr/>
        <seealso/>
      </element>

      <element name="TColRowProps.FixedAttr">
        <short>Not used in the current implementation.</short>
        <descr/>
        <seealso/>
      </element>

      <element name="TColRowProps.NormalAttr">
        <short>Not used in the current implementation.</short>
        <descr/>
        <seealso/>
      </element>

      <element name="PGridMessage">
        <short>Pointer to a TGridMessage type.</short>
        <descr/>
        <seealso/>
      </element>

      <element name="TGridMessage">
        <short>Contains a LCL message and its auxiliary values.</short>
        <descr>
          <p>
            <var>TGridMessage</var> is a record type with members representing an LCL message passed to cell editors in a string grid. It is passed as an argument to <var>TStringCellEditor</var> methods (msg_SetMask, msg_GetGrid, et. al.) which handle and apply a specific LCL message.
          </p>
        </descr>
        <seealso/>
      </element>
      <element name="TGridMessage.LclMsg">
        <short>The LCL message value.</short>
      </element>
      <element name="TGridMessage.Grid">
        <short>Grid for the LCL message.</short>
      </element>
      <element name="TGridMessage.Col">
        <short>Grid column for the LCL message.</short>
      </element>
      <element name="TGridMessage.Row">
        <short>Grid row for the LCL message.</short>
      </element>
      <element name="TGridMessage.Value">
        <short>Cell value for the LCL message.</short>
      </element>
      <element name="TGridMessage.CellRect">
        <short>Rectangle coordinates for the LCL message.</short>
      </element>
      <element name="TGridMessage.Options">
        <short>Options for the LCL message.</short>
      </element>

      <element name="TStringCellEditor">
        <short>Implements the default editor for cells in TCustomGrid.</short>
        <descr>
          <p>
            <var>TStringCellEditor</var> is a <var>TCustomMaskEdit</var> descendant that implements the default editor for cells in <var>TCustomGrid</var>. TStringCellEditor contains internal members used to reference its Grid control, and to access the row and column numbers for the underlying grid cell. TStringCellEditor also implements methods needed for LCL message passing using <var>TGridMessage</var>. An event handler is also published to perform actions needed when editing has been completed in the cell editor.
          </p>
        </descr>
        <seealso>
          <link id="TCustomGrid"/>
          <link id="TGridMessage"/>
          <link id="#lcl.maskedit.TCustomMaskEdit">TCustomMaskEdit</link>
        </seealso>
      </element>

      <element name="TStringCellEditor.FGrid"/>
      <element name="TStringCellEditor.FCol"/>
      <element name="TStringCellEditor.FRow"/>

      <element name="TStringCellEditor.WndProc">
        <short>Window handling procedure for the cell editor.</short>
        <descr/>
        <seealso/>
      </element>
      <element name="TStringCellEditor.WndProc.TheMessage">
        <short>LCL message for the window handling procedure.</short>
      </element>

      <element name="TStringCellEditor.Change" link="#lcl.stdctrls.TCustomEdit.Change" />

      <element name="TStringCellEditor.KeyDown"  link="#lcl.controls.TWinControl.KeyDown"/>
      <element name="TStringCellEditor.KeyDown.Key">
        <short/>
      </element>
      <element name="TStringCellEditor.KeyDown.Shift">
        <short/>
      </element>

      <element name="TStringCellEditor.msg_SetMask">
        <short>Issues a message for specifying mask.</short>
        <descr/>
        <seealso/>
      </element>
      <element name="TStringCellEditor.msg_SetMask.Msg">
        <short>Message for the control.</short>
      </element>

      <element name="TStringCellEditor.msg_SetValue">
        <short>Issues a message for specifying value.</short>
        <descr/>
        <seealso/>
      </element>
      <element name="TStringCellEditor.msg_SetValue.Msg">
        <short>Message for the control.</short>
      </element>

      <element name="TStringCellEditor.msg_GetValue">
        <short>Issues a message for obtaining value.</short>
        <descr/>
        <seealso/>
      </element>
      <element name="TStringCellEditor.msg_GetValue.Msg">
        <short>Message for the control.</short>
      </element>
      <element name="TStringCellEditor.msg_SetGrid">
        <short>Issues a message for specifying the grid for the editor.</short>
        <descr/>
        <seealso/>
      </element>
      <element name="TStringCellEditor.msg_SetGrid.Msg">
        <short>Message for the control.</short>
      </element>

      <element name="TStringCellEditor.msg_SelectAll">
        <short>Issues a message for Selecting all content in the editor.</short>
        <descr/>
        <seealso/>
      </element>
      <element name="TStringCellEditor.msg_SelectAll.Msg">
        <short>Message for the control.</short>
      </element>

      <element name="TStringCellEditor.msg_SetPos">
        <short>Issues a message for specifying the position for the editor.</short>
      </element>
      <element name="TStringCellEditor.msg_SetPos.Msg">
        <short>Message for the control.</short>
      </element>

      <element name="TStringCellEditor.msg_GetGrid">
        <short>Message used to get the grid control for the cell editor.</short>
        <descr/>
        <seealso/>
      </element>
      <element name="TStringCellEditor.msg_GetGrid.Msg">
        <short>Message for the control.</short>
      </element>

      <element name="TStringCellEditor.Create">
        <short>Constructor for the class instance.</short>
        <descr>
          <p>
            <var>Create</var> is the overridden constructor for the class instance. Create calls the inherited constructor using the value in <var>AOwner</var> as an argument. Create sets the value in the <var>AutoSize</var> property to <b>False</b>.
          </p>
        </descr>
        <seealso>
          <link id="#lcl.stdctrls.TCustomEdit.AutoSize">TCustomEdit.AutoSize</link>
        </seealso>
      </element>
      <element name="TStringCellEditor.Create.AOwner">
        <short>Owner of the class instance.</short>
      </element>

      <element name="TStringCellEditor.EditingDone">
        <short>Performs actions needed when the cell editor has finished editing the value in a cell.</short>
        <descr>
          <p>
            <var>EditingDone</var> is an overridden procedure used to perform actions required when the cell editor has finished editing the value in a cell. EditingDone calls the inherited method, and calls the EditingDone method in the attached Grid control (when assigned) for the cell editor.
          </p>
        </descr>
        <seealso>
        <link id="TCustomGrid.EditingDone"/>
        </seealso>
      </element>

      <element name="TStringCellEditor.EditText" link="#lcl.maskedit.TCustomMaskEdit.EditText">
        <short/>
        <descr>
          EditText is a published property in TStringCellEditor.
        </descr>
        <seealso/>
      </element>

      <element name="TStringCellEditor.OnEditingDone" link="#lcl.maskedit.TCustomMaskEdit.OnEditingDone">
        <short/>
        <descr>
          OnEditingDone is a published property in TStringCellEditor.
        </descr>
        <seealso/>
      </element>

      <element name="TButtonCellEditor">
        <short>The editor used for button cells in a grid.</short>
        <descr>
          <p>
            <var>TButtonCellEditor</var> is a <var>TButton</var> descendant which implements a grid cell editor which uses a button to activate the editor control. TButtonCellEditor maintains interval member variables for the TCustomGrid hosting the editor control. The row and column numbers for the underlying cell in editor control are available in the <var>Row</var> and <var>Col</var> properties. TButtonCellEditor includes methods used to perform LCL message passing using a <var>TGridMessage</var> message type.
          </p>
        </descr>
        <seealso>
          <link id="TCustomGrid"/>
          <link id="TGridMessage"/>
          <link id="TButtonCellEditor.Col"/>
          <link id="TButtonCellEditor.Row"/>
        </seealso>
      </element>

      <element name="TButtonCellEditor.FGrid"/>
      <element name="TButtonCellEditor.FCol"/>
      <element name="TButtonCellEditor.FRow"/>

      <element name="TButtonCellEditor.msg_SetGrid">
        <short>Issues a message to specify the grid for the editor.</short>
        <descr/>
        <seealso/>
      </element>
      <element name="TButtonCellEditor.msg_SetGrid.Msg">
        <short/>
      </element>

      <element name="TButtonCellEditor.msg_SetBounds">
        <short>Issues a message to specifying the bounds for the editor.</short>
        </element>
      <element name="TButtonCellEditor.msg_SetBounds.Msg">
        <short/>
        </element>

      <element name="TButtonCellEditor.msg_SetPos">
        <short>Issues a message to specify the position for the editor.</short>
        <descr/>
        <seealso/>
      </element>
      <element name="TButtonCellEditor.msg_SetPos.Msg">
        <short>LCL message for the grid control.</short>
      </element>

      <element name="TButtonCellEditor.msg_Ready">
        <short>Issues a message when the editor is ready.</short>
      </element>
      <element name="TButtonCellEditor.msg_Ready.Msg">
        <short>LCL message for the grid control.</short>
      </element>

      <element name="TButtonCellEditor.msg_GetGrid">
        <short>Issues a message to get the grid control for the button cell editor.</short>
      </element>
      <element name="TButtonCellEditor.msg_GetGrid.Msg">
        <short>LCL message for the grid control.</short>
      </element>

      <element name="TButtonCellEditor.Col">
        <short>Column number for the grid cell editor.</short>
        <descr>
          <p>
            <var>Col</var> is a public read-only <var>Integer</var> which contains  the column number for the cell hosting the editor control.
          </p>
          <p>
            Use <var>Row</var> to access the row number for the cell hosting the editor control.
          </p>
        </descr>
        <seealso>
          <link id="TButtonCellEditor.Row"/>
        </seealso>
      </element>

      <element name="TButtonCellEditor.Row">
        <short>Row number for the grid cell editor.</short>
        <descr>
          <p>
            <var>Row</var> is a public read-only <var>Integer</var> which contains the row number for the cell hosting the editor control.
          </p>
          <p>
            Use <var>Col</var> to access the column number for the cell hosting the editor control.
          </p>
        </descr>
        <seealso>
          <link id="TButtonCellEditor.Col"/>
        </seealso>
      </element>

      <element name="TPickListCellEditor">
        <short>Implements a cell editor control which displays a Pick List.</short>
        <descr>
          <p>
            <var>TPickListCellEditor</var> is a <var>TCustomComboBox</var> descendant which implements a cell editor control that displays a Pick List. TPickListCellEditor provides overridden methods to alter the behavior of the TCustomComboBox ancestor.
          </p>
          <p>
            TPickListCellEditor has an internal member used to store the <var>TCustomGrid</var> for the cell editor. In addition, the <var>Row</var> and <var>Column</var> numbers for the underlying cell are stored in internal members. TPickListCellEditor provides methods needed to implement LCL message passing using the TGridMessage message type.
          </p>
        </descr>
        <seealso>
          <link id="TGridMessage"/>
        </seealso>
      </element>

      <element name="TPickListCellEditor.FGrid"/>
      <element name="TPickListCellEditor.FCol"/>
      <element name="TPickListCellEditor.FRow"/>

      <element name="TPickListCellEditor.WndProc" link="#lcl.controls.TControl.WndProc"/>
      <element name="TPickListCellEditor.WndProc.TheMessage">
        <short/>
      </element>

      <element name="TPickListCellEditor.KeyDown" link="#lcl.controls.TWinControl.KeyDown"/>
      <element name="TPickListCellEditor.KeyDown.Key">
        <short/>
      </element>
      <element name="TPickListCellEditor.KeyDown.Shift">
        <short/>
      </element>

      <element name="TPickListCellEditor.DropDown" link="#lcl.stdctrls.TCustomComboBox.DropDown"/>
      <element name="TPickListCellEditor.CloseUp" link="#lcl.stdctrls.TCustomComboBox.CloseUp"/>
      <element name="TPickListCellEditor.Select" link="#lcl.stdctrls.TCustomComboBox.Select"/>

      <element name="TPickListCellEditor.Change">
        <short>
          Notifies the Grid control when the value for the cell editor has been changed.
        </short>
        <descr>
          <p>
            <var>Change</var> is an overridden method used to perform actions needed when the value for the control has been changed. In <var>TPickListCellEditor</var>, it ensures that the grid control is notified when the value in the cell editor has been changed.
          </p>
          <p>
            Changed calls the inherited method to signal the <var>OnChange</var> event handler (when assigned).
          </p>
        </descr>
        <seealso>
          <link id="TPickListCellEditor.OnEditingDone"/>
          <link id="#lcl.stdctrls.TCustomComboBox.Change">TCustomComboBox.Change</link>
        </seealso>
      </element>

      <element name="TPickListCellEditor.msg_GetValue">
        <short>Issues a message to find the value for the editor.</short>
        <descr/>
        <seealso/>
      </element>
      <element name="TPickListCellEditor.msg_GetValue.Msg">
        <short>LCL message for the grid control.</short>
      </element>

      <element name="TPickListCellEditor.msg_SetGrid">
        <short>Issues a message to specify the grid for the editor.</short>
        <descr/>
        <seealso/>
      </element>
      <element name="TPickListCellEditor.msg_SetGrid.Msg">
        <short>LCL message for the grid control.</short>
      </element>

      <element name="TPickListCellEditor.msg_SetValue">
        <short>Issues a message to specify the value for the editor.</short>
        <descr/>
        <seealso/>
      </element>
      <element name="TPickListCellEditor.msg_SetValue.Msg">
        <short>LCL message for the grid control.</short>
      </element>

      <element name="TPickListCellEditor.msg_SetPos">
        <short>Issues a message to specify the position for the editor.</short>
      </element>
      <element name="TPickListCellEditor.msg_SetPos.Msg">
        <short>LCL message for the grid control.</short>
      </element>

      <element name="TPickListCellEditor.msg_GetGrid">
        <short>Issues a message to get the grid control for the editor.</short>
      </element>
      <element name="TPickListCellEditor.msg_GetGrid.Msg">
        <short>LCL message for the grid control.</short>
      </element>

      <element name="TPickListCellEditor.EditingDone" link="#lcl.controls.TControl.EditingDone"/>
      <element name="TPickListCellEditor.BorderStyle" link="#lcl.controls.TWinControl.BorderStyle"/>

      <element name="TEditorItem">
        <short>A single item on which a Composite cell editor operates.</short>
      </element>
      <element name="TEditorItem.Editor">
        <short>The <var>Editor</var> to be used for this item.</short>
      </element>
      <element name="TEditorItem.Align">
        <short>How this item is aligned.</short>
      </element>
      <element name="TEditorItem.ActiveControl">
        <short>Returns True if this item is part of an active control.</short>
      </element>

      <element name="TCompositeCellEditor">
        <short>A general purpose editor for cells in a grid.</short>
        <descr/>
        <seealso/>
      </element>

      <element name="TCompositeCellEditor.DoUTF8KeyPress" link="#lcl.controls.TWinControl.DoUTF8KeyPress"/>
      <element name="TCompositeCellEditor.SetFocus" link="#lcl.controls.TWinControl.SetFocus"/>
      <element name="TCompositeCellEditor.VisibleChanging" link="#lcl.controls.TControl.VisibleChanging"/>

      <element name="TCompositeCellEditor.msg_GetValue">
        <short>Issues a message to get the value for the editor.</short>
      </element>
      <element name="TCompositeCellEditor.msg_SetGrid">
        <short>Issues a message to specify grid for the editor.</short>
      </element>
      <element name="TCompositeCellEditor.msg_SetValue">
        <short>Issues a message to specify the value for the editor.</short>
      </element>
      <element name="TCompositeCellEditor.msg_SetBounds">
        <short>Issues a message to specify the bounds for the editor.</short>
      </element>
      <element name="TCompositeCellEditor.msg_SetMask">
        <short>Issues a message to specify the mask for the editor.</short>
      </element>
      <element name="TCompositeCellEditor.msg_SelectAll">
        <short>Issues a message to Select all content in the editor.</short>
      </element>
      <element name="TCompositeCellEditor.CMControlChange">
        <short>Issues a Control Message for a change in a control.</short>
      </element>
      <element name="TCompositeCellEditor.msg_SetPos">
        <short>Issues a message to specify the position for the editor.</short>
      </element>

      <element name="TCompositeCellEditor.msg_GetGrid">
        <short>
          Handles the message to get the Grid control for the composite cell editor.
        </short>
        <descr/>
        <seealso/>
      </element>
      <element name="TCompositeCellEditor.msg_GetGrid.Msg">
        <short>Grid message handled in the method.</short>
      </element>

      <element name="TCompositeCellEditor.GetActiveControl">
        <short>
          Gets the editor marked as the active control for the composite cell editor.
        </short>
        <descr/>
        <seealso/>
      </element>
      <element name="TCompositeCellEditor.GetActiveControl.Result">
        <short>TWinControl descendant that is the editor for an active control.</short>
      </element>

      <element name="TCompositeCellEditor.SendChar">
        <short>Transmits the specified character and returns an integer status result.</short>
        <descr>0 - failure, 1 - success</descr>
      </element>

      <element name="TCompositeCellEditor.WndProc" link="#lcl.controls.TControl.WndProc"/>

      <element name="TCompositeCellEditor.Destroy">
        <short>Destructor for the class instance.</short>
        <descr>
          <p>
            Frees the internal list of <var>TEditorItem</var> instances, and calls the inherited destructor.
          </p>
        </descr>
        <seealso>
          <link id="TCompositeCellEditor.AddEditor"/>
          <link id="TEditorItem"/>
        </seealso>
      </element>

      <element name="TCompositeCellEditor.AddEditor">
        <short>Adds the specified Editor with the given alignment and specified ActiveControl.</short>
        <descr/>
        <seealso/>
      </element>

      <element name="TCompositeCellEditor.Focused">
        <short>Indicates if the composite control and one of its editors are focused.</short>
        <descr/>
        <seealso/>
      </element>
      <element name="TCompositeCellEditor.Focused.Result">
        <short>True when the control and one of its editors are focused.</short>
      </element>

      <element name="TCompositeCellEditor.MaxLength">
        <short>Maximum length for the value in the composite editor control.</short>
        <descr>
          <p>
            The property value contains the maximum length from the <var>TCustomEdit</var> control in <var>ActiveControl</var>. Changing the value for the property causes the <var>MaxLength</var> property in the TCustomEdit control to be updated.
          </p>
        </descr>
        <seealso/>
      </element>

      <element name="TCompositeCellEditor.ActiveControl">
        <short>
          Contains the active control in use in one of the editors for the composite control.
        </short>
        <descr/>
        <seealso/>
      </element>

      <element name="TOnDrawCell">
        <short>Defines the event handler signalled to draw a cell a grid control.</short>
        <descr/>
        <seealso/>
      </element>
      <element name="TOnDrawCell.Sender">
        <short>Grid control for the event notification.</short>
      </element>
      <element name="TOnDrawCell.aCol">
        <short>Column number to draw in the event handler.</short>
      </element>
      <element name="TOnDrawCell.aRow">
        <short>Row number to draw in the event handler.</short>
      </element>
      <element name="TOnDrawCell.aRect">
        <short>Rectangle to draw in the event handler.</short>
      </element>
      <element name="TOnDrawCell.aState">
        <short>Grid drawing state used in the event handler.</short>
      </element>

      <element name="TOnSelectCellEvent">
        <short>Specifies the event handler signalled when a cell is selected in a grid control.</short>
        <descr>
          <p>
            <var>TOnSelectCellEvent</var> specifies the event handler signalled when a cell is selected in a custom-drawn grid control. TOnSelectCellEvent is the type used to implement the OnSelectCell in TCustomDrawGrid.
          </p>
        </descr>
        <seealso>
          <link id="TCustomDrawGrid.OnSelectCell"/>
        </seealso>
      </element>
      <element name="TOnSelectCellEvent.Sender">
        <short>Control for the event notification.</short>
      </element>
      <element name="TOnSelectCellEvent.aCol">
        <short>Column number for the selection notification.</short>
      </element>
      <element name="TOnSelectCellEvent.aRow">
        <short>Row number for the selection notification.</short>
      </element>
      <element name="TOnSelectCellEvent.CanSelect">
        <short>Set to True if the specified cell can be selected.</short>
      </element>

      <element name="TOnSelectEvent">
        <short>Specifies an event handler signalled for a selection in a grid control.</short>
        <descr>
          <p>
            <var>TOnSelectEvent</var> specifies an event handler signalled when a selection is made in a grid control. TOnSelectEvent is the type used to implement event handler properties in TCustomGrid, including:
          </p>
          <ul>
            <li>OnAfterSelection</li>
            <li>OnBeforeSelection</li>
            <li>OnButtonClick</li>
            <li>OnSelection</li>
          </ul>
          <p>
            Applications must implement an object procedure using the signature for the event handler to respond to the event notification.
          </p>
        </descr>
        <seealso>
          <link id="TCustomGrid.OnAfterSelection"/>
          <link id="TCustomGrid.OnBeforeSelection"/>
          <link id="TCustomGrid.OnButtonClick"/>
          <link id="TCustomGrid.OnSelection"/>
        </seealso>
      </element>
      <element name="TOnSelectEvent.Sender">
        <short>Control generating the event notification.</short>
      </element>
      <element name="TOnSelectEvent.aCol">
        <short>Column number for the selection.</short>
      </element>
      <element name="TOnSelectEvent.aRow">
        <short>Row number for the selection.</short>
      </element>

      <element name="TGridOperationEvent">
        <short>Event handler signalled when rows or columns are added, deleted or moved in a grid.</short>
        <descr>
          <p>
            <var>TGridOperationEvent</var> specifies an event handler signalled when rows or columns are added, deleted or moved in a custom-drawn grid control. TGridOperationEvent is the type used to implement event handler properties in <var>TCustomDrawGrid</var>, including:
          </p>
          <ul>
            <li>OnColRowDeleted</li>
            <li>OnColRowExchanged</li>
            <li>OnColRowInserted/</li>
            <li>OnColRowMoved</li>
          </ul>
          <p>
            Applications must implement an object procedure using the signature for the event handler to respond to the event notification.
          </p>
        </descr>
        <seealso>
          <link id="TCustomDrawGrid.OnColRowDeleted"/>
          <link id="TCustomDrawGrid.OnColRowExchanged"/>
          <link id="TCustomDrawGrid.OnColRowInserted"/>
          <link id="TCustomDrawGrid.OnColRowMoved"/>
        </seealso>
      </element>
      <element name="TGridOperationEvent.Sender">
        <short>Control for the event notification.</short>
      </element>
      <element name="TGridOperationEvent.IsColumn">
        <short>True when the notification is for a column and not a row.</short>
      </element>
      <element name="TGridOperationEvent.sIndex">
        <short>Starting index position for the row or column.</short>
      </element>
      <element name="TGridOperationEvent.tIndex">
        <short>Final index position for the row or column.</short>
      </element>

      <element name="THdrEvent">
        <short>Specifies an event handler signalled when an event occurs in a fixed header cell.</short>
        <descr>
          <p>
            <var>THdrEvent</var> specifies an event handler signalled when an event occurs in a column header. Arguments passed to the event handler indicate whether the action occurred for a column or a row header, and the index position for the row or column.
          </p>
          <p>
            <var>THdrEvent</var> is the type used to implement the <var>OnHeaderClick</var> and <var>OnHeaderSized</var> properties in <var>TCustomDrawGrid</var>. Applications must implement an object procedure using the event signature to respond to the event notification.
          </p>
        </descr>
        <seealso>
          <link id="TCustomDrawGrid.OnHeaderClick"/>
          <link id="TCustomDrawGrid.OnHeaderSized"/>
        </seealso>
      </element>
      <element name="THdrEvent.Sender">
        <short>Control generating the event notification.</short>
      </element>
      <element name="THdrEvent.IsColumn">
        <short>True if the event applies to a column header; False when a row header is affected.</short>
      </element>
      <element name="THdrEvent.Index">
        <short>Index position for the row or column in the event notification.</short>
      </element>

      <element name="TOnCompareCells">
        <short>Specifies an event handler signalled to compare cell values.</short>
        <descr>
          <p>
            <var>TOnCompareCells</var> specifies an event handler signalled to compare the cells at the coordinates in <var>ACol</var>, <var>ARow</var>, <var>BCol</var>, and <var>BRow</var>. ACol and ARow are the column and row numbers for the first value in the comparison. BCol and BRow are the column and row number for the second value in the comparison.
          </p>
          <p>
            <var>Result</var> is a variable <var>Integer</var> argument used to return the relative sort order for the compared values. The event handler must perform the actions needed to compare the cell values, and set the value in Result accordingly. <var>Result</var> should contain the following values:
          </p>
          <dl>
            <dt>-1</dt>
            <dd>The cell value at ACol, ARow occurs before the value at BCol, BRow</dd>
            <dt>0</dt>
            <dd>The compared cells contain the same values</dd>
            <dt>1</dt>
            <dd>The cell value at ACol, ARow occurs after the cell value at BCol, BRow</dd>
          </dl>
          <p>
            TOnCompareCells is the type used to implement the <var>OnCompareCells</var> in <var>TCustomGrid</var>.
          </p>
        </descr>
        <seealso>
          <link id="TCustomGrid.OnCompareCells"/>
        </seealso>
      </element>
      <element name="TOnCompareCells.Result">
        <short>Relative sort order for the compared values.</short>
      </element>
      <element name="TOnCompareCells.Sender">
        <short>Control generating the event notification.</short>
      </element>
      <element name="TOnCompareCells.ACol">
        <short>Column number for the first compared cell value.</short>
      </element>
      <element name="TOnCompareCells.ARow">
        <short>Row number for the first compared cell value.</short>
      </element>
      <element name="TOnCompareCells.Bcol">
        <short>Column number for the second compared cell value.</short>
      </element>
      <element name="TOnCompareCells.BRow">
        <short>Row number for the second compared cell value.</short>
      </element>

      <element name="TSelectEditorEvent">
        <short>Specifies an event handler signalled to get an editor control for the specified cell.</short>
        <descr>
          <p>
            <var>TSelectEditorEvent</var> specifies an event handler signalled to get an editor control for the cell at the coordinates in <var>ACol</var> and <var>ARow</var>.
          </p>
          <p>
            <var>Editor</var> is the <var>TWinControl</var> or descendent class instance to use as the cell editor for the given cell.
          </p>
          <p>
            TSelectEditorEvent is the type used to implement the <var>OnSelectEditor</var> in <var>TCustomGrid</var>. Applications must implement an object procedure using the event signature to respond to the event notification.
          </p>
        </descr>
        <seealso>
          <link id="TCustomGrid.OnSelectEditor"/>
        </seealso>
      </element>
      <element name="TSelectEditorEvent.Sender">
        <short>Control generating the event notification.</short>
      </element>
      <element name="TSelectEditorEvent.aCol">
        <short>Column number for the cell editor.</short>
      </element>
      <element name="TSelectEditorEvent.aRow">
        <short>Row number for the cell editor.</short>
      </element>
      <element name="TSelectEditorEvent.Editor">
        <short>Editor control to use for the specified cell.</short>
      </element>

      <element name="TOnPrepareCanvasEvent">
        <short>Specifies an event handler signalled when preparing the canvas for a grid control.</short>
        <descr>
          <p>
            <var>TOnPrepareCanvasEvent</var> specifies an event handler signalled when the canvas for a grid control is prepared for rendering. TOnPrepareCanvasEvent allows the canvas for the grid control to be altered prior to rendering cell data.
          </p>
          <p>
            <var>Sender</var> is the grid control triggering the event notification.
          </p>
          <p>
            <var>ACol</var> and <var>ARow</var> are the column and row numbers (respectively) for the grid cell in the event notification.
          </p>
          <p>
            <var>AState</var> contains the grid drawing state for the cell data.
          </p>
          <p>
            TOnPrepareCanvasEvent is the type used to implement the <var>OnPrepareCanvas</var> in <var>TCustomGrid</var>. Applications must implement an object procedure using the event signature to respond to the event notification.
          </p>
        </descr>
        <seealso>
          <link id="TCustomGrid.OnPrepareCanvas"/>
          <link id="TCustomGrid.PrepareCanvas"/>
          <link id="TCustomGrid.DoPrepareCanvas"/>
          <link id="TCustomGrid.DrawCell"/>
          <link id="TCustomGrid.ShowCellHintWindow"/>
        </seealso>
      </element>
      <element name="TOnPrepareCanvasEvent.Sender">
        <short>Grid control for the event notification.</short>
      </element>
      <element name="TOnPrepareCanvasEvent.aCol">
        <short>Column number for the cell in the event notification.</short>
      </element>
      <element name="TOnPrepareCanvasEvent.aRow">
        <short>Row number for the cell in the event notification.</short>
      </element>
      <element name="TOnPrepareCanvasEvent.aState">
        <short>Grid drawing state for the cell in the event notification.</short>
      </element>

      <element name="TUserCheckBoxBitmapEvent">
        <short>
          Specifies an event handler signalled to get the user-supplied bitmap for a check box cell.
        </short>
        <descr>
          <p>
            <var>TUserCheckBoxBitmapEvent</var> is the type used for the <var>OnUserCheckboxBitmap</var> property in <var>TCustomGrid</var>.
          </p>
        </descr>
        <seealso>
          <link id="TCustomGrid.OnUserCheckboxBitmap"/>
        </seealso>
      </element>
      <element name="TUserCheckBoxBitmapEvent.Sender">
        <short>Object (TCustomGrid) for the event notification.</short>
      </element>
      <element name="TUserCheckBoxBitmapEvent.aCol">
        <short>Column number for the cell with the check box.</short>
      </element>
      <element name="TUserCheckBoxBitmapEvent.aRow">
        <short>Row number for the cell with the check box.</short>
      </element>
      <element name="TUserCheckBoxBitmapEvent.CheckedState">
        <short>Checked state for the check box.</short>
      </element>
      <element name="TUserCheckBoxBitmapEvent.ABitmap">
        <short>Bitmap image with the state needed for the check box cell.</short>
      </element>

      <element name="TUserCheckBoxImageEvent">
        <short>
          Specifies the event handler used to get the image drawn for a Checkbox column.
        </short>
        <descr>
          <p>
            <var>TUserCheckBoxImageEvent</var> specifies an event handler signalled to get the image drawn for a grid cell which displays a Checkbox.
          </p>
          <p>
            <var>Sender</var> is the grid control generating the event notification.
          </p>
          <p>
            <var>ACol</var> and <var>ARow</var> are the column and row numbers (respectively) for the cell where the Checkbox is drawn.
          </p>
          <p>
            <var>CheckedState</var> indicates whether the Checkbox is drawn using the Checked state.
          </p>
          <p>
            <var>ImageList</var> contains the images used for the Unchecked and Checked states.
          </p>
          <p>
            <var>ImageIndex</var> indicates the image in ImageList used for the drawing operation.
          </p>
          <p>
            TUserCheckBoxImageEvent is the type used to implement the <var>OnUserCheckboxImage</var> in <var>TCustomGrid</var>. Applications must implement an object procedure using the event signature to respond to the event notification.
          </p>
        </descr>
        <seealso>
          <link id="TCustomGrid.OnUserCheckboxImage"/>
          <link id="TCustomGrid.GetImageForCheckBox"/>
        </seealso>
      </element>
      <element name="TUserCheckBoxImageEvent.Sender">
        <short>Grid generating the event notification.</short>
      </element>
      <element name="TUserCheckBoxImageEvent.aCol">
        <short>Column number for the cell.</short>
      </element>
      <element name="TUserCheckBoxImageEvent.aRow">
        <short>Row number for the cell.</short>
      </element>
      <element name="TUserCheckBoxImageEvent.CheckedState">
        <short>State for the check box.</short>
      </element>
      <element name="TUserCheckBoxImageEvent.ImageList">
        <short>Image list with unchecked and checked images.</short>
      </element>
      <element name="TUserCheckBoxImageEvent.ImageIndex">
        <short>Position of the image in ImageList to use for the check box cell.</short>
      </element>

      <element name="TValidateEntryEvent">
        <short>Specifies the event handler used to validate the content in a grid cell.</short>
        <descr>
          <p>
            <var>TValidateEntryEvent</var> specifies an event handler used to validate the content in a grid cell. TValidateEntryEvent is the type used to implement the <var>OnValidateEntry</var> in <var>TCustomGrid</var>. Applications must implement an object procedure using the event signature to respond to the event notification.
          </p>
        </descr>
        <seealso>
          <link id="TCustomGrid.OnValidateEntry"/>
          <link id="TCustomGrid.ValidateEntry"/>
          <link id="TCustomGrid.EditorDoGetValue"/>
          <link id="TCustomStringGrid.SelectionSetText"/>
        </seealso>
      </element>
      <element name="TValidateEntryEvent.Sender">
        <short>Grid generating the event notification.</short>
      </element>
      <element name="TValidateEntryEvent.aCol">
        <short>Column number for the cell.</short>
      </element>
      <element name="TValidateEntryEvent.aRow">
        <short>Row number for the cell.</short>
      </element>
      <element name="TValidateEntryEvent.OldValue">
        <short>Value checked in the event handler.</short>
      </element>
      <element name="TValidateEntryEvent.NewValue">
        <short>Value returned from the event handler.</short>
      </element>

      <element name="TToggledCheckboxEvent">
        <short>Specifies an event handler signalled when the value in a CheckBox cell is changed.</short>
        <descr>
          <p>
            <var>TToggledCheckboxEvent</var> specifies an event handler signalled when the value in CheckBox-style cell is changed in a grid. Arguments passed to the event handler identify the grid control for the event notification, the row and column numbers for the altered cell, and the state for a CheckBox cell editor.
          </p>
          <p>
            <var>TToggledCheckboxEvent</var> is the type used to implement the <var>OnCheckboxToggled</var> in <var>TCustomGrid</var> and descendent classes. Applications must implement an object procedure using the signature for the event handler to respond to the event notification.
          </p>
        </descr>
        <seealso>
          <link id="TCustomGrid.OnCheckboxToggled"/>
          <link id="TCustomDrawGrid.ToggleCheckbox"/>
        </seealso>
      </element>
      <element name="TToggledCheckboxEvent.Sender">
        <short>Grid control for the event notification.</short>
      </element>
      <element name="TToggledCheckboxEvent.aCol">
        <short>Column number for the altered cell.</short>
      </element>
      <element name="TToggledCheckboxEvent.aRow">
        <short>Row number for the altered cell.</short>
      </element>
      <element name="TToggledCheckboxEvent.aState">
        <short>State for the CheckBox in the associated cell editor.</short>
      </element>

      <element name="THeaderSizingEvent">
        <short>Specifies an event handler signalled when a fixed cell header in a grid is resized.</short>
        <descr>
          <p>
            <var>THeaderSizingEvent</var> specifies an event handler signalled when a fixed cell header in a grid is resized. Arguments passed to the event handler identify the grid control for the event, and information the row or column  affected by the operation.
          </p>
          <p>
            THeaderSizingEvent is the type used to implement the <var>OnHeaderSizing</var> property in TCustomDrawGrid. Applications must implement an object procedure using the signature for the event to allow responding to the event notification.
          </p>
        </descr>
        <seealso>
          <link id="TCustomDrawGrid.OnHeaderSizing"/>
        </seealso>
      </element>
      <element name="THeaderSizingEvent.Sender">
        <short>Grid control for the event notification.</short>
      </element>
      <element name="THeaderSizingEvent.IsColumn">
        <short>True when the affected cell is a column header; False when it is a row header.</short>
      </element>
      <element name="THeaderSizingEvent.aIndex">
        <short>Position of the row or column in the grid control.</short>
      </element>
      <element name="THeaderSizingEvent.aSize">
        <short>Size (in pixels) for the resized cell.</short>
      </element>

      <element name="TCellProcessEvent">
        <short>Specifies an event handler used to process the value in a grid cell.</short>
        <descr>
          <p>
            <var>TCellProcessEvent</var> specifies an event handler used to process the value in a grid cell in <var>TCustomStringGrid</var>. Arguments to the event handler identify the grid generating the event notification, the row and column numbers for the affected cell, and the value for the cell after processing. The <var>processType</var> argument specifies whether <var>aValue</var> is copied from or pasted to the cell.
          </p>
          <p>
            TCellProcessEvent is the type used to implement the <var>OnCellProcess</var> in <var>TCustomStringGrid</var>. Applications must implement an object procedure using the signature for the event handler to respond to the event notification.
          </p>
        </descr>
        <seealso>
          <link id="TCustomStringGrid.OnCellProcess"/>
        </seealso>
      </element>
      <element name="TCellProcessEvent.Sender">
        <short>Grid control generating the event notification.</short>
      </element>
      <element name="TCellProcessEvent.aCol">
        <short>Column number for the cell in the event notification.</short>
      </element>
      <element name="TCellProcessEvent.aRow">
        <short>Row number for the cell in the event notification.</short>
      </element>
      <element name="TCellProcessEvent.processType">
        <short>Process to perform on the cell value.</short>
      </element>
      <element name="TCellProcessEvent.aValue">
        <short>Value for the cell after processing has been applied.</short>
      </element>

      <element name="TGetCellHintEvent">
        <short>Event used to get cell hints.</short>
        <descr>
          <p>
            <var>TGetCellHintEvent</var> is an object procedure type used to get a hint for a string grid cell. TGetCellHintEvent is the type used for the <link id="TCustomGrid.OnGetCellHint">OnGetCellHint</link> property in <var>TCustomGrid</var>.
          </p>
          <p>
            Arguments passed to the procedure can be used to determine the content in HintText displayed as the cell hint.
          </p>
        </descr>
        <seealso>
          <link id="TCustomGrid.OnGetCellHint"/>
        </seealso>
      </element>
      <element name="TGetCellHintEvent.Sender">
        <short>The grid for the notification.</short>
      </element>
      <element name="TGetCellHintEvent.ACol">
        <short>Column index for the notification.</short>
      </element>
      <element name="TGetCellHintEvent.ARow">
        <short>Row index  for the notification.</short>
      </element>
      <element name="TGetCellHintEvent.HintText">
        <short>Text displayed as hint for the cell.</short>
      </element>

      <element name="TSaveColumnEvent">
        <short>Specifies an event handler used to load/save the configuration for a grid column.</short>
        <descr>
          <p>
            <var>TSaveColumnEvent</var> is the type used to implement the <var>OnLoadColumn</var> and <var>OnSaveColumn</var> properties in <var>TCustomGrid</var>.
          </p>
        </descr>
        <seealso>
          <link id="TCustomGrid.OnLoadColumn"/>
          <link id="TCustomGrid.OnSaveColumn"/>
        </seealso>
      </element>
      <element name="TSaveColumnEvent.Sender">
        <short>Grid for the event notification.</short>
      </element>
      <element name="TSaveColumnEvent.aColumn">
        <short>Column object for the event notification.</short>
      </element>
      <element name="TSaveColumnEvent.aColIndex">
        <short>Index of the column in the grid.</short>
      </element>
      <element name="TSaveColumnEvent.aCfg">
        <short>XML configuration file for the column information.</short>
      </element>
      <element name="TSaveColumnEvent.aVersion">
        <short>Grid version for the event.</short>
      </element>
      <element name="TSaveColumnEvent.aPath">
        <short>Path expression in the configuration file the column.</short>
      </element>

      <element name="TVirtualGrid">
        <short>Implements a grid with metadata where rows and columns are stored as Pointer arrays.</short>
        <descr>
          <p>
            <var>TVirtualGrid</var> is a class used to represent a grid where the rows and columns containing grid metadata are stored as arrays of Pointers. Data stored in the grid includes the Size for data in a cell, and pointers to attributes for fixed and normal cell display.
          </p>
          <p>
            TVirtualGrid is the type used for an internal member in TCustomDrawGrid.
          </p>
        </descr>
        <seealso>
          <link id="TCustomDrawGrid"/>
        </seealso>
      </element>

      <element name="TVirtualGrid.FColCount"/>
      <element name="TVirtualGrid.FRowCount"/>
      <element name="TVirtualGrid.FCellArr"/>
      <element name="TVirtualGrid.FColArr"/>
      <element name="TVirtualGrid.FRowArr"/>

      <element name="TVirtualGrid.GetCells">
        <short>Gets the value for the indexed Celda property.</short>
        <descr/>
        <seealso>
          <link id="TVirtualGrid.Celda"/>
        </seealso>
      </element>
      <element name="TVirtualGrid.GetCells.Result">
        <short>Value for the property.</short>
      </element>
      <element name="TVirtualGrid.GetCells.Col">
        <short>Column number for the cell value.</short>
      </element>
      <element name="TVirtualGrid.GetCells.Row">
        <short>Row number for the cell value.</short>
      </element>

      <element name="TVirtualGrid.GetRows">
        <short>Gets the value for the indexed Rows property.</short>
        <descr/>
        <seealso>
          <link id="TVirtualGrid.Rows"/>
        </seealso>
      </element>
      <element name="TVirtualGrid.GetRows.Result">
        <short>Value for the property.</short>
      </element>
      <element name="TVirtualGrid.GetRows.Row">
        <short>Row number for the property value.</short>
      </element>

      <element name="TVirtualGrid.GetCols">
        <short>Gets the value for the indexed Cols property.</short>
        <descr/>
        <seealso>
          <link id="TVirtualGrid.Cols"/>
        </seealso>
      </element>
      <element name="TVirtualGrid.GetCols.Result">
        <short>Value for the property.</short>
      </element>
      <element name="TVirtualGrid.GetCols.Col">
        <short>Column number for the property value.</short>
      </element>

      <element name="TVirtualGrid.SetCells">
        <short>Sets the value for the indexed Celda property.</short>
        <descr/>
        <seealso>
          <link id="TVirtualGrid.Celda"/>
        </seealso>
      </element>
      <element name="TVirtualGrid.SetCells.Col">
        <short>Column number for the cell value.</short>
      </element>
      <element name="TVirtualGrid.SetCells.Row">
        <short>Row number for the cell value.</short>
      </element>
      <element name="TVirtualGrid.SetCells.AValue">
        <short>Pointer to the properties for the cell.</short>
      </element>

      <element name="TVirtualGrid.SetRows">
        <short>Sets the value for the indexed Rows property.</short>
        <descr/>
        <seealso>
          <link id="TVirtualGrid.Rows"/>
        </seealso>
      </element>
      <element name="TVirtualGrid.SetRows.Row">
        <short>Row number for the property value.</short>
      </element>
      <element name="TVirtualGrid.SetRows.AValue">
        <short>Pointer to the properties for the row.</short>
      </element>

      <element name="TVirtualGrid.SetColCount">
        <short>Sets the value for the ColCount property.</short>
        <descr/>
        <seealso>
          <link id="TVirtualGrid.ColCount"/>
        </seealso>
      </element>
      <element name="TVirtualGrid.SetColCount.AValue">
        <short>New value for the property.</short>
      </element>

      <element name="TVirtualGrid.SetRowCount">
        <short>Sets the value for the RowCount property.</short>
        <descr/>
        <seealso>
          <link id="TVirtualGrid.RowCount"/>
        </seealso>
      </element>
      <element name="TVirtualGrid.SetRowCount.AValue">
        <short>New value for the property.</short>
      </element>

      <element name="TVirtualGrid.SetCols">
        <short>Sets the value for the indexed Cols property.</short>
        <descr/>
        <seealso>
          <link id="TVirtualGrid.Cols"/>
        </seealso>
      </element>
      <element name="TVirtualGrid.SetCols.Col">
        <short>Column number for the properties stored in the method.</short>
      </element>
      <element name="TVirtualGrid.SetCols.AValue">
        <short>New value for the property.</short>
      </element>

      <element name="TVirtualGrid.doDestroyItem">
        <short>Destroys an Item at the given Row and Column location.</short>
        <descr>
          <p>
            Performs actions needed to free the Item at the specified column and row numbers.
          </p>
          <p>
            <var>Item</var> is a <var>Pointer</var> to the column/row properties for the cell at the coordinates in <var>Col</var> and <var>Row</var>. No actions are performed in the method when Item is unassigned (contains <b>Nil</b>).
          </p>
          <p>
            <var>Sender</var> contains the object instance for the column, row, or cell affected in the method. Calls the <var>DisposeColRow</var> method when Sender is for a column or row array. Calls <var>DisposeCell</var> when Sender contains a pointer to another object class.
          </p>
          <p>
            The value in Item is set to <b>Nil</b> prior to exiting from the method.
          </p>
          <p>
            doDestroyItem is the default handler assigned to the <var>OnDestroyItem</var> event handler  for the cell, column and row arrays used in the virtual grid.
          </p>
        </descr>
        <seealso/>
      </element>
      <element name="TVirtualGrid.doDestroyItem.Sender">
        <short>Column, row, or cell properties affected in the method.</short>
      </element>
      <element name="TVirtualGrid.doDestroyItem.Col">
        <short>Column number freed  in the method.</short>
      </element>
      <element name="TVirtualGrid.doDestroyItem.Row">
        <short>Row number freed in the method.</short>
      </element>
      <element name="TVirtualGrid.doDestroyItem.Item">
        <short>Pointer to the column, row, or cell properties freed in the method.</short>
      </element>

      <element name="TVirtualGrid.doNewItem">
        <short>Creates a new item at the location specified by Col and Row.</short>
        <descr/>
        <seealso/>
      </element>
      <element name="TVirtualGrid.doNewItem.Sender">
        <short/>
      </element>
      <element name="TVirtualGrid.doNewItem.Col">
        <short/>
      </element>
      <element name="TVirtualGrid.doNewItem.Row">
        <short/>
      </element>
      <element name="TVirtualGrid.doNewItem.Item">
        <short/>
      </element>

      <element name="TVirtualGrid.DeleteColRow">
        <short>Removes either a column or a row in the grid.</short>
        <descr/>
        <seealso/>
      </element>
      <element name="TVirtualGrid.DeleteColRow.IsColumn">
        <short/>
      </element>
      <element name="TVirtualGrid.DeleteColRow.Index">
        <short/>
      </element>

      <element name="TVirtualGrid.MoveColRow">
        <short>Moves either a column or a row using the specified index positions.</short>
        <descr/>
        <seealso/>
      </element>
      <element name="TVirtualGrid.MoveColRow.IsColumn">
        <short/>
      </element>
      <element name="TVirtualGrid.MoveColRow.FromIndex">
        <short/>
      </element>
      <element name="TVirtualGrid.MoveColRow.ToIndex">
        <short/>
      </element>

      <element name="TVirtualGrid.ExchangeColRow">
        <short>Exchanges values for the current column or row with those at the specified position.</short>
        <descr/>
        <seealso/>
      </element>
      <element name="TVirtualGrid.ExchangeColRow.IsColumn">
        <short/>
      </element>
      <element name="TVirtualGrid.ExchangeColRow.Index">
        <short/>
      </element>
      <element name="TVirtualGrid.ExchangeColRow.WithIndex">
        <short/>
      </element>

      <element name="TVirtualGrid.DisposeCell">
        <short>Disposes of the resources and the pointer for the given cell.</short>
        <descr/>
        <seealso/>
      </element>
      <element name="TVirtualGrid.DisposeCell.P">
        <short/>
      </element>

      <element name="TVirtualGrid.DisposeColRow">
        <short>Disposes of the specified row or column, and frees its pointer.</short>
        <descr/>
        <seealso/>
      </element>
      <element name="TVirtualGrid.DisposeColRow.p">
        <short/>
      </element>

      <element name="TVirtualGrid.IsColumnIndexValid">
        <short>Indicates if the specified ordinal column number is valid for the grid.</short>
        <descr/>
      </element>
      <element name="TVirtualGrid.IsColumnIndexValid.Result">
        <short>True if the index is valid for the grid.</short>
      </element>
      <element name="TVirtualGrid.IsColumnIndexValid.AIndex">
        <short>Ordinal column number examined in the method.</short>
      </element>

      <element name="TVirtualGrid.IsRowIndexValid">
        <short>Indicates if the specified ordinal row number is valid for the grid.</short>
        <descr/>
        <seealso/>
      </element>
      <element name="TVirtualGrid.IsRowIndexValid.Result">
        <short>True if the index is valid for the grid.</short>
      </element>
      <element name="TVirtualGrid.IsRowIndexValid.AIndex">
        <short>Ordinal row number examined in the method.</short>
      </element>

      <element name="TVirtualGrid.Create">
        <short>Constructor for the class instance.</short>
        <descr>
          <p>
            <var>Create</var> is the overridden constructor for the class instance, and calls the inherited method on entry.
          </p>
          <p>
            Create allocates TPointerPointerArray resources needed for the column, row, and cell arrays used in the class instance. OnDestroyItem and OnNewItem event handlers in the array classes are set to the <var>doDestroyItem</var> and <var>doNewItem</var> methods in the class instance.
          </p>
          <p>
            Creates sets the default values for the <var>RowCount</var> and <var>ColCount</var> properties to 4 (for both).
          </p>
        </descr>
        <seealso>
          <link id="#rtl.system.TObject.Create">TObject.Create</link>
        </seealso>
      </element>

      <element name="TVirtualGrid.Destroy">
        <short>Destructor for the class instance.</short>
        <descr>
          <p>
            <var>Destroy</var> is the overridden destructor for the class instance. Destroy calls <var>Clear</var> to free content in the internal cell, column, and row arrays used in the class instance. Resource allocated to the cell, row, and column arrays are freed. The row and column counts for the virtual grid are reset to 0 (zero).
          </p>
          <p>
            Destroy calls the inherited destructor prior to exiting from the method.
          </p>
        </descr>
        <seealso>
          <link id="#rtl.system.TObject.Destroy">TObject.Destroy</link>
        </seealso>
      </element>

      <element name="TVirtualGrid.Clear">
        <short>Clears the content in the virtual grid.</short>
        <descr>
          <p>
            <var>Clear</var> is a method used to remove the content in the virtual grid. Clear ensures that values in the cell, column, and row arrays used in the class instance are cleared. Values in the <var>ColCount</var> and <var>RowCount</var> properties are reset to <b>0</b> (<b>zero</b>).
          </p>
        </descr>
        <seealso/>
      </element>

      <element name="TVirtualGrid.GetDefaultCell">
        <short>Gets the default values for a new cell added to the grid.</short>
        <descr>
          <p>
            <var>GetDefaultCell</var> is a <var>PCellProps</var> function used to get the default values for a new cell added to the grid. GetDefaultCell calls New to allocate resources for the PCellProps instance in the return value. Nil values are explicitly assigned to the <var>Text</var> and <var>Attr</var> members in the new instance.
          </p>
          <p>
            GetDefaultCell is called when a value is assigned to a cell in the <var>Celda</var> property and its PCellProps instance has not already been allocated.
          </p>
        </descr>
        <seealso/>
      </element>
      <element name="TVirtualGrid.GetDefaultCell.Result">
        <short>Pointer to the cell properties with the default values for a cell.</short>
      </element>

      <element name="TVirtualGrid.GetDefaultColRow">
        <short>Gets a pointer to the default values used in a new column and row properties instance.</short>
        <descr>
          <p>
            Used in the implementation of the doNewItem method called when a new column row is added to the virtual grid.
          </p>
        </descr>
        <seealso>
          <link id="TVirtualGrid.doNewItem"/>
          <link id="PColRowProps"/>
        </seealso>
      </element>
      <element name="TVirtualGrid.GetDefaultColRow.Result">
        <short>Pointer to the PColRowProps allocated in the method.</short>
      </element>

      <element name="TVirtualGrid.ColCount">
        <short>Number of columns defined for the grid.</short>
        <descr>
          <p>
            <var>ColCount</var> is an <var>Integer</var> property which indicates the number of columns defined for the grid. When a new value for the property is specified, the internal arrays used for column and cell properties are resized to the length in the property value.
          </p>
        </descr>
        <seealso>
          <link id="TPointerPointerArray"/>
        </seealso>
      </element>

      <element name="TVirtualGrid.RowCount">
        <short>Number of rows defined for the grid.</short>
        <descr>
          <p>
            <var>RowCount</var> is an <var>Integer</var> property which contains the number of rows defined for the grid. When setting a new value for the property, the internal arrays used for rows and cells are resized to the length in the new property value.
          </p>
        </descr>
        <seealso/>
      </element>

      <element name="TVirtualGrid.Celda">
        <short>Provides indexed access to cell properties by their column and row numbers.</short>
        <descr>
          <var>Celda</var> is an indexed <var>PCellProps</var> property which provides access to the data, attributes, and text for a given cell. Values are accessed by their column and row numbers. Setting a new value for the indexed property causes an existing cell to be freed from the internal cell array (when assigned) by calling <var>DisposeCell</var>.
        </descr>
        <seealso>
          <link id="TVirtualGrid.DisposeCell"/>
          <link id="PCellProps"/>
        </seealso>
      </element>
      <element name="TVirtualGrid.Celda.Col">
        <short>Column number for the cell.</short>
      </element>
      <element name="TVirtualGrid.Celda.Row">
        <short>Row number for the cell.</short>
      </element>

      <element name="TVirtualGrid.Cols">
        <short>Provides indexed access to column properties by their ordinal column number.</short>
        <descr/>
        <seealso/>
      </element>
      <element name="TVirtualGrid.Cols.Col">
        <short>Column number to access in the grid.</short>
      </element>

      <element name="TVirtualGrid.Rows">
        <short>Provides indexed access to row properties by their ordinal row number.</short>
        <descr/>
        <seealso/>
      </element>
      <element name="TVirtualGrid.Rows.Row">
        <short>Row number to access in the grid.</short>
      </element>

      <element name="TVirtualGrid.InsertColRow">
        <short>Inserts either a column or a row at the specified index position.</short>
        <descr/>
        <seealso/>
      </element>
      <element name="TVirtualGrid.InsertColRow.IsColumn">
        <short>True to insert a column at the given position, False for a row.</short>
      </element>
      <element name="TVirtualGrid.InsertColRow.Index">
        <short>Position where the column or row is inserted.</short>
      </element>

      <element name="TGridColumnTitle">
        <short>
          Provides properties and methods need to represent a column title in a grid.
        </short>
        <descr>
          <p>
            <var>TGridColumnTitle</var> is <var>TPersistent</var> descendant used to represent properties and methods for the title for a column in a grid. Use the published properties in the class to access the layout and display attributes for the column title, including:
          </p>
          <ul>
            <li>Alignment</li>
            <li>Color</li>
            <li>Font</li>
            <li>ImageIndex</li>
            <li>ImageLayout</li>
            <li>Layout</li>
            <li>MultiLine</li>
            <li>PrefixOption</li>
          </ul>
          <p>
            Use the <var>Caption</var> to read or write the text displayed as the title for a grid column.
          </p>
          <p>
            Use the <var>Column</var> to read the column reference (assigned in the constructor for the class instance) to which the column title is attached.
          </p>
          <p>
            <var>TGridColumnTitle</var> is the type used to implement the <var>TGridColumn.Title</var> property.
          </p>
        </descr>
        <seealso>
          <link id="TGridColumn.Title"/>
          <link id="TGridColumnTitle.Caption"/>
          <link id="TGridColumnTitle.Column"/>
          <link id="TGridColumnTitle.Alignment"/>
          <link id="TGridColumnTitle.Color"/>
          <link id="TGridColumnTitle.Font"/>
          <link id="TGridColumnTitle.ImageIndex"/>
          <link id="TGridColumnTitle.ImageLayout"/>
          <link id="TGridColumnTitle.Layout"/>
          <link id="TGridColumnTitle.MultiLine"/>
          <link id="TGridColumnTitle.PrefixOption"/>
        </seealso>
      </element>

      <element name="TGridColumnTitle.FColumn"/>
      <element name="TGridColumnTitle.FCaption"/>
      <element name="TGridColumnTitle.FColor"/>
      <element name="TGridColumnTitle.FAlignment"/>
      <element name="TGridColumnTitle.FFont"/>
      <element name="TGridColumnTitle.FIsDefaultTitleFont"/>
      <element name="TGridColumnTitle.FLayout"/>

      <element name="TGridColumnTitle.FontChanged">
        <short>Updates the column for when font for the title has changed.</short>
        <descr/>
        <seealso/>
      </element>
      <element name="TGridColumnTitle.FontChanged.Sender">
        <short>Class generating the notification.</short>
      </element>

      <element name="TGridColumnTitle.GetAlignment">
        <short>Gets the value for the Alignment property.</short>
        <descr/>
        <seealso>
          <link id="TGridColumnTitle.Alignment"/>
        </seealso>
      </element>
      <element name="TGridColumnTitle.GetAlignment.Result">
        <short>Value for the property.</short>
      </element>

      <element name="TGridColumnTitle.GetCaption">
        <short>Gets the value for the Caption property.</short>
        <descr/>
        <seealso/>
      </element>
      <element name="TGridColumnTitle.GetCaption.Result">
        <short>Value for the property.</short>
      </element>

      <element name="TGridColumnTitle.GetColor">
        <short>Gets the value for the Color property.</short>
        <descr/>
        <seealso/>
      </element>
      <element name="TGridColumnTitle.GetColor.Result">
        <short>Value for the property.</short>
      </element>

      <element name="TGridColumnTitle.GetFont">
        <short>Gets the value for the Font property.</short>
        <descr/>
        <seealso/>
      </element>
      <element name="TGridColumnTitle.GetFont.Result">
        <short>Value for the property.</short>
      </element>

      <element name="TGridColumnTitle.GetLayout">
        <short>Gets the value for the Layout property.</short>
        <descr/>
        <seealso/>
      </element>
      <element name="TGridColumnTitle.GetLayout.Result">
        <short>Value for the property.</short>
      </element>

      <element name="TGridColumnTitle.IsAlignmentStored">
        <short>Indicates if the Alignment is stored when saving the component.</short>
        <descr>
          <p>
            <var>IsAlignmentStored</var> indicates if the Alignment is used for the component. <var>IsAlignmentStored</var> contains <b>True</b> when the Alignment has been assigned (is not <b>Nil</b>) for the class instance.
          </p>
          <p>
            It is used in the TCustomGrid.SaveColumns method. It is also used as the storage specifier for the Alignment as used in LCL component streaming.
          </p>
        </descr>
        <seealso>
          <link id="TGridColumnTitle.Alignment"/>
          <link id="TCustomGrid.SaveToFile"/>
          <link id="TCustomGrid.SaveToStream"/>
        </seealso>
      </element>
      <element name="TGridColumnTitle.IsAlignmentStored.Result">
        <short>True if Alignment is available for the column title.</short>
      </element>

      <element name="TGridColumnTitle.IsCaptionStored">
        <short>Indicates if the Caption is available in the component.</short>
        <descr/>
        <seealso>
          <link id="TGridColumnTitle.Caption"/>
          <link id="TCustomGrid.SaveToFile"/>
          <link id="TCustomGrid.SaveToStream"/>
        </seealso>
      </element>
      <element name="TGridColumnTitle.IsCaptionStored.Result">
        <short>True when Caption is available for the column title.</short>
      </element>

      <element name="TGridColumnTitle.IsColorStored">
        <short>Indicates if the Color is assigned for the column title.</short>
        <descr/>
        <seealso>
          <link id="TGridColumnTitle.Color"/>
          <link id="TCustomGrid.SaveToFile"/>
          <link id="TCustomGrid.SaveToStream"/>
        </seealso>
      </element>
      <element name="TGridColumnTitle.IsColorStored.Result">
        <short>True when Color has been assigned </short>
      </element>

      <element name="TGridColumnTitle.IsFontStored">
        <short>Indicates if the Font has been assigned for the column title.</short>
        <descr/>
        <seealso>
          <link id="TGridColumnTitle.Font"/>
          <link id="TCustomGrid.SaveToFile"/>
          <link id="TCustomGrid.SaveToStream"/>
        </seealso>
      </element>
      <element name="TGridColumnTitle.IsFontStored.Result">
        <short>True when Font has been assigned in the column title.</short>
      </element>

      <element name="TGridColumnTitle.IsLayoutStored">
        <short>Indicates if the Layout has been assigned in the column title.</short>
        <descr/>
        <seealso>
          <link id="TGridColumnTitle.Layout"/>
          <link id="TCustomGrid.SaveToFile"/>
          <link id="TCustomGrid.SaveToStream"/>
        </seealso>
      </element>
      <element name="TGridColumnTitle.IsLayoutStored.Result">
        <short>True when the Layout has been assigned in the column title.</short>
      </element>

      <element name="TGridColumnTitle.SetAlignment">
        <short>Sets the value in the Alignment property.</short>
        <descr/>
        <seealso>
          <link id="TGridColumnTitle.Alignment"/>
        </seealso>
      </element>
      <element name="TGridColumnTitle.SetAlignment.AValue">
        <short>New value for the property.</short>
      </element>

      <element name="TGridColumnTitle.SetColor">
        <short>Sets the value in the Color property.</short>
        <descr/>
        <seealso>
          <link id="TGridColumnTitle.Color"/>
        </seealso>
      </element>
      <element name="TGridColumnTitle.SetColor.AValue">
        <short>New value for the property.</short>
      </element>

      <element name="TGridColumnTitle.SetFont">
        <short>Sets the value in the Font property.</short>
        <descr/>
        <seealso>
          <link id="TGridColumnTitle.Font"/>
        </seealso>
      </element>
      <element name="TGridColumnTitle.SetFont.AValue">
        <short>New value for the property.</short>
      </element>

      <element name="TGridColumnTitle.SetLayout">
        <short>Sets the value in the Layout property.</short>
        <descr/>
        <seealso>
          <link id="TGridColumnTitle.Layout"/>
        </seealso>
      </element>
      <element name="TGridColumnTitle.SetLayout.AValue">
        <short>New value for the property.</short>
      </element>

      <element name="TGridColumnTitle.IsDefaultFont">
        <short>Indicates if the Font contains a default value.</short>
        <descr>
          <p>
            <var>IsDefaultFont</var> is a read-only <var>Boolean</var> that indicates if the <var>Font</var> contains a default value. The value in <var>IsDefaultFont</var> is set to <b>False</b> when a new value is assigned to the <var>Font</var> property.
          </p>
        </descr>
        <seealso>
          <link id="TGridColumnTitle.Font"/>
          <link id="TGridColumnTitle.IsDefault"/>
          <link id="TGridColumnTitle.IsFontStored"/>
          <link id="TGridColumn.IsDefaultTitleFont"/>
          <link id="TGridColumn.Title"/>
        </seealso>
      </element>

      <element name="TGridColumnTitle.GetDefaultCaption">
        <short>Returns the default caption for the column title.</short>
        <descr/>
        <seealso/>
      </element>
      <element name="TGridColumnTitle.GetDefaultCaption.Result">
        <short>Default value for the Caption property.</short>
      </element>

      <element name="TGridColumnTitle.GetDefaultAlignment">
        <short>Returns the default alignment for the column title.</short>
        <descr/>
        <seealso/>
      </element>
      <element name="TGridColumnTitle.GetDefaultAlignment.Result">
        <short>Default value for the Alignment property.</short>
      </element>

      <element name="TGridColumnTitle.GetDefaultColor">
        <short>Returns the default color for the column title.</short>
        <descr/>
        <seealso/>
      </element>
      <element name="TGridColumnTitle.GetDefaultColor.Result">
        <short>Default value for the Color property.</short>
      </element>

      <element name="TGridColumnTitle.GetDefaultLayout">
        <short>Returns the default layout for the column title.</short>
        <descr/>
        <seealso/>
      </element>
      <element name="TGridColumnTitle.GetDefaultLayout.Result">
        <short>Default value for the Layout property.</short>
      </element>

      <element name="TGridColumnTitle.GetOwner">
        <short>
          Gets the persistent object which owns the class instance.
        </short>
        <descr/>
        <seealso>
          <link id="#rtl.classes.TPersistent">TPersistent</link>
        </seealso>
      </element>
      <element name="TGridColumnTitle.GetOwner.Result">
        <short>Persistent object which owns the class instance.</short>
      </element>

      <element name="TGridColumnTitle.SetCaption">
        <short>Specifies the caption used for the column title.</short>
        <descr/>
        <seealso/>
      </element>
      <element name="TGridColumnTitle.SetCaption.AValue">
        <short>New value for the property.</short>
      </element>

      <element name="TGridColumnTitle.DefineProperties">
        <short>
          Specifies which properties in the persistent object are used during LCL component streaming.
        </short>
        <descr>
          <p>
            <var>DefineProperties</var> is an overridden method used to define the properties which are included during LCL component streaming.  The TFiler instance in Filer is used to set the read and write procedures for specific properties. In TGridColumnTitle, the Caption is written when it has an explicit non-default value. This implements the storage specifier declared for the property.
          </p>
        </descr>
        <seealso/>
      </element>
      <element name="TGridColumnTitle.DefineProperties.Filer">
        <short>TFiler instance used to read and write the class during LCL streaming.</short>
      </element>

      <element name="TGridColumnTitle.Create">
        <short>Constructor for the class instance.</short>
        <descr>
          <p>
            <var>Create</var> is the virtual constructor for the class instance. Create calls the inherited constructor, allocates resources, and sets the default values for members in the class instance.
          </p>
          <p>
            Create calls the <var>FillTitleDefaultFont</var> method to get the default value used in the <var>Font</var> property. It can contain either the font for titles in the Grid instance or the font for the Column definition; preference is given to the value in the Grid.
          </p>
          <p>
            Create assigns the <var>FontChanged</var> method as the <var>OnChange</var> event handler for the <var>Font</var> property.
          </p>
          <p>
            <var>TheColumn</var> contains contains the <var>TGridColumn</var> instance where the column title is used.
          </p>
        </descr>
        <seealso>
          <link id="#rtl.System.TObject.Create">TObject.Create</link>
        </seealso>
      </element>
      <element name="TGridColumnTitle.Create.TheColumn">
        <short>Column class instance where the column title is used.</short>
      </element>

      <element name="TGridColumnTitle.Destroy">
        <short>Destructor for the class instance.</short>
        <descr>
          <p>
            <var>Destroy</var> is the overridden destructor for <var>TGridColumnTitle</var>. It frees resource allocated for properties like Font, Alignment, Color, Caption, and Layout. It calls the inherited destructor prior to exiting from the method.
          </p>
        </descr>
        <seealso>
          <link id="#rtl.classes.TPersistent.Destroy">TPersistent.Destroy</link>
        </seealso>
      </element>

      <element name="TGridColumnTitle.Assign">
        <short>
          Copies property value from the specified persistent object into the current class instance.
        </short>
        <descr>
          <p>
            <var>Assign</var> is an overridden method used to implement object persistence for the class. When <var>Source</var> is a <var>TGridColumnTitle</var> instance, the values from the following properties are copied:
          </p>
          <ul>
            <li>Alignment</li>
            <li>Layout</li>
            <li>Caption</li>
            <li>Color</li>
            <li>Font</li>
            <li>ImageIndex</li>
          </ul>
          <p>
            If Source is not derived from TGridColumnTitle, the inherited method is called using Source as an argument.
          </p>
        </descr>
        <seealso>
          <link id="#rtl.Classes.TPersistent">TPersistent</link>
        </seealso>
      </element>
      <element name="TGridColumnTitle.Assign.Source">
        <short>Persistent object with property values copied in the method.</short>
      </element>

      <element name="TGridColumnTitle.FillTitleDefaultFont">
        <short>Stores the default font used for the column title.</short>
        <descr>
          <p>
            When <var>Grid</var> has been assigned, the <var>TitleFont</var> property from the Grid is used in the <var>Font</var> property. Otherwise, the Font from the <var>Column</var> is used. <var>IsDefaultFont</var> is set to True in the method.
          </p>
        </descr>
        <seealso>
          <link id="TGridColumnTitle.Column"/>
          <link id="TGridColumnTitle.Font"/>
          <link id="TGridColumn.Grid"/>
          <link id="TGridColumn.Font"/>
          <link id="TCustomGrid.TitleFont"/>
        </seealso>
      </element>

      <element name="TGridColumnTitle.FixDesignFontsPPI">
        <short>Corrects the design-time PPI for the column title.</short>
        <descr>
          <p>
            <var>FixDesignFontsPPI</var> is a procedure used to correct the design-time Pixels Per Inch setting for the component. Pixels Per Inch for Fonts is not saved in LFM files, and the design-time setting may differ from the run-time setting on a target machine. This adversely affects font scaling.
          </p>
          <p>
            FixDesignFontsPPI calls the DoFixDesignFontPPI method in the Grid control for the column to adjust the font PPI to the value specified in ADesignTimePPI.
          </p>
        </descr>
        <seealso>
          <link id="TGridColumnTitle.Font"/>
          <link id="TGridColumn.Grid"/>
          <link id="#lcl.controls.TControl.DoFixDesignFontPPI">TControl.DoFixDesignFontPPI</link>
        </seealso>
      </element>
      <element name="TGridColumnTitle.FixDesignFontsPPI.ADesignTime">
        <short>Design-time display density applied in the method.</short>
      </element>

      <element name="TGridColumnTitle.ScaleFontsPPI">
        <short>
          Scales font sizes in the class instance to the specified display density.
        </short>
        <descr>
          <p>
            <var>ScaleFontsPPI</var> is an overridden procedure used to scale the size for the fonts in the Grid and Title properties to the specified display density (PPI) (Pixels Per Inch).
          </p>
          <p>
            AToPPI contains the value assigned to the fonts used when a non-zero value is specified.
          </p>
          <p>
            If AToPPI is omitted, the scaling factor in AProportion is used to adjust the existing PPI setting in the fonts by the indicated factor.
          </p>
          <p>
            ScaleFontsPPI is called when the AutoAdjustLayout method is used to apply a layout policy to a control.
          </p>
        </descr>
        <seealso/>
      </element>
      <element name="TGridColumnTitle.ScaleFontsPPI.AToPPI">
        <short>Explicit Pixels per Inch setting for the fonts.</short>
      </element>
      <element name="TGridColumnTitle.ScaleFontsPPI.AProportion">
        <short>Scaling factor applied to the existing PPI setting for the fonts.</short>
      </element>

      <element name="TGridColumnTitle.IsDefault">
        <short>Returns True if the column title uses the default property values.</short>
        <descr>
          <p>
            <var>IsDefault</var> is a <var>Boolean</var> function used to determine if the column title uses the default values assigned when the class instance was created. The return value is <b>True</b> when <b>all</b> of the following conditions are met:
          </p>
          <ul>
            <li>Alignment is Nil (unassigned).</li>
            <li>Caption is Nil  (unassigned).</li>
            <li>Color is Nil (unassigned).</li>
            <li>Layout is Nil  (unassigned).</li>
            <li>ImageIndex is 0 (zero).</li>
            <li>ImageLayout is blGlyphRight.</li>
            <li>IsDefaultFont returns True.</li>
          </ul>
          <p>
            IsDefault is when the coloumns for the parent grid are streamed using the LCL component streaming mechanism. Columns which contain default values (including the title) are not written during component streaming.
          </p>
        </descr>
        <seealso>
          <link id="TGridColumn.IsDefault"/>
          <link id="TGridColumn.Title"/>
          <link id="TGridColumns"/>
          <link id="TCustomGrid.Columns"/>
        </seealso>
      </element>
      <element name="TGridColumnTitle.IsDefault.Result">
        <short>True if the column title uses the default property values.</short>
      </element>

      <element name="TGridColumnTitle.Column">
        <short>The <var>Column</var> to which the title applies.</short>
        <descr/>
        <seealso/>
      </element>

      <element name="TGridColumnTitle.Alignment">
        <short>
          The <var>Alignment</var> (whether justified or centered) for the column title.
        </short>
        <descr/>
        <seealso/>
      </element>

      <element name="TGridColumnTitle.Caption">
        <short>The <var>Caption</var> for the column title.</short>
        <descr/>
        <seealso/>
      </element>

      <element name="TGridColumnTitle.Color">
        <short>The <var>Color</var> for the column title.</short>
        <descr/>
        <seealso/>
      </element>

      <element name="TGridColumnTitle.Font">
        <short>The <var>Font</var> for the column title.</short>
        <descr/>
        <seealso/>
      </element>

      <element name="TGridColumnTitle.ImageIndex">
        <short>The index for the image used in the title (default=0, i.e. no image).</short>
      </element>

      <element name="TGridColumnTitle.ImageLayout">
        <short>The layout used for any image in the column title.</short>
      </element>

      <element name="TGridColumnTitle.Layout">
        <short>The layout used for the text in the column title.</short>
        <descr/>
        <seealso/>
      </element>

      <element name="TGridColumnTitle.MultiLine">
        <short>Indicates if the column title can be displayed as multiple lines.</short>
        <descr>
          <p>
            <var>MultiLine</var> is a <var>Boolean</var> that indicates if the column title can be displayed as multiple lines. The default value for the is <b>False</b>. Changing the value in MultiLine cause the <var>ColumnChanged</var> method for the <var>TGridColumn</var> class instance to be called.
          </p>
        </descr>
        <seealso>
          <link id="TGridColumn.ColumnChanged"/>
        </seealso>
      </element>

      <element name="TGridColumnTitle.PrefixOption">
        <short>Indicates if accelerator keys are used in the column title.</short>
        <descr>
          <p>
            <var>PrefixOption</var> is a <var>TPrefixOption</var> that indicates if accelerator keys are recognized and displayed in the column title. The default value for the is <var>poNone</var>, and indicates Accelerator keys are ignored for the column title. Changing the value in <var>PrefixOption</var> causes the <var>ColumnChanged</var> method for the <var>TGridColumn</var> class instance to be called.
          </p>
        </descr>
        <seealso>
          <link id="TGridColumn.ColumnChanged"/>
          <link id="TPrefixOption"/>
        </seealso>
      </element>

      <element name="TGridColumn">
        <short>Implements a column definition used for tabular data in TCustomGrid.</short>
        <descr>
          <p>
            <var>TGridColumn</var> is a <var>TCollectionItem</var> descendant which implements a column definition for grid controls. TGridColumn contains properties which control the appearance, layout, and editing behavior used for a column in <var>TCustomGrid</var> and descendent classes. For instance:
          </p>
          <ul>
            <li>Alignment</li>
            <li>ButtonStyle</li>
            <li>Color</li>
            <li>DropDownRows</li>
            <li>Font</li>
            <li>Layout</li>
            <li>MinSize</li>
            <li>MaxSize</li>
            <li>PickList</li>
            <li>ReadOnly</li>
            <li>Width</li>
            <li>Visible</li>
            <li>ValueChecked</li>
            <li>ValueUnchecked</li>
          </ul>
          <p>
            The column has an associated <var>TGridColumnTitle</var> class instance in <var>Title</var> that defines the fixed cell header displayed for the column. As a convenience, the column includes a reference to the <var>TCustomGrid</var> which uses the column definition.
          </p>
          <p>
            Instances of <var>TGridColumn</var> are created by and stored in the <var>TGridColumns</var> collection class. Use the methods in <var>TGridColumns</var> to create, access, and maintain the items in the collection.
          </p>
        </descr>
        <seealso>
          <link id="TGridColumns"/>
          <link id="TCustomGrid.Columns"/>
          <link id="TGridColumnTitle"/>
        </seealso>
      </element>

      <element name="TGridColumn.FButtonStyle"/>
      <element name="TGridColumn.FDropDownRows"/>
      <element name="TGridColumn.FTitle"/>
      <element name="TGridColumn.FWidthChanged"/>
      <element name="TGridColumn.FAlignment"/>
      <element name="TGridColumn.FColor"/>
      <element name="TGridColumn.FLayout"/>
      <element name="TGridColumn.FVisible"/>
      <element name="TGridColumn.FReadOnly"/>
      <element name="TGridColumn.FWidth"/>
      <element name="TGridColumn.FFont"/>
      <element name="TGridColumn.FIsDefaultFont"/>
      <element name="TGridColumn.FPickList"/>
      <element name="TGridColumn.FMinSize"/>
      <element name="TGridColumn.FMaxSize"/>
      <element name="TGridColumn.FSizePriority"/>

      <element name="TGridColumn.FontChanged">
        <short>Performs actions needed when the Font has been changed for the grid column.</short>
        <descr>
          <p>
            <var>FontChanged</var> is a procedure used to perform actions needed when the <var>Font</var> for the grid column has been changed. For <var>TGridColumn</var>, it sets the value in <var>IsDefaultFont</var> to <b>False</b> and calls the <var>ColumnChanged</var> method.
          </p>
        </descr>
        <seealso>
          <link id="TGridColumn.IsDefaultFont"/>
          <link id="TGridColumn.ColumnChanged"/>
        </seealso>
      </element>
      <element name="TGridColumn.FontChanged.Sender">
        <short>Class instance generating the notification.</short>
      </element>

      <element name="TGridColumn.GetAlignment">
        <short>Gets the value for the Alignment property.</short>
        <descr/>
        <seealso>
          <link id="TGridColumn.Alignment"/>
        </seealso>
      </element>
      <element name="TGridColumn.GetAlignment.Result">
        <short>Value for the property.</short>
      </element>

      <element name="TGridColumn.GetColor">
        <short>Gets the value for the Color property.</short>
        <descr/>
        <seealso>
          <link id="TGridColumn.Color"/>
        </seealso>
      </element>
      <element name="TGridColumn.GetColor.Result">
        <short>Value for the property.</short>
      </element>

      <element name="TGridColumn.GetExpanded">
        <short>Gets the value for the Expanded property.</short>
        <descr>
          Always returns True in the current implementation.
        </descr>
        <seealso/>
      </element>
      <element name="TGridColumn.GetExpanded.Result">
        <short>Value for the property.</short>
      </element>

      <element name="TGridColumn.GetFont">
        <short>Gets the value for the Font property.</short>
        <descr/>
        <seealso>
          <link id="TGridColumn.Font"/>
        </seealso>
      </element>
      <element name="TGridColumn.GetFont.Result">
        <short>Value for the property.</short>
      </element>

      <element name="TGridColumn.GetGrid">
        <short>Gets the value for the Grid property.</short>
        <descr/>
        <seealso>
          <link id="TGridColumn.Grid"/>
        </seealso>
      </element>
      <element name="TGridColumn.GetGrid.Result">
        <short>Value for the property.</short>
      </element>

      <element name="TGridColumn.GetLayout">
        <short>Gets the value for the Layout property.</short>
        <descr/>
        <seealso>
          <link id="TGridColumn.Layout"/>
        </seealso>
      </element>
      <element name="TGridColumn.GetLayout.Result">
        <short>Value for the property.</short>
      </element>

      <element name="TGridColumn.GetMaxSize">
        <short>Gets the value for the MaxSize property.</short>
        <descr/>
        <seealso>
          <link id="TGridColumn.MaxSize"/>
        </seealso>
      </element>
      <element name="TGridColumn.GetMaxSize.Result">
        <short>Value for the property.</short>
      </element>

      <element name="TGridColumn.GetMinSize">
        <short>Gets the value for the MinSize property.</short>
        <descr/>
        <seealso>
          <link id="TGridColumn.MinSize"/>
        </seealso>
      </element>
      <element name="TGridColumn.GetMinSize.Result">
        <short>Value for the property.</short>
      </element>

      <element name="TGridColumn.GetSizePriority">
        <short>Gets the value for the SizePriority property.</short>
        <descr/>
        <seealso>
          <link id="TGridColumn.SizePriority"/>
        </seealso>
      </element>
      <element name="TGridColumn.GetSizePriority.Result">
        <short>Value for the property.</short>
      </element>

      <element name="TGridColumn.GetPickList">
        <short>Gets the list of strings in the picklist.</short>
        <descr/>
        <seealso>
          <link id="TGridColumn.PickList"/>
        </seealso>
      </element>
      <element name="TGridColumn.GetPickList.Result">
        <short>Value for the property.</short>
      </element>

      <element name="TGridColumn.GetReadOnly">
        <short>Gets the value for the ReadOnly property.</short>
        <descr/>
        <seealso>
          <link id="TGridColumn.ReadOnly"/>
        </seealso>
      </element>
      <element name="TGridColumn.GetReadOnly.Result">
        <short>Value for the property.</short>
      </element>

      <element name="TGridColumn.GetVisible">
        <short>Gets the value for the Visible property.</short>
        <descr/>
        <seealso>
          <link id="TGridColumn.Visible"/>
        </seealso>
      </element>
      <element name="TGridColumn.GetVisible.Result">
        <short>Value for the property.</short>
      </element>

      <element name="TGridColumn.GetWidth">
        <short>Gets the value for the Width property.</short>
        <descr/>
        <seealso>
          <link id="TGridColumn.Width"/>
        </seealso>
      </element>
      <element name="TGridColumn.GetWidth.Result">
        <short>Value for the property.</short>
      </element>

      <element name="TGridColumn.IsAlignmentStored">
        <short>Indicates if the Alignment is used for the class instance.</short>
        <descr/>
        <seealso>
          <link id="TGridColumn.Alignment"/>
        </seealso>
      </element>
      <element name="TGridColumn.IsAlignmentStored.Result">
        <short>True when Alignment has been assigned in the class instance.</short>
      </element>

      <element name="TGridColumn.IsColorStored">
        <short>Indicates if the Color is used in the class instance.</short>
        <descr/>
        <seealso>
          <link id="TGridColumn.Color"/>
        </seealso>
      </element>
      <element name="TGridColumn.IsColorStored.Result">
        <short>True when Color has been assigned in the class instance.</short>
      </element>

      <element name="TGridColumn.IsFontStored">
        <short>Indicates if the Font has been assigned for the column.</short>
        <descr/>
        <seealso/>
      </element>
      <element name="TGridColumn.IsFontStored.Result">
        <short>True when Font has a value other than the default font.</short>
      </element>

      <element name="TGridColumn.IsLayoutStored">
        <short>Implements the storage specifier for the ImageLayout property.</short>
        <descr/>
        <seealso>
          <link id="TGridColumn.ImageLayout"/>
        </seealso>
      </element>
      <element name="TGridColumn.IsLayoutStored.Result">
        <short>True when the property member contains a value other than Nil.</short>
      </element>

      <element name="TGridColumn.IsMinSizeStored">
        <short>Implements the storage specifier for the MinSize property.</short>
        <descr/>
        <seealso>
          <link id="TGridColumn.MinSize"/>
        </seealso>
      </element>
      <element name="TGridColumn.IsMinSizeStored.Result">
        <short>True when the property member contains a value other than Nil.</short>
      </element>

      <element name="TGridColumn.IsMaxSizeStored">
        <short>Implements the storage specifier for the MaxSize property.</short>
        <descr/>
        <seealso>
          <link id="TGridColumn.MaxSize"/>
        </seealso>
      </element>
      <element name="TGridColumn.IsMaxSizeStored.Result">
        <short>True when the property member contains a value other than Nil.</short>
      </element>

      <element name="TGridColumn.IsReadOnlyStored">
        <short>Implements the storage specifier for the  ReadOnly property.</short>
        <descr/>
        <seealso>
          <link id="TGridColumn.ReadOnly"/>
        </seealso>
      </element>
      <element name="TGridColumn.IsReadOnlyStored.Result">
        <short>True when the property member contains a value other than Nil.</short>
      </element>

      <element name="TGridColumn.IsSizePriorityStored">
        <short>Implements the storage specifier for the SizePriority property.</short>
        <descr/>
        <seealso>
          <link id="TGridColumn.SizePriority"/>
        </seealso>
      </element>
      <element name="TGridColumn.IsSizePriorityStored.Result">
        <short>True when the property member contains a value other than Nil.</short>
      </element>

      <element name="TGridColumn.IsVisibleStored">
        <short>Implements the storage specifier for the Visible property.</short>
        <descr/>
        <seealso>
          <link id="TGridColumn.Visible"/>
        </seealso>
      </element>
      <element name="TGridColumn.IsVisibleStored.Result">
        <short>True when the property member contains True.</short>
      </element>

      <element name="TGridColumn.IsWidthStored">
        <short>Implements the storage specifier for the Width property.</short>
        <descr/>
        <seealso>
          <link id="TGridColumn.Width"/>
        </seealso>
      </element>
      <element name="TGridColumn.IsWidthStored.Result">
        <short>True when the property member contains a value other than Nil.</short>
      </element>

      <element name="TGridColumn.SetAlignment">
        <short>Sets the value in the Alignment property.</short>
        <descr/>
        <seealso>
          <link id="TGridColumn.Alignment"/>
        </seealso>
      </element>
      <element name="TGridColumn.SetAlignment.AValue">
        <short>New value for the property.</short>
      </element>

      <element name="TGridColumn.SetButtonStyle">
        <short>Sets the value in the ButtonStyle property.</short>
        <descr/>
        <seealso>
          <link id="TGridColumn.ButtonStyle"/>
        </seealso>
      </element>
      <element name="TGridColumn.SetButtonStyle.AValue">
        <short>New value for the property.</short>
      </element>

      <element name="TGridColumn.SetColor">
        <short>Sets the value in the Color property.</short>
        <descr/>
        <seealso>
          <link id="TGridColumn.Color"/>
        </seealso>
      </element>
      <element name="TGridColumn.SetColor.AValue">
        <short>New value for the property.</short>
      </element>

      <element name="TGridColumn.SetExpanded">
        <short>Sets the value in the Expanded property.</short>
        <descr/>
        <seealso>
          <link id="TGridColumn.Expanded"/>
        </seealso>
      </element>
      <element name="TGridColumn.SetExpanded.AValue">
        <short>New value for the property.</short>
      </element>

      <element name="TGridColumn.SetFont">
        <short>Sets the value in the Font property.</short>
        <descr/>
        <seealso>
          <link id="TGridColumn.Font"/>
        </seealso>
      </element>
      <element name="TGridColumn.SetFont.AValue">
        <short>New value for the property.</short>
      </element>

      <element name="TGridColumn.SetLayout">
        <short>Sets the value in the Layout property.</short>
        <descr/>
        <seealso>
          <link id="TGridColumn.Layout"/>
        </seealso>
      </element>
      <element name="TGridColumn.SetLayout.AValue">
        <short>New value for the property.</short>
      </element>

      <element name="TGridColumn.SetMaxSize">
        <short>Sets the value in the MaxSize property.</short>
        <descr/>
        <seealso>
          <link id="TGridColumn.MaxSize"/>
        </seealso>
      </element>
      <element name="TGridColumn.SetMaxSize.AValue">
        <short>New value for the property.</short>
      </element>

      <element name="TGridColumn.SetMinSize">
        <short>Sets the value for the MinSize property.</short>
        <descr/>
        <seealso>
          <link id="TGridColumn.MinSize"/>
        </seealso>
      </element>
      <element name="TGridColumn.SetMinSize.Avalue">
        <short>New value for the property.</short>
      </element>

      <element name="TGridColumn.SetPickList">
        <short>Sets the value for the PickList property.</short>
        <descr/>
        <seealso>
          <link id="TGridColumn.PickList"/>
        </seealso>
      </element>
      <element name="TGridColumn.SetPickList.AValue">
        <short>New value for the property.</short>
      </element>

      <element name="TGridColumn.SetReadOnly">
        <short>Sets the value for the ReadOnly property.</short>
        <descr/>
        <seealso>
          <link id="TGridColumn.ReadOnly"/>
        </seealso>
      </element>
      <element name="TGridColumn.SetReadOnly.AValue">
        <short>New value for the property.</short>
      </element>

      <element name="TGridColumn.SetSizePriority">
        <short>Sets the value for the SizePriority property.</short>
        <descr/>
        <seealso>
          <link id="TGridColumn.SizePriority"/>
        </seealso>
      </element>
      <element name="TGridColumn.SetSizePriority.AValue">
        <short>New value for the property.</short>
      </element>

      <element name="TGridColumn.SetTitle">
        <short>Sets the value for the Title property.</short>
        <descr/>
        <seealso>
          <link id="TGridColumn.Title"/>
        </seealso>
      </element>
      <element name="TGridColumn.SetTitle.AValue">
        <short>New value for the property.</short>
      </element>

      <element name="TGridColumn.SetVisible">
        <short>Sets the value for the Visible property.</short>
        <descr/>
        <seealso>
          <link id="TGridColumn.Visible"/>
        </seealso>
      </element>
      <element name="TGridColumn.SetVisible.AValue">
        <short>New value for the property.</short>
      </element>

      <element name="TGridColumn.SetWidth">
        <short>Sets the value for the Width property.</short>
        <descr/>
        <seealso>
          <link id="TGridColumn.Width"/>
        </seealso>
      </element>
      <element name="TGridColumn.SetWidth.AValue">
        <short>New value for the property.</short>
      </element>

      <element name="TGridColumn.Assign">
        <short>
          Copies property values from the specified persistent object to the current class instance.
        </short>
        <descr>
          <p>
            <var>Assign</var> is an overridden method in <var>TGridColumn</var>. It implements the object persistence mechanism from the FPC RTL. Assign copies property value from the persistent object in <var>Source</var> into the current class instance.
          </p>
          <p>
            When Source is derived from <var>TGridColumn</var>, the following properties are copied in the method:
          </p>
          <ul>
            <li>Alignment</li>
            <li>ButtonStyle</li>
            <li>Color</li>
            <li>DropDownRows</li>
            <li>Font</li>
            <li>Layout</li>
            <li>MinSize</li>
            <li>MaxSize</li>
            <li>PickList</li>
            <li>ReadOnly</li>
            <li>SizePriority</li>
            <li>Title</li>
            <li>Width</li>
            <li>Visible</li>
          </ul>
          <p>
            If Source is not derived from TGridColumn, the inherited Assign method is called.
          </p>
        </descr>
        <seealso>
          <link id="#rtl.classes.TPersistent.Assign">TPersistent.Assign</link>
        </seealso>
      </element>
      <element name="TGridColumn.Assign.Source">
        <short>Persistent object with properties copied in the method.</short>
      </element>

      <element name="TGridColumn.GetDisplayName" link="#rtl.Classes.TCollectionItem.GetDisplayName"/>
      <element name="TGridColumn.GetDisplayName.Result">
        <short/>
      </element>

      <element name="TGridColumn.GetDefaultAlignment">
        <short>Gets the default value for the Alignment property.</short>
        <descr>
          <p>
            <var>GetDefaultAlignment</var> is a <var>TAlignment</var> function used to get the default value for the <var>Alignment</var> property in the grid column.
          </p>
          <p>
            GetDefaultAlignment uses the value in <var>ButtonStyle</var> to determine the alignment needed for the grid column instance. When ButtonStyle contains <var>cbsCheckboxColumn</var> or <var>cbsButtonColumn</var>, the alignment is set to <var>taCenter</var>. Otherwise, the alignment is set to <var>taLeftJustify</var>.
          </p>
          <p>
            GetDefaultAlignment is called when reading the value for the Alignment property, and the value in the property member has not been assigned (contains <b>Nil</b>). It is also called when setting a new value in Alignment, and determines whether the property member needs to be re-allocated for the modified value.
          </p>
        </descr>
        <seealso>
          <link id="TGridColumn.Alignment"/>
          <link id="TGridColumn.ButtonStyle"/>
        </seealso>
      </element>
      <element name="TGridColumn.GetDefaultAlignment.Result">
        <short>TAlignment instance with the default alignment for the grid column.</short>
      </element>

      <element name="TGridColumn.GetDefaultColor">
        <short>Gets the default value for the Color property.</short>
        <descr>
          <p>
            <var>GetDefaultColor</var> is a <var>TColor</var> function used to get the default value for the <var>Color</var> property in the grid column. The return value is set to the Color property in <var>Grid</var>, when it has been assigned. When Grid contains <b>Nil</b>, the value <var>clWindow</var> is used as the return value.
          </p>
          <p>
            GetDefaultColor is called when reading the value for the Color property, and the property has not been assigned. It is also called when setting a new value in Color, and determines whether the property member is re-allocated for the new value.
          </p>
        </descr>
        <seealso>
          <link id="TGridColumn.Color"/>
          <link id="TGridColumn.Grid"/>
        </seealso>
      </element>
      <element name="TGridColumn.GetDefaultColor.Result">
        <short>Default value for the Color property in the grid column.</short>
      </element>

      <element name="TGridColumn.GetDefaultLayout">
        <short>Default layout used for text in the grid column.</short>
        <descr>
          <p>
            <var>GetDefaultLayout</var> is a <var>TTextLayout</var> function used to get the default value for the <var>Layout</var> property in the grid column. The return value is always <var>tlCenter</var> in <var>TGridColumn</var>.
          </p>
          <p>
            GetDefaultLayout is called when reading the value for the  Layout property, and an explicit value has not been assigned for the property. It is also called when setting a new value in Layout, and determines whether the property member is re-allocated for the new value.
          </p>
        </descr>
        <seealso>
          <link id="TGridColumn.Layout"/>
        </seealso>
      </element>
      <element name="TGridColumn.GetDefaultLayout.Result">
        <short>Default value for the Layout property.</short>
      </element>

      <element name="TGridColumn.GetDefaultMaxSize">
        <short>Gets the default value for the MaxSize property.</short>
        <descr>
          <p>
            The return value is always <b>200</b> in <var>TGridColumn</var>.
          </p>
          <p>
            <var>GetDefaultMaxSize</var> is called when read or writing the value for the <var>MaxSize</var> property, and an explicit value has not already been assigned for the member.
          </p>
        </descr>
        <seealso>
          <link id="TGridColumn.MaxSize"/>
        </seealso>
      </element>
      <element name="TGridColumn.GetDefaultMaxSize.Result">
        <short>Default value for the MaxSize property.</short>
      </element>

      <element name="TGridColumn.GetDefaultMinSize">
        <short>Gets the default value for the MinSize property.</short>
        <descr/>
        <seealso>
          <link id="TGridColumn.MinSize"/>
        </seealso>
      </element>
      <element name="TGridColumn.GetDefaultMinSize.Result">
        <short>Default value for the MinSize property.</short>
      </element>

      <element name="TGridColumn.GetDefaultReadOnly">
        <short>Gets the default value for the ReadOnly property.</short>
        <descr/>
        <seealso>
          <link id="TGridColumn.ReadOnly"/>
        </seealso>
      </element>
      <element name="TGridColumn.GetDefaultReadOnly.Result">
        <short>Default value for the ReadOnly property.</short>
      </element>

      <element name="TGridColumn.GetDefaultSizePriority">
        <short>Gets the default value for the SizePriority property.</short>
        <descr/>
        <seealso>
          <link id="TGridColumn.SizePriority"/>
        </seealso>
      </element>
      <element name="TGridColumn.GetDefaultSizePriority.Result">
        <short>Default value for the SizePriority property.</short>
      </element>

      <element name="TGridColumn.GetDefaultVisible">
        <short>Gets the default value for the Visible property.</short>
        <descr/>
        <seealso>
          <link id="TGridColumn.Visible"/>
        </seealso>
      </element>
      <element name="TGridColumn.GetDefaultVisible.Result">
        <short>Default value for the Visible property.</short>
      </element>

      <element name="TGridColumn.GetDefaultValueChecked">
        <short>Gets the default value for a checked cell in the grid column.</short>
        <descr/>
        <seealso/>
      </element>
      <element name="TGridColumn.GetDefaultValueChecked.Result">
        <short>Default value for a checked cell in the grid column.</short>
      </element>

      <element name="TGridColumn.GetDefaultValueUnchecked">
        <short>Gets the default value for an unchecked cell in the column.</short>
      </element>
      <element name="TGridColumn.GetDefaultValueUnchecked.Result">
        <short>Default value used for an unchecked cell in the grid column.</short>
      </element>

      <element name="TGridColumn.GetDefaultWidth">
        <short>Gets the default value for the Width property.</short>
        <descr/>
        <seealso>
          <link id="TGridColumn.Width"/>
        </seealso>
      </element>
      <element name="TGridColumn.GetDefaultWidth.Result">
        <short>Default value for the Width property.</short>
      </element>

      <element name="TGridColumn.ColumnChanged">
        <short>Performs actions needed when a column in the grid is changed.</short>
        <descr>
          <p>
            Calls <var>Changed</var>  to update the current column instance in the <var>Columns</var> collection. The internal flag used to track changes to the column width is reset after updating the collection item.
          </p>
        </descr>
        <seealso/>
      </element>

      <element name="TGridColumn.AllColumnsChange">
        <short>
          Method used to indicate that all columns in the collection have been changed.
        </short>
        <descr/>
        <seealso/>
      </element>

      <element name="TGridColumn.CreateTitle">
        <short>Creates a column title used for the grid column.</short>
        <descr/>
        <seealso/>
      </element>
      <element name="TGridColumn.CreateTitle.Result">
        <short>TGridColumnTitle instance created in the method.</short>
      </element>

      <element name="TGridColumn.SetIndex">
        <short>Sets the value for the Index property.</short>
        <descr>
          <p>
            <var>SetIndex</var> is an overridden method in <var>TGridColumn</var> used to set the value for the inherited <var>Index</var> property. When the property value is changed, and <var>Grid</var> is assigned, columns in the grid control are re-ordered to reflect their new value for the column (when needed). The inherited method is called to apply the new property value prior to exiting from the method.
          </p>
        </descr>
        <seealso>
          <link id="TCustomGrid.Columns"/>
          <link id="TCustomGrid.GridColumnFromColumnIndex"/>
          <link id="TCustomGrid.DoOPMoveColRow"/>
          <link id="#rtl.classes.TCollectionItem.Index">TCollectionItem.Index</link>
        </seealso>
      </element>
      <element name="TGridColumn.SetIndex.Value">
        <short>New value for the Index property.</short>
      </element>

      <element name="TGridColumn.IsDefaultFont">
        <short>Indicates if the default font is in use for the grid column.</short>
        <descr/>
        <seealso/>
      </element>

      <element name="TGridColumn.Create">
        <short>Constructor for the class instance.</short>
        <descr>
          <p>
            <var>Create</var> is the constructor for <var>TGridColumn</var>. Create calls the  inherited <var>Create</var> method using <var>ACollection</var> as the owner for the collection item.
          </p>
          <p>
            Create allocates resources needed for members in the class instance, and sets the default values for properties such as: <var>Title</var>, <var>Font</var>, <var>IsDefaultFont</var>, <var>ButtonStyle</var> and <var>DropDownRows</var>.
          </p>
        </descr>
        <seealso>
          <link id="TGridColumn.Title"/>
          <link id="TGridColumn.Font"/>
          <link id="TGridColumn.IsDefaultFont"/>
          <link id="TGridColumn.ButtonStyle"/>
          <link id="TGridColumn.DropDownRows"/>
          <link id="#rtl.classes.TCollectionItem.Create">TCollectionItem.Create</link>
        </seealso>
      </element>
      <element name="TGridColumn.Create.ACollection">
        <short>Collection which owns the collection item.</short>
      </element>

      <element name="TGridColumn.Destroy">
        <short>Destructor for the class instance.</short>
        <descr>
          <p>
            <var>Destroy</var> is the overridden destructor for the class instance. Destroy ensures that resources allocated for members in the class instance are freed (when needed), including:
          </p>
          <ul>
            <li>Alignment</li>
            <li>Color</li>
            <li>Visible</li>
            <li>ReadOnly</li>
            <li>Width</li>
            <li>Layout</li>
            <li>MaxSize</li>
            <li>SizePriority</li>
            <li>MinSize</li>
            <li>ValueChecked</li>
            <li>ValueUnchecked</li>
            <li>PickList</li>
            <li>Font</li>
            <li>Title</li>
          </ul>
          <p>
            Destroy calls the inherited destructor prior to exiting from the method.
          </p>
        </descr>
        <seealso>
          <link id="#rtl.classes.TCollectionItem.Destroy">TCollectionItem.Destroy</link>
        </seealso>
      </element>

      <element name="TGridColumn.FillDefaultFont">
        <short>Sets the Font to the value used in the grid control.</short>
        <descr>
          <p>
            When <var>Grid</var> has been assigned, its Font is used in the column instance. The TFont value is assigned to the Font property, and IsDefaultFont is set to True.
          </p>
          <p>
            FillDefaultFont is called from the FontChanged method in TGridColumns.
          </p>
        </descr>
        <seealso>
          <link id="TGridColumn.Grid"/>
          <link id="TGridColumn.Font"/>
          <link id="TGridColumn.IsDefaultFont"/>
          <link id="TGridColumns.FontChanged"/>
          <link id="TCustomGrid"/>
        </seealso>
      </element>

      <element name="TGridColumn.FixDesignFontsPPI">
        <short>Corrects the design-time PPI for the column title.</short>
        <descr>
          <p>
            <var>FixDesignFontsPPI</var> is a procedure used to correct the design-time Pixels Per Inch setting for the component. Pixels Per Inch for Fonts is not saved in LFM files, and the design-time setting may differ from the run-time setting on a target machine. This adversely affects font scaling.
          </p>
          <p>
            FixDesignFontsPPI calls the DoFixDesignFontPPI method in the Grid control to adjust the font PPI to the value specified in ADesignTimePPI.
          </p>
        </descr>
        <seealso>
          <link id="TGridColumn.Font"/>
          <link id="TGridColumn.Grid"/>
          <link id="#lcl.controls.TControl.DoFixDesignFontPPI">TControl.DoFixDesignFontPPI</link>
        </seealso>
      </element>
      <element name="TGridColumn.FixDesignFontsPPI.ADesignTime">
        <short>Design-time display density applied in the method.</short>
      </element>

      <element name="TGridColumn.ScaleFontsPPI">
        <short>
          Scales fonts on the column and the grid control using a scaling factor.
        </short>
        <descr/>
        <seealso/>
      </element>
      <element name="TGridColumn.ScaleFontsPPI.AToPPI">
        <short/>
      </element>
      <element name="TGridColumn.ScaleFontsPPI.AProportion">
        <short/>
      </element>

      <element name="TGridColumn.IsDefault">
        <short>True if the column is the default column in the grid.</short>
        <descr/>
        <seealso/>
      </element>
      <element name="TGridColumn.IsDefault.Result">
        <short/>
      </element>

      <element name="TGridColumn.Grid">
        <short>The <var>Grid</var> to which this column belongs.</short>
        <descr/>
        <seealso/>
      </element>

      <element name="TGridColumn.DefaultWidth">
        <short>Default width for the column, or -1 when not assigned.</short>
        <descr>
          <p>
            <var>DefaultWidth</var> is a read-only <var>Integer</var> property with the default width used for the column. The property value is read from the <var>DefaultColWidth</var> property in the Grid control (when assigned). If it is not assigned, the property value is -1.
          </p>
        </descr>
        <seealso/>
      </element>

      <element name="TGridColumn.StoredWidth">
        <short>Contains the explicit, non-default value assigned to the Width property.</short>
        <descr>
          <p>
            <var>StoredWidth</var> is a read-only <var>Integer</var> property with an explicit value assigned to the <var>Width</var> property for the column. If an explicit value has not been assigned in Width, the property value is -1.
          </p>
        </descr>
        <seealso>
          <link id="TGridColumn.Width"/>
        </seealso>
      </element>

      <element name="TGridColumn.WidthChanged">
        <short>True when the width for the column has been changed.</short>
        <descr/>
        <seealso/>
      </element>

      <element name="TGridColumn.Alignment">
        <short>Whether the column is justified, centered, etc.</short>
        <descr/>
        <seealso/>
      </element>

      <element name="TGridColumn.ButtonStyle">
        <short>The style used for a button displayed in the column.</short>
        <descr/>
        <seealso/>
      </element>

      <element name="TGridColumn.Color">
        <short>Color used for the column.</short>
        <descr/>
        <seealso/>
      </element>

      <element name="TGridColumn.DropDownRows">
        <short>The number of rows in the drop-down list used in the column.</short>
        <descr/>
        <seealso/>
      </element>

      <element name="TGridColumn.Expanded">
        <short>Whether the column has been Expanded.</short>
        <descr/>
        <seealso/>
      </element>

      <element name="TGridColumn.Font">
        <short>The <var>Font</var> for the column.</short>
        <descr/>
        <seealso/>
      </element>

      <element name="TGridColumn.Layout">
        <short>The <var>Layout</var> for text.</short>
        <descr/>
        <seealso/>
      </element>

      <element name="TGridColumn.MinSize">
        <short>The minimum size for the column.</short>
        <descr/>
        <seealso/>
      </element>

      <element name="TGridColumn.MaxSize">
        <short>The maximum size for the column.</short>
        <descr/>
        <seealso/>
      </element>

      <element name="TGridColumn.PickList">
        <short>The list of items that can be selected as the value for the column.</short>
        <descr/>
        <seealso/>
      </element>

      <element name="TGridColumn.ReadOnly">
        <short>True when the values in the column cannot be changed.</short>
        <descr/>
        <seealso/>
      </element>

      <element name="TGridColumn.SizePriority">
        <short>The auto-sizing priority for the column.</short>
        <descr/>
        <seealso/>
      </element>

      <element name="TGridColumn.Tag">
        <short>Contains a Pointer to an Integer type.</short>
        <descr>
          <p>
            <var>Tag</var> is a <var>PtrInt</var> property which contains a numeric value. Its usage is implementation dependent.
          </p>
        </descr>
        <seealso/>
      </element>

      <element name="TGridColumn.Title">
        <short>Text displayed as the column title.</short>
        <descr/>
        <seealso/>
      </element>

      <element name="TGridColumn.Width">
        <short>The Width of the column.</short>
        <descr/>
        <seealso/>
      </element>

      <element name="TGridColumn.Visible">
        <short>True if the column is visible (i.e. not hidden).</short>
        <descr/>
        <seealso/>
      </element>

      <element name="TGridColumn.GetValueChecked">
        <short>Gets the checked value for a cell in the column.</short>
      </element>

      <element name="TGridColumn.GetValueUnchecked">
        <short>Gets the unchecked value for a cell in the column.</short>
      </element>

      <element name="TGridColumn.ValueChecked">
        <short>Value used for a checked cell in the column.</short>
      </element>

      <element name="TGridColumn.ValueUnchecked">
        <short>Value used for an unchecked cell in the column.</short>
      </element>

      <element name="TGridPropertyBackup">
        <short>Stores data about rows and columns used in a TCustomGrid class instance.</short>
        <descr>
          <p>
            <var>TGridPropertyBackup</var> is a record type used to store data about rows and columns, including fixed cells. Used internally in a <var>TCustomGrid</var> class instance.
          </p>
        </descr>
        <seealso>
          <link id="TCustomGrid"/>
        </seealso>
      </element>

      <element name="TGridPropertyBackup.ValidData">
        <short>Indicates if the grid contains valid row or column counts.</short>
        <descr/>
        <seealso/>
      </element>

      <element name="TGridPropertyBackup.FixedRowCount">
        <short>Number of fixed rows in the grid.</short>
        <descr/>
        <seealso/>
      </element>

      <element name="TGridPropertyBackup.FixedColCount">
        <short>Number of fixed columns in the grid.</short>
        <descr/>
        <seealso/>
      </element>

      <element name="TGridPropertyBackup.RowCount">
        <short>Number of rows in the grid.</short>
        <descr/>
        <seealso/>
      </element>

      <element name="TGridPropertyBackup.ColCount">
        <short>Number of columns in the grid.</short>
        <descr/>
        <seealso/>
      </element>

      <element name="TGridColumns">
        <short>Collection used to store column definitions for a grid control.</short>
        <descr>
          <p>
            <var>TGridColumns</var> is a <var>TCollection</var> descendant that implements a container for column definitions used in <var>TCustomGrid</var> and descendent classes. TGridColumns is the type used to implement the Columns in TCustomGrid.
          </p>
          <p>
            TGridColumns is used to create, access, and maintain <var>TGridColumn</var> class instances representing the columns in a grid. Use the indexed <var>Items</var> to access a <var>TGridColumn</var> instance in the collection using its ordinal position.
          </p>
          <p>
            Additional properties and methods are included in the collection that are relevant to their use with grid column definitions. A reference to the <var>TCustomGrid</var> which owns the collection is maintained to provide access to the properties, methods, and events in the grid.
          </p>
        </descr>
        <seealso>
          <link id="TGridColumn"/>
          <link id="TCustomGrid.Columns"/>
        </seealso>
      </element>

      <element name="TGridColumns.FGrid"/>

      <element name="TGridColumns.GetColumn">
        <short>Gets the value for the indexed Items property.</short>
        <descr/>
        <seealso/>
      </element>
      <element name="TGridColumns.GetColumn.Result">
        <short>Collection the collection item at the specified position.</short>
      </element>
      <element name="TGridColumns.GetColumn.Index">
        <short>Ordinal position for the requested collection item.</short>
      </element>

      <element name="TGridColumns.GetEnabled">
        <short>Gets the value in the Enabled property.</short>
        <descr/>
        <seealso/>
      </element>
      <element name="TGridColumns.GetEnabled.Result">
        <short>Value for the property.</short>
      </element>

      <element name="TGridColumns.SetColumn">
        <short>Sets the item at the specified position in the Items property.</short>
        <descr/>
        <seealso/>
      </element>
      <element name="TGridColumns.SetColumn.Index">
        <short>Ordinal position for the collection item updated in the method.</short>
      </element>
      <element name="TGridColumns.SetColumn.Value">
        <short>Value stored at the specified position in the collection.</short>
      </element>

      <element name="TGridColumns.GetVisibleCount">
        <short>Gets the value for the VisibleCount property.</short>
        <descr/>
        <seealso/>
      </element>
      <element name="TGridColumns.GetVisibleCount.Result">
        <short>Value for the property.</short>
      </element>

      <element name="TGridColumns.Update">
        <short>Notifies the Grid using the collection when a column is updated.</short>
        <descr/>
        <seealso>
          <link id="#rtl.classes.TCollection">TCollection</link>
        </seealso>
      </element>
      <element name="TGridColumns.Update.Item">
        <short>Collection item requiring the update notification.</short>
      </element>

      <element name="TGridColumns.TitleFontChanged">
        <short>Performs action needed when the title font is changed for items in the collection.</short>
        <descr>
          <p>
            <var>TitleFontChanged</var> is a procedure used to perform actions needed when the title font for a grid has been changed. TitleFontChanged examines each of the column definitions in the collection, and updates the default font for the column when it has not been set to another value. TitleFontChanged is called during execution of the <var>OnTitleFontChanged</var> event handler in <var>TCustomGrid</var>.
          </p>
        </descr>
        <seealso>
          <link id="TCustomGrid.TitleFont"/>
          <link id="TGridColumnTitle.Font"/>
          <link id="TGridColumnTitle.IsDefault"/>
        </seealso>
      </element>

      <element name="TGridColumns.FontChanged">
        <short>Performs actions needed when the Font for the grid control is changed.</short>
        <descr>
          <p>
            <var>FontChanged</var> is an overridden method used to perform actions needed when the <var>Font</var> for the grid control has been changed.
          </p>
          <p>
            FontChanged ensures that the font used for the <var>Canvas</var> is updated to use the value in Font when <var>csCustomPaint</var> is included in the <var>ControlState</var> flags.
          </p>
          <p>
            Otherwise, the inherited method is called to signal the change in the Font property. The FontChanged method in the Columns collection is also called (when enabled). The new Font is assigned to <var>TitleFont</var> and <var>TitleFontIsDefault</var> is reset to <b>True</b>.
          </p>
        </descr>
        <seealso>
          <link id="TCustomGrid.TitleFont"/>
          <link id="TGridColumns"/>
          <link id="TGridColumn.Font"/>
          <link id="#lcl.controls.TCustomControl.FontChanged">TCustomControl.FontChanged</link>
          <link id="#lcl.controls.TControl.ControlState">TControl.ControlState</link>
          <link id="#lcl.controls.TControl.Font">TControl.Font</link>
        </seealso>
      </element>

      <element name="TGridColumns.RemoveColumn">
        <short>Removes the specified column number from the collection.</short>
        <descr/>
        <seealso/>
      </element>
      <element name="TGridColumns.RemoveColumn.Index">
        <short>Ordinal position of the column to remove in the method.</short>
      </element>

      <element name="TGridColumns.MoveColumn">
        <short>Moves the column from the first index to the second.</short>
        <descr/>
        <seealso/>
      </element>
      <element name="TGridColumns.MoveColumn.FromIndex">
        <short>Original position for the column moved in the method.</short>
      </element>
      <element name="TGridColumns.MoveColumn.ToIndex">
        <short>New position for the column moved in the method.</short>
      </element>

      <element name="TGridColumns.ExchangeColumn">
        <short>Exchanges the positions for the specified columns.</short>
        <descr>
          <p>
            <var>ExchangeColumn</var> is a method used to swap the positions for the grid columns specified in the Index and WithIndex parameters. The arguments contain the ordinal positions for the respective grid columns in Items that are swapped in the method.
          </p>
          <p>
            ExchangeColumn calls HasIndex to ensure that both values within the range allowed (0..Count-1). An exception is raised if either value is not in the required range for the column collection.
          </p>
          <p>
            The order for the index positions is not significant; the column with the larger of the two index values is updated first. This prevents an exception from being raised when the column positions are swapped.
          </p>
          <p>
            ExchangeColumn swaps the values for the Index properties for the corresponding TGridColumn instances in Items. The Grid control associated with the collection is notified when the Index properties are updated, and the grid moves the content for the updated columns.
          </p>
        </descr>
        <errors>
          Raises an Exception if values in Index or WithIndex are not within the range allowed for the collection.
        </errors>
        <seealso>
          <link id="TGridColumns.Items"/>
          <link id="TGridColumns.Grid"/>
          <link id="TGridColumn"/>
          <link id="TCustomGrid"/>
          <link id="#rtl.classes.TCollectionItem.Index">TCollectionItem.Index</link>
        </seealso>
      </element>
      <element name="TGridColumns.ExchangeColumn.Index">
        <short>Position of a column exchanged in the method.</short>
      </element>
      <element name="TGridColumns.ExchangeColumn.WithIndex">
        <short>Position of the other column exchanged in the method.</short>
      </element>

      <element name="TGridColumns.InsertColumn">
        <short>Inserts a column at the specified index position.</short>
        <descr>
          <p>
            InsertColumn calls the Add method to create a new column instance using the ItemClass for the collection. MoveColumn is called to relocate the newly stored column to the position in the Index argument.
          </p>
          <p>
            Use the Items property to access the new column by its index position.
          </p>
        </descr>
        <seealso>
          <link id="TGridColumns.Add"/>
          <link id="TGridColumns.MoveColumn"/>
          <link id="TGridColumns.Items"/>
          <link id="TGridColumn"/>
          <link id="#rtl.classes.TCollection.ItemClass">TCollection.ItemClass</link>
        </seealso>
      </element>
      <element name="TGridColumns.InsertColumn.Index">
        <short>Position in the collection where the column is inserted.</short>
      </element>

      <element name="TGridColumns.Create">
        <short>Constructor for the class instance.</short>
        <descr>
          <p>
            <var>Create</var> is the constructor for the class instance, and calls the inherited method on entry using <var>aItemClass</var> as the class type for new items added to the collection. Create stores the value in <var>AGrid</var> to the <var>Grid</var> property.
          </p>
        </descr>
        <seealso>
          <link id="#rtl.classes.TCollection.Create">TCollection.Create</link>
        </seealso>
      </element>
      <element name="TGridColumns.Create.AGrid">
        <short>Grid which owns the collection of column definitions.</short>
      </element>
      <element name="TGridColumns.Create.aItemClass">
        <short>Class reference used to create new items in the collection.</short>
      </element>

      <element name="TGridColumns.Add">
        <short>Creates a new ItemClass instance with the collection as its owner.</short>
        <descr>
          <p>
            <var>Add</var> is an overridden method used to create a new collection item using the <var>ItemClass</var> class type for the collection. The new class instance has the collection as its owner. Add re-implements the method from the ancestor class.
          </p>
          <p>
            Use <var>Insert</var> or <var>InsertColumn</var> to create a new collection item and store it at a specified position in the collection.
          </p>
        </descr>
        <seealso>
          <link id="TGridColumns.InsertColumn"/>
          <link id="#rtl.classes.TCollectionItem">TCollectionItem</link>
          <link id="#rtl.classes.TCollection.Add">TCollection.Add</link>
          <link id="#rtl.classes.TCollection.Insert">TCollection.Insert</link>
          <link id="#rtl.classes.TCollection.ItemClass">TCollection.ItemClass</link>
        </seealso>
      </element>
      <element name="TGridColumns.Add.Result">
        <short>TGridColumn instance added to the collection.</short>
      </element>

      <element name="TGridColumns.Clear">
        <short>Clears all items in the collection.</short>
        <descr>
          <p>
            <var>Clear</var> calls <var>BeginUpdate</var> to suppress notifications when items are removed from the collection. It also calls <var>EndUpdate</var> when all items have been removed in the method. Clear calls the inherited method to remove the items in the collection.
          </p>
        </descr>
        <seealso>
          <link id="#rtl.classes.TCollection.Clear">TCollection.Clear</link>
        </seealso>
      </element>

      <element name="TGridColumns.ColumnByTitle">
        <short>Gets the grid column in the collection with the specified title.</short>
        <descr>
          <p>
            Calls SameText to perform a case-insensitive comparison between the value in ATitle and the title in each of the collection items.
          </p>
        </descr>
        <seealso/>
      </element>
      <element name="TGridColumns.ColumnByTitle.Result">
        <short>TGridColumn instance with the specified title, or Nil when not found.</short>
      </element>
      <element name="TGridColumns.ColumnByTitle.ATitle">
        <short>Title for the column to retrieved from the collection.</short>
      </element>

      <element name="TGridColumns.RealIndex">
        <short>The actual grid index for the visible columns in the collection.</short>
        <descr>
        </descr>
        <seealso/>
      </element>
      <element name="TGridColumns.RealIndex.Result">
        <short/>
      </element>
      <element name="TGridColumns.RealIndex.Index">
        <short/>
      </element>

      <element name="TGridColumns.IndexOf">
        <short>Gets the ordinal position in the collection for the specified item.</short>
        <descr>
          <p>
            <var>IndexOf</var> is an <var>Integer</var> function used to get the ordinal position in the collection for the <var>TGridColumn</var> instance specified in <var>Column</var>. The return value contains the ordinal position (in the range <b>0</b> to <b>Count-1</b>), or <b>-1</b> when no items exist in the collection or when <var>Column</var> cannot be located in the container.
          </p>
        </descr>
        <seealso>
          <link id="TGridColumns.Items"/>
          <link id="TGridColumn"/>
          <link id="#rtl.classes.TCollection.Count">TCollection.Count</link>
        </seealso>
      </element>
      <element name="TGridColumns.IndexOf.Result">
        <short>Ordinal position for the collection item, or -1 when not found.</short>
      </element>
      <element name="TGridColumns.IndexOf.Column">
        <short>Grid column to locate in the collection.</short>
      </element>

      <element name="TGridColumns.IsDefault">
        <short>True if the column contains default values only.</short>
        <descr/>
        <seealso/>
      </element>
      <element name="TGridColumns.IsDefault.Result">
        <short>True if the column uses a default title and contains no explicit property assignments.</short>
      </element>

      <element name="TGridColumns.HasIndex">
        <short>True if the specified index value is valid for the collection.</short>
        <descr>
          <p>
            <var>HasIndex</var> ensures that the value in <var>Index</var> is valid for the collection. The return value is True when Index is in the range <b>0..Count-1</b>.
          </p>
        </descr>
        <seealso>
          <link id="TGridColumns.Items"/>
          <link id="#rtl.classes.TCollection.Count">TCollection.Count</link>
        </seealso>
      </element>
      <element name="TGridColumns.HasIndex.Result">
        <short>True when the value is in the range allowed for the collection.</short>
      </element>
      <element name="TGridColumns.HasIndex.Index">
        <short>Index value examined in the method.</short>
      </element>

      <element name="TGridColumns.VisibleIndex">
        <short>The visible index value for the specified column in the collection.</short>
        <descr/>
        <seealso/>
      </element>
      <element name="TGridColumns.VisibleIndex.Result">
        <short>Ordinal position for the column within the visible columns for the collection.</short>
      </element>
      <element name="TGridColumns.VisibleIndex.Index">
        <short>Ordinal position for the column examined in the method.</short>
      </element>

      <element name="TGridColumns.Grid">
        <short>The Grid which owns the collection and columns.</short>
        <descr>
          <p>
            <var>Grid</var> is a read-only <var>TCustomGrid</var> which provides access to the grid which owns the column collection. The value in Grid is set in the constructor to an argument passed to the method, and used as the value for the <var>Owner</var> property.
          </p>
          <p>
            Grid can be used to access the properties, methods, and events in the grid class instance. It is used in the implementation of methods in the collection, such as <var>InsertColumn</var> and <var>Update</var>.
          </p>
        </descr>
        <seealso>
          <link id="TCustomGrid.CreateColumns"/>
          <link id="TCustomGrid.ColumnsChanged"/>
          <link id="TGridColumns.InsertColumn"/>
          <link id="#rtl.classes.TCollection.Owner">TCollection.Owner</link>
        </seealso>
      </element>

      <element name="TGridColumns.Items">
        <short>Provides indexed access to column definitions in the collection.</short>
        <descr>
          <p>
            <var>Items</var> is an indexed <var>TGridColumn</var> used to access column definitions in the collection by the ordinal position specified in the <var>Index</var> argument. Items is the default for the collection.
          </p>
          <p>
            Use <var>Add</var> to create and store a new instance of <var>TGridColumn</var> in the collection.
          </p>
          <p>
            Use <var>InsertColumn</var> to create and store a new collection item at a specific position in the collection.
          </p>
          <p>
            Use <var>RemoveColumn</var>, <var>Delete</var> or <var>Clear</var> to remove one or all item(s) in the collection.
          </p>
          <p>
            Use <var>IndexOf</var> to get the ordinal position in the collection for an existing <var>TGridColumn</var> class instance.
          </p>
        </descr>
        <seealso>
          <link id="TGridColumns.Clear"/>
          <link id="TGridColumns.IndexOf"/>
          <link id="TGridColumns.Add"/>
          <link id="TGridColumns.InsertColumn"/>
          <link id="TGridColumns.RemoveColumn"/>
          <link id="#rtl.classes.TCollection.Delete">TCollection.Delete</link>
        </seealso>
      </element>
      <element name="TGridColumns.Items.Index">
        <short>Ordinal position for the column definition used as the value.</short>
      </element>

      <element name="TGridColumns.VisibleCount">
        <short>The number of visible columns in the collection.</short>
        <descr/>
        <seealso/>
      </element>

      <element name="TGridColumns.Enabled">
        <short>Indicates if the column collection is enabled.</short>
        <descr>
          <p>
            Enabled is a read-only Boolean property which indicates if columns in the collection can be used in the associated Grid control. Enabled is True when VisibleCount contains a value greater than 0 (zero).
          </p>
        </descr>
        <seealso/>
      </element>

      <element name="TGridCoord">
        <short>Stores mouse coordinates in screen pixels.</short>
        <descr>
          <p>
            <var>TGridCoordinate</var> is an alias for the <var>TPoint</var> type, and used to get mouse coordinates in <var>TCustomGrid</var> and descendent classes. The <var>X</var> and <var>Y</var> members contain pixel screen coordinates for a given cell.
          </p>
        </descr>
        <seealso>
          <link id="TCustomGrid.MouseCoord"/>
          <link id="TCustomGrid.MouseToCell"/>
        </seealso>
      </element>

      <element name="TGridRect">
        <short>Alias for the TRect type in RTL.</short>
        <descr>
          <p>
            <var>TGridRect</var> is an alias for the <var>TRect</var> type in the FPC Run-time Library (RTL).
          </p>
        </descr>
        <seealso>
          <link id="TGridRectArray"/>
          <link id="#rtl.types.TRect">TRect</link>
        </seealso>
      </element>

      <element name="TGridRectArray">
        <short>Array type used to store TGridRect instances.</short>
        <descr>
          <p>
            <var>TGridRectArray</var> is an array type used to store <var>TGridRect</var> instances. It is used to track cell selection ranges in a grid control.
          </p>
        </descr>
        <seealso>
          <link id="TGridRect"/>
          <link id="TCustomGrid.SelectedRange"/>
          <link id="TCustomGrid.SelectedRangeCount"/>
        </seealso>
      </element>

      <element name="TSizingRec">
        <short>Stores size and movement data for columns or rows in a grid.</short>
        <descr>
          <p>
            <var>TSizingRec</var> is a record type used to store size and positioning information for columns or rows in TCustomGrid and descendent classes. TSizingRec is the type used for an internal member in TCustomGrid used in method that perform column or row sizing operations.
          </p>
        </descr>
        <seealso>
          <link id="TCustomGrid.MouseMove"/>
          <link id="TCustomGrid.MouseUp"/>
          <link id="TCustomGrid.DblClick"/>
        </seealso>
      </element>
      <element name="TSizingRec.Index">
        <short/>
      </element>
      <element name="TSizingRec.OffIni">
        <short/>
      </element>
      <element name="TSizingRec.OffEnd">
        <short/>
      </element>
      <element name="TSizingRec.DeltaOff">
        <short/>
      </element>
      <element name="TSizingRec.PrevLine">
        <short/>
      </element>
      <element name="TSizingRec.PrevOffset">
        <short/>
      </element>

      <element name="TGridDataCache">
        <short>Stores cached information about a grid control.</short>
        <descr>
          <p>
            <var>TGridDataCache</var> is a record type used to store and cache information about a grid control, its layout, and activity. TGridDataCache is the type used to implement the <var>GCache</var> property in <var>TCustomGrid</var>.
          </p>
        </descr>
        <seealso>
          <link id="TCustomGrid.GCache"/>
        </seealso>
      </element>

      <element name="TGridDataCache.FixedWidth">
        <short>Sum of the column widths for fixed cells in a grid.</short>
        <descr/>
        <seealso/>
      </element>

      <element name="TGridDataCache.FixedHeight">
        <short>Sum of the row heights for fixed cells in a grid.</short>
        <descr/>
        <seealso/>
      </element>

      <element name="TGridDataCache.GridWidth">
        <short>Sum of the column widths for all cells in a grid.</short>
        <descr/>
        <seealso/>
      </element>

      <element name="TGridDataCache.GridHeight">
        <short>Sum of the row heights for all cells in a grid.</short>
        <descr/>
        <seealso/>
      </element>

      <element name="TGridDataCache.ClientWidth">
        <short>Width of the grid control minus the width for the vertical scrollbar.</short>
        <descr/>
        <seealso/>
      </element>

      <element name="TGridDataCache.ClientHeight">
        <short>Height of the grid control minus the width of the horizontal scrollbar.</short>
        <descr/>
        <seealso/>
      </element>

      <element name="TGridDataCache.ScrollWidth">
        <short>The difference between ClientWidth and FixedWidth.</short>
        <descr/>
        <seealso/>
      </element>

      <element name="TGridDataCache.ScrollHeight">
        <short>The difference between ClientHeight and FixedHeight.</short>
        <descr/>
        <seealso/>
      </element>

      <element name="TGridDataCache.HScrollBarNetRange">
        <short>Difference between the scrollbar range and the grid page size.</short>
        <descr/>
        <seealso/>
      </element>

      <element name="TGridDataCache.VisibleGrid">
        <short>Visible non-fixed cell coordinates rectangle.</short>
        <descr/>
        <seealso/>
      </element>

      <element name="TGridDataCache.MaxClientXY">
        <short>Bottom/Right coordinates in (pixels) for the visible parts of a grid.</short>
        <descr/>
        <seealso/>
      </element>

      <element name="TGridDataCache.ValidRows">
        <short>True when there are no fixed columns to display in a grid.</short>
        <descr/>
        <seealso/>
      </element>

      <element name="TGridDataCache.ValidCols">
        <short>True when there are no fixed rows to display in the grid.</short>
        <descr/>
        <seealso/>
      </element>

      <element name="TGridDataCache.ValidGrid">
        <short>True when there are no fixed cells for columns or rows in a grid.</short>
        <descr/>
        <seealso/>
      </element>

      <element name="TGridDataCache.AccumWidth">
        <short>Cumulative preceeding width per grid column.</short>
        <descr/>
        <seealso/>
      </element>

      <element name="TGridDataCache.AccumHeight">
        <short>Cumulative preceeding height per grid row.</short>
        <descr/>
        <seealso/>
      </element>

      <element name="TGridDataCache.TLColOff">
        <short>Offset in pixels for the Top/Left column in a grid.</short>
        <descr/>
        <seealso/>
      </element>

      <element name="TGridDataCache.TLRowOff">
        <short>Offset in pixels for the Top/Left row in a grid.</short>
        <descr/>
        <seealso/>
      </element>

      <element name="TGridDataCache.MaxTopLeft">
        <short>Cell coordinates for the last cell that can be used as the grid visual origin.</short>
        <descr/>
        <seealso/>
      </element>

      <element name="TGridDataCache.MaxTLOffset">
        <short>Max Top left offset for the last cell in the grid.</short>
        <descr/>
        <seealso/>
      </element>

      <element name="TGridDataCache.HotCell">
        <short>The current "hot" cell in the grid.</short>
        <descr/>
        <seealso/>
      </element>

      <element name="TGridDataCache.HotCellPainted">
        <short>True if the current "hot" cell has already been painted.</short>
        <descr/>
        <seealso/>
      </element>

      <element name="TGridDataCache.HotGridZone">
        <short>GridZone for the last MouseMove.</short>
        <descr/>
        <seealso/>
      </element>

      <element name="TGridDataCache.ClickCell">
        <short>Cell coordinates for the last mouse click event.</short>
        <descr/>
        <seealso/>
      </element>

      <element name="TGridDataCache.ClickMouse">
        <short>Mouse coordinates for the last mouse click event.</short>
        <descr/>
        <seealso/>
      </element>

      <element name="TGridDataCache.PushedCell">
        <short>Cell coordinates for the cell drawn in the pushed state.</short>
        <descr/>
        <seealso/>
      </element>

      <element name="TGridDataCache.PushedMouse">
        <short>Mouse Coordinates for the cell drawn in the pushed state.</short>
        <descr/>
        <seealso/>
      </element>

      <element name="TGridDataCache.ClickCellPushed">
        <short>Indicates if the header cell is currently drawn in the pushed state.</short>
        <descr/>
        <seealso/>
      </element>

      <element name="TGridDataCache.FullVisibleGrid">
        <short>Visible cells excluding partially visible cells.</short>
        <descr/>
        <seealso/>
      </element>

      <element name="TGridDataCache.MouseCell">
        <short>Cell which contains the mouse pointer.</short>
        <descr/>
        <seealso/>
      </element>

      <element name="TGridDataCache.OldMaxTopLeft">
        <short>Previous MaxTopleft (before column sizing).</short>
        <descr/>
        <seealso/>
      </element>

      <element name="TGridCursorState">
        <short>Enumerated type with cursors available in a grid.</short>
        <descr>
          <p>
            <var>TGridCursorState</var> is the type used for the <var>CursorState</var> property in <var>TCustomGrid</var>.
          </p>
        </descr>
        <seealso>
          <link id="TCustomGrid.CursorState"/>
        </seealso>
      </element>
      <element name="TGridCursorState.gcsDefault">
        <short>Normal cursor shape/style.</short>
      </element>
      <element name="TGridCursorState.gcsColWidthChanging">
        <short>Cursor displayed when changing the size of a column.</short>
      </element>
      <element name="TGridCursorState.gcsRowHeightChanging">
        <short>Cursor displayed when resizing the height of a row.</short>
      </element>
      <element name="TGridCursorState.gcsDragging">
        <short>Cursor displayed when dragging a row or column.</short>
      </element>

      <element name="TCustomGrid">
        <short>Implements the base class for grid controls.</short>
        <descr>
          <p>
            A grid is a collection of cells that are organized in columns and rows. Grids are suitable for showing data that using a tabular layout. For example: tables in a database, or formulae and data in a spreadsheet.
          </p>
          <p>
            <b>Key properties:</b>
          </p>
          <p>
            The <link id="TCustomGrid.ColCount">ColCount</link> and  <link id="TCustomGrid.RowCount">RowCount</link> properties contain the column and row count of the grid.
          </p>
          <p>
            The <link id="TCustomGrid.FixedCols">FixedCols</link> and <link id="TCustomGrid.FixedRows">FixedRows</link> properties specify the count of fixed columns or rows that are used for headings.
          </p>
          <p>
            The column widths and row heights of the grid are accessible with the <link id="TCustomGrid.ColWidths">ColWidths</link> and <link id="TCustomGrid.RowHeights">RowHeights</link> properties.
          </p>
          <p>
            The <link id="TCustomGrid.DefaultColWidth">DefaultColWidth</link> and <link id="TCustomGrid.DefaultRowHeight">DefaultRowHeight</link> properties are used to specify default column widths or row heights respectively.
          </p>
          <p>
            The colors of the cells and the grid elements are specified with the <link id="TCustomGrid.AlternateColor">AlternateColor</link>, <link id="TCustomGrid.BorderColor">BorderColor</link>, <link id="TCustomGrid.FixedColor">FixedColor</link>, <link id="TCustomGrid.FixedHotColor">FixedHotColor</link>, <link id="TCustomGrid.FocusColor">FocusColor</link>, <link id="TCustomGrid.GridLineColor">GridLineColor</link> and <link id="TCustomGrid.SelectedColor">SelectedColor</link>   properties. The <link id="TCustomGrid.GridWidth">GridWidth</link> and <link id="TCustomGrid.GridHeight">GridHeight</link> properties contain the dimension of the entire grid.
          </p>
          <p>
            The <link id="TCustomGrid.ScrollBars">ScrollBars</link> controls the creation of scrollbars for the grid.
          </p>
          <p>
            The <link id="TCustomGrid.LeftCol">LeftCol</link>, <link id="TCustomGrid.TopRow">TopRow</link>, <link id="TCustomGrid.VisibleColCount">VisibleColCount</link> and <link id="TCustomGrid.VisibleRowCount">VisibleRowCount</link> properties contain information about the visible area of the grid.
          </p>
          <p>
            The <link id="TCustomGrid.Options">Options</link> controls options for the grid.
          </p>
          <p>
            <b>Key methods and events:</b>
          </p>
          <p>
            If the user highlights a cell of the grid, the <link id="TCustomGrid.SelectCell">SelectCell</link> method is called that triggers the OnSelectCell event. The position of the highlighted cell is stored within the <link id="TCustomGrid.Col">Col</link> and <link id="TCustomGrid.Row">Row</link> property.
          </p>
          <p>
            The <link id="TCustomGrid.MouseToCell">MouseToCell</link> method calculates a grid cell from a given screen position.
          </p>
          <p>
            Huge changes to the grid should be encapsulated in calls to <link id="TCustomGrid.BeginUpdate">BeginUpdate</link> and <link id="TCustomGrid.EndUpdate">EndUpdate</link> to speed up the application.
          </p>
          <p>
            Component developers must override the <link id="TCustomGrid.DrawCell">DrawCell</link> method in customized grids.
          </p>
        </descr>
        <seealso>
          <link id="TStringGrid"/>
          <link id="TDrawGrid"/>
          <link id="HowToUseGrids"/>
        </seealso>
      </element>

      <element name="TCustomGrid.FAlternateColor"/>
      <element name="TCustomGrid.FAutoAdvance"/>
      <element name="TCustomGrid.FAutoEdit"/>
      <element name="TCustomGrid.FAutoFillColumns"/>
      <element name="TCustomGrid.FBorderColor"/>
      <element name="TCustomGrid.FDefaultDrawing"/>
      <element name="TCustomGrid.FEditor"/>
      <element name="TCustomGrid.FEditorHidingCount"/>
      <element name="TCustomGrid.FEditorMode"/>
      <element name="TCustomGrid.FEditorOldValue"/>
      <element name="TCustomGrid.FEditorShowing"/>
      <element name="TCustomGrid.FEditorKey"/>
      <element name="TCustomGrid.FEditorOptions"/>
      <element name="TCustomGrid.FExtendedSelect"/>
      <element name="TCustomGrid.FFastEditing"/>
      <element name="TCustomGrid.FAltColorStartNormal"/>
      <element name="TCustomGrid.FFlat"/>
      <element name="TCustomGrid.FOnAfterSelection"/>
      <element name="TCustomGrid.FOnLoadColumn"/>
      <element name="TCustomGrid.FOnSaveColumn"/>
      <element name="TCustomGrid.FRangeSelectMode"/>
      <element name="TCustomGrid.FSelections"/>
      <element name="TCustomGrid.FOnUserCheckboxBitmap"/>
      <element name="TCustomGrid.FOnUserCheckboxImage"/>
      <element name="TCustomGrid.FSortOrder"/>
      <element name="TCustomGrid.FSortColumn"/>
      <element name="TCustomGrid.FSortLCLImages"/>
      <element name="TCustomGrid.FTabAdvance"/>
      <element name="TCustomGrid.FTitleImageList"/>
      <element name="TCustomGrid.FTitleImageListWidth"/>
      <element name="TCustomGrid.FTitleStyle"/>
      <element name="TCustomGrid.FAscImgInd"/>
      <element name="TCustomGrid.FDescImgInd"/>
      <element name="TCustomGrid.FOnCompareCells"/>
      <element name="TCustomGrid.FGridLineStyle"/>
      <element name="TCustomGrid.FGridLineWidth"/>
      <element name="TCustomGrid.FDefColWidth"/>
      <element name="TCustomGrid.FDefRowHeight"/>
      <element name="TCustomGrid.FRealizedDefColWidth"/>
      <element name="TCustomGrid.FRealizedDefRowHeight"/>
      <element name="TCustomGrid.FCol"/>
      <element name="TCustomGrid.FRow"/>
      <element name="TCustomGrid.FFixedCols"/>
      <element name="TCustomGrid.FFixedRows"/>
      <element name="TCustomGrid.FOnEditButtonClick"/>
      <element name="TCustomGrid.FOnButtonClick"/>
      <element name="TCustomGrid.FOnPickListSelect"/>
      <element name="TCustomGrid.FOnCheckboxToggled"/>
      <element name="TCustomGrid.FOnPrepareCanvas"/>
      <element name="TCustomGrid.FOnSelectEditor"/>
      <element name="TCustomGrid.FOnValidateEntry"/>
      <element name="TCustomGrid.FGridLineColor"/>
      <element name="TCustomGrid.FFixedGridLineColor"/>
      <element name="TCustomGrid.FFixedColor"/>
      <element name="TCustomGrid.FFixedHotColor"/>
      <element name="TCustomGrid.FFocusColor"/>
      <element name="TCustomGrid.FSelectedColor"/>
      <element name="TCustomGrid.FDisabledFontColor"/>
      <element name="TCustomGrid.FFocusRectVisible"/>
      <element name="TCustomGrid.FCols"/>
      <element name="TCustomGrid.FRows"/>
      <element name="TCustomGrid.FSaveOptions"/>
      <element name="TCustomGrid.FScrollBars"/>
      <element name="TCustomGrid.FSelectActive"/>
      <element name="TCustomGrid.FTopLeft"/>
      <element name="TCustomGrid.FPivot"/>
      <element name="TCustomGrid.FRange"/>
      <element name="TCustomGrid.FDragDx"/>
      <element name="TCustomGrid.FMoveLast"/>
      <element name="TCustomGrid.FUpdateCount"/>
      <element name="TCustomGrid.FGCache"/>
      <element name="TCustomGrid.FOptions"/>
      <element name="TCustomGrid.FOptions2"/>
      <element name="TCustomGrid.FOnDrawCell"/>
      <element name="TCustomGrid.FOnBeforeSelection"/>
      <element name="TCustomGrid.FOnSelection"/>
      <element name="TCustomGrid.FOnTopLeftChanged"/>
      <element name="TCustomGrid.FUseXORFeatures"/>
      <element name="TCustomGrid.FValidateOnSetSelection"/>
      <element name="TCustomGrid.FVSbVisible"/>
      <element name="TCustomGrid.FHSbVisible"/>
      <element name="TCustomGrid.FDefaultTextStyle"/>
      <element name="TCustomGrid.FLastWidth"/>
      <element name="TCustomGrid.FTitleFont"/>
      <element name="TCustomGrid.FLastFont"/>
      <element name="TCustomGrid.FTitleFontIsDefault"/>
      <element name="TCustomGrid.FColumns"/>
      <element name="TCustomGrid.FButtonEditor"/>
      <element name="TCustomGrid.FStringEditor"/>
      <element name="TCustomGrid.FButtonStringEditor"/>
      <element name="TCustomGrid.FPickListEditor"/>
      <element name="TCustomGrid.FExtendedColSizing"/>
      <element name="TCustomGrid.FExtendedRowSizing"/>
      <element name="TCustomGrid.FUpdatingAutoFillCols"/>
      <element name="TCustomGrid.FGridBorderStyle"/>
      <element name="TCustomGrid.FGridFlags"/>
      <element name="TCustomGrid.FGridPropBackup"/>
      <element name="TCustomGrid.FStrictSort"/>
      <element name="TCustomGrid.FIgnoreClick"/>
      <element name="TCustomGrid.FAllowOutboundEvents"/>
      <element name="TCustomGrid.FColumnClickSorts"/>
      <element name="TCustomGrid.FHeaderHotZones"/>
      <element name="TCustomGrid.FHeaderPushZones"/>
      <element name="TCustomGrid.FCursorChangeLock"/>
      <element name="TCustomGrid.FCursorState"/>
      <element name="TCustomGrid.FColRowDragIndicatorColor"/>
      <element name="TCustomGrid.FSavedCursor"/>
      <element name="TCustomGrid.FSpecialCursors"/>
      <element name="TCustomGrid.FSizing"/>
      <element name="TCustomGrid.FRowAutoInserted"/>
      <element name="TCustomGrid.FMouseWheelOption"/>
      <element name="TCustomGrid.FSavedHint"/>
      <element name="TCustomGrid.FCellHintPriority"/>
      <element name="TCustomGrid.FOnGetCellHint"/>

      <element name="TCustomGrid.AdjustCount">
        <short>Adjusts a row or column count.</short>
        <descr>
          <p>
            <var>AdjustCount</var> is a procedure used to adjust the row or column count for the grid, and to update properties and cache information for the grid.
          </p>
          <p>
            <var>IsColumn</var> indicates if the <var>OldValue</var> and <var>NewValue</var> arguments refer to the column or row count for the grid; when IsColumn is <b>True</b>, the values refer to the column count.
          </p>
          <p>
            <var>OldValue</var> contains the previous row or column count in the grid.
          </p>
          <p>
            <var>NewValue</var> contains the row or column count on exit from the method.
          </p>
          <p>
            AdjustCount is called when the value in the <var>RowCount</var> or <var>ColCount</var> is changed. It calls the <var>UpdateCachedSizes</var> and <var>SizeChanged</var> methods. It may also call <var>FixPos</var> when NewValue causes the row or column to be out of range for the grid control.
          </p>
        </descr>
        <seealso>
          <link id="TCustomGrid.ColCount"/>
          <link id="TCustomGrid.InternalSetColCount"/>
          <link id="TCustomGrid.RowCount"/>
        </seealso>
      </element>
      <element name="TCustomGrid.AdjustCount.IsColumn">
        <short>True when the count values are for a columns instead of rows.</short>
      </element>
      <element name="TCustomGrid.AdjustCount.OldValue">
        <short>Count value before adjustment.</short>
      </element>
      <element name="TCustomGrid.AdjustCount.NewValue">
        <short>Count value after adjustment.</short>
      </element>

      <element name="TCustomGrid.CacheVisibleGrid">
        <short>Caches information about visible parts of the grid (excluding fixed cells).</short>
        <descr/>
        <seealso>
          <link id="TGridDataCache"/>
          <link id="TCustomGrid.ScrollBy"/>
          <link id="TCustomGrid.VisualChange"/>
          <link id="TCustomGrid.ResetSizes"/>
          <link id="TCustomGrid.ResetOffset"/>
        </seealso>
      </element>

      <element name="TCustomGrid.CancelSelection">
        <short>Removes the active range selection for the grid.</short>
        <descr>
          <p>
            Ensures that a selection range is re-created for the current cell, or the current row when <var>goRowSelect</var> is included in the <var>Options</var> for the grid. The value in <var>SelectActive</var> is set to <b>False</b>.
          </p>
        </descr>
        <seealso>
          <link id="TCustomGrid.Options"/>
          <link id="TCustomGrid.SelectActive"/>
        </seealso>
      </element>

      <element name="TCustomGrid.CheckFixedCount">
        <short>Ensures that column and row numbers for fixed cells are valid.</short>
        <descr/>
        <errors>
          Raises an EGridException if values in column or row numbers for fixed cells contain negative values, or are not in range for the grid control.
        </errors>
        <seealso/>
      </element>
      <element name="TCustomGrid.CheckFixedCount.aCol">
        <short>Column number examined in the method.</short>
      </element>
      <element name="TCustomGrid.CheckFixedCount.aRow">
        <short>Row number examined in the method.</short>
      </element>
      <element name="TCustomGrid.CheckFixedCount.aFCol">
        <short>Fixed column number examined in the method.</short>
      </element>
      <element name="TCustomGrid.CheckFixedCount.aFRow">
        <short>Fixed row number examined in the method.</short>
      </element>

      <element name="TCustomGrid.CheckCount">
        <short>Ensures that a handle exists for the grid before updates to column or row counts.</short>
        <descr>
          <p>
            Ensures that a handle has been allocated for the grid prior to actions that affect the row or column count.
          </p>
        </descr>
        <seealso/>
      </element>
      <element name="TCustomGrid.CheckCount.aNewColCount">
        <short>New column count for the control.</short>
      </element>
      <element name="TCustomGrid.CheckCount.aNewRowCount">
        <short>New row count for the control.</short>
      </element>

      <element name="TCustomGrid.CheckIndex">
        <short>Ensures a row or column index is not out of range.</short>
        <descr>
          <p>
            <var>CheckIndex</var> is a procedure used to ensure that an index value is within the range of values allowed for a row or column.
          </p>
          <p>
            <var>IsColumn</var> indicates whether a row or column index is being checked. When set to <b>True</b>, a column index is verified. When set to <b>False</b>, a row index is examined.
          </p>
          <p>
            <var>IsColumnIndexValid</var> or <var>IsRowIndexValid</var> is called to validate the value in <var>Index</var>. An <var>EGridException</var> exception is raised when Index in not allowed for the corresponding dimension.
          </p>
          <p>
            CheckIndex is called from methods like <var>Sort</var>, <var>DoOPMoveColRow</var>, and <var>DoOPDeleteColRow</var>.
          </p>
        </descr>
        <errors>
          Raises an EGridException exception with the message in rsGridIndexOutOfRange when Index is not valid for the row or column.
        </errors>
        <seealso>
          <link id="TCustomGrid.IsColumnIndexValid"/>
          <link id="TCustomGrid.IsRowIndexValid"/>
          <link id="TCustomGrid.Sort"/>
          <link id="TCustomGrid.DoOPMoveColRow"/>
          <link id="TCustomGrid.DoOPDeleteColRow"/>
        </seealso>
      </element>
      <element name="TCustomGrid.CheckIndex.IsColumn">
        <short>True when the Index is for a column; False when it is for a Row.</short>
      </element>
      <element name="TCustomGrid.CheckIndex.Index">
        <short>Column index examined in the method.</short>
      </element>

      <element name="TCustomGrid.CheckTopLeft">
        <short>Determines if the top/left visible cell needs to change for the cached information.</short>
        <descr/>
        <seealso/>
      </element>
      <element name="TCustomGrid.CheckTopLeft.Result">
        <short>True when the top left cell is changed.</short>
      </element>
      <element name="TCustomGrid.CheckTopLeft.aCol">
        <short/>
      </element>
      <element name="TCustomGrid.CheckTopLeft.aRow">
        <short/>
      </element>
      <element name="TCustomGrid.CheckTopLeft.CheckCols">
        <short/>
      </element>
      <element name="TCustomGrid.CheckTopLeft.CheckRows">
        <short/>
      </element>

      <element name="TCustomGrid.GetQuickColRow">
        <short>Gets the value for the ColRow property.</short>
        <descr/>
        <seealso>
          <link id="TCustomGrid.ColRow"/>
        </seealso>
      </element>
      <element name="TCustomGrid.GetQuickColRow.Result">
        <short>Value for the property.</short>
      </element>

      <element name="TCustomGrid.SetQuickColRow">
        <short>Sets the value for the ColRow property.</short>
        <descr/>
        <seealso>
          <link id="TCustomGrid.ColRow"/>
        </seealso>
      </element>
      <element name="TCustomGrid.SetQuickColRow.AValue">
        <short>New value for the property.</short>
      </element>

      <element name="TCustomGrid.IsCellButtonColumn">
        <short>Indicates if the specified cell is a non-fixed cell using a button-style column editor.</short>
        <descr/>
        <seealso>
          <link id="TGridColumn.ButtonStyle"/>
        </seealso>
      </element>
      <element name="TCustomGrid.IsCellButtonColumn.Result">
        <short>True when the column exists and uses a button-style editor.</short>
      </element>
      <element name="TCustomGrid.IsCellButtonColumn.ACell">
        <short>TPoint instance with the column and row numbers for the cell.</short>
      </element>

      <element name="TCustomGrid.GetSelectedColumn">
        <short>Gets the value for the SelectedColumn property.</short>
        <descr/>
        <seealso>
          <link id="TCustomGrid.SelectedColumn"/>
        </seealso>
      </element>
      <element name="TCustomGrid.GetSelectedColumn.Result">
        <short>Value for the property.</short>
      </element>

      <element name="TCustomGrid.SetAlternateColor">
        <short>Sets the value in the AlternateColor property.</short>
        <descr/>
        <seealso>
          <link id="TCustomGrid.AlternateColor"/>
        </seealso>
      </element>
      <element name="TCustomGrid.SetAlternateColor.AValue">
        <short>New value for the property.</short>
      </element>

      <element name="TCustomGrid.SetAutoFillColumns">
        <short>Sets the value in the AutoFillColumns property.</short>
        <descr/>
        <seealso>
          <link id="TCustomGrid.AutoFillColumns"/>
        </seealso>
      </element>
      <element name="TCustomGrid.SetAutoFillColumns.AValue">
        <short>New value for the property.</short>
      </element>

      <element name="TCustomGrid.SetBorderColor">
        <short>Sets the value for the BorderColor property.</short>
        <descr/>
        <seealso>
          <link id="TCustomGrid.BorderColor"/>
        </seealso>
      </element>
      <element name="TCustomGrid.SetBorderColor.AValue">
        <short>New value for the property.</short>
      </element>

      <element name="TCustomGrid.SetColumnClickSorts">
        <short>Sets the value for the ColumnClickSorts property.</short>
        <descr/>
        <seealso>
          <link id="TCustomGrid.ColumnClickSorts"/>
        </seealso>
      </element>
      <element name="TCustomGrid.SetColumnClickSorts.AValue">
        <short>New value for the property.</short>
      </element>

      <element name="TCustomGrid.SetColumns">
        <short>Sets the value for the Columns property.</short>
        <descr/>
        <seealso>
          <link id="TCustomGrid.Columns"/>
        </seealso>
      </element>
      <element name="TCustomGrid.SetColumns.AValue">
        <short>New value for the property.</short>
      </element>

      <element name="TCustomGrid.SetEditorOptions">
        <short>Sets the value for the EditorOptions property.</short>
        <descr/>
        <seealso>
          <link id="TCustomGrid.EditorOptions"/>
        </seealso>
      </element>
      <element name="TCustomGrid.SetEditorOptions.AValue">
        <short>New value for the property.</short>
      </element>

      <element name="TCustomGrid.SetEditorBorderStyle">
        <short>Sets the value for the EditorBorderStyle property.</short>
        <descr/>
        <seealso>
          <link id="TCustomGrid.EditorBorderStyle"/>
        </seealso>
      </element>
      <element name="TCustomGrid.SetEditorBorderStyle.AValue">
        <short>New value for the property.</short>
      </element>

      <element name="TCustomGrid.SetAltColorStartNormal">
        <short>Sets the value for the AltColorStartNormal property.</short>
        <descr/>
        <seealso>
          <link id="TCustomGrid.AltColorStartNormal"/>
        </seealso>
      </element>
      <element name="TCustomGrid.SetAltColorStartNormal.AValue">
        <short>New value for the property.</short>
      </element>

      <element name="TCustomGrid.SetFlat">
        <short>Sets the value for the Flat property.</short>
        <descr/>
        <seealso>
          <link id="TCustomGrid.Flat"/>
        </seealso>
      </element>
      <element name="TCustomGrid.SetFlat.AValue">
        <short>New value for the property.</short>
      </element>

      <element name="TCustomGrid.SetFocusRectVisible">
        <short>Sets the value for the FocusRectVisible property.</short>
        <descr/>
        <seealso>
          <link id="TCustomGrid.FocusRectVisible"/>
        </seealso>
      </element>
      <element name="TCustomGrid.SetFocusRectVisible.AValue">
        <short>New value for the property.</short>
      </element>

      <element name="TCustomGrid.SetTitleImageList">
        <short>Sets the value for the TitleImageList property.</short>
        <descr/>
        <seealso>
          <link id="TCustomGrid.TitleImageList"/>
        </seealso>
      </element>
      <element name="TCustomGrid.SetTitleImageList.AValue">
        <short>New value for the property.</short>
      </element>

      <element name="TCustomGrid.SetTitleImageListWidth">
        <short>Sets the value for the TitleImageListWidth property.</short>
        <descr/>
        <seealso>
          <link id="TCustomGrid.TitleImageListWidth"/>
        </seealso>
      </element>
      <element name="TCustomGrid.SetTitleImageListWidth.aTitleImageListWidth">
        <short>New value for the property.</short>
      </element>

      <element name="TCustomGrid.SetTitleFont">
        <short>Sets the value for the TitleFont property.</short>
        <descr/>
        <seealso>
          <link id="TCustomGrid.TitleFont"/>
        </seealso>
      </element>
      <element name="TCustomGrid.SetTitleFont.AValue">
        <short>New value for the property.</short>
      </element>

      <element name="TCustomGrid.SetTitleStyle">
        <short>Sets the value for the TitleStyle property.</short>
        <descr/>
        <seealso>
          <link id="TCustomGrid.TitleStyle"/>
        </seealso>
      </element>
      <element name="TCustomGrid.SetTitleStyle.AValue">
        <short>New value for the property.</short>
      </element>

      <element name="TCustomGrid.SetUseXorFeatures">
        <short>Sets the value for the UseXorFeatures property.</short>
        <descr/>
        <seealso>
          <link id="TCustomGrid.UseXorFeatures"/>
        </seealso>
      </element>
      <element name="TCustomGrid.SetUseXorFeatures.AValue">
        <short>New value for the property.</short>
      </element>

      <element name="TCustomGrid.doColSizing">
        <short>Performs actions needed when a column in the grid is resized.</short>
        <descr>
          <p>
            <var>doColSizing</var> is a <var>Boolean</var> function used to perform actions needed when a column in the grid is resized. <var>X</var> and <var>Y</var> contain the mouse coordinates where the action was initiated. The return value contains <b>True</b> when the resizing operation is successfully completed.
          </p>
          <p>
            No actions are performed in doColSizing if the GridState member contains any value other than <var>gsColSizing</var>. The GridFlags member is updated to include the value <var>gfSizingStarted</var>, and the <var>ResizeColumn</var> and <var>HeaderSizing</var> methods are called to reflect the altered column size.
          </p>
        </descr>
        <seealso>
          <link ied="TCustomGrid.Options"/>
          <link id="TGridOptions.goColSizing"/>
          <link id="TCustomGrid.MouseMove"/>
          <link id="TGridFlagsOption.gfSizingStarted"/>
          <link id="TGridFlags"/>
        </seealso>
      </element>
      <element name="TCustomGrid.doColSizing.Result">
        <short>True when column resizing is successfully completed.</short>
      </element>
      <element name="TCustomGrid.doColSizing.X">
        <short>Horizontal mouse coordinate where the action was started.</short>
      </element>
      <element name="TCustomGrid.doColSizing.Y">
        <short>Vertical mouse coordinate where the action was started.</short>
      </element>

      <element name="TCustomGrid.doRowSizing">
        <short>Performs actions needed when a grid row is resized.</short>
        <descr/>
        <seealso/>
      </element>
      <element name="TCustomGrid.doRowSizing.Result">
        <short/>
      </element>
      <element name="TCustomGrid.doRowSizing.X">
        <short/>
      </element>
      <element name="TCustomGrid.doRowSizing.Y">
        <short/>
      </element>

      <element name="TCustomGrid.doColMoving">
        <short>Performs actions needed to move or drag a grid column.</short>
        <descr/>
        <seealso/>
      </element>
      <element name="TCustomGrid.doColMoving.X">
        <short/>
      </element>
      <element name="TCustomGrid.doColMoving.Y">
        <short/>
      </element>

      <element name="TCustomGrid.doRowMoving">
        <short>Performs actions needed to move or drag a grid row.</short>
        <descr/>
        <seealso/>
      </element>
      <element name="TCustomGrid.doRowMoving.X">
        <short/>
      </element>
      <element name="TCustomGrid.doRowMoving.Y">
        <short/>
      </element>

      <element name="TCustomGrid.doPushCell">
        <short>Performs actions needed to render a cell using its "Pushed" appearance.</short>
        <descr/>
        <seealso>
        <link id="TCustomGrid.StartPushCell"/>
        <link id="TCustomGrid.MouseDown"/>
      </seealso>
      </element>

      <element name="TCustomGrid.doTopleftChange">
        <short>Performs actions needed when the origin or dimensions for the grid are changed.</short>
        <descr/>
        <seealso>
          <link id="TCustomGrid.SetFixedCols"/>
          <link id="TCustomGrid.ScrollToCell"/>
          <link id="TCustomGrid.CheckTopLeft"/>
          <link id="TCustomGrid.FixScroll"/>
        </seealso>
      </element>
      <element name="TCustomGrid.doTopleftChange.DimChg">
        <short>True when the dimensions for the grid have been altered.</short>
      </element>

      <element name="TCustomGrid.DrawXORVertLine">
        <short>Draws a vertical line at the specified horizontal location using XOR pen mode.</short>
        <descr/>
        <seealso>
          <link id="TCustomGrid.doColSizing"/>
          <link id="TCustomGrid.MouseUp"/>
        </seealso>
      </element>
      <element name="TCustomGrid.DrawXORVertLine.X">
        <short>Horizontal location where the vertical grid line is drawn.</short>
      </element>

      <element name="TCustomGrid.DrawXORHorzLine">
        <short>Draws a horizontal line at the specified vertical location using XOR pen mode.</short>
        <descr/>
        <seealso/>
      </element>
      <element name="TCustomGrid.DrawXORHorzLine.Y">
        <short>Vertical location where the horizontal grid line is drawn.</short>
      </element>

      <element name="TCustomGrid.EditorGetValue">
        <short>Gets the value for a cell editor.</short>
        <descr>
          <p>
            <var>EditorGetValue</var> is a <var>Boolean</var> function used to get the value for a cell editor in the grid. EditorGetValue is used in the implementation of <var>TCustomGrid</var> methods like: <var>EditorShowInCell</var>, <var>ResetEditor</var>, <var>MoveExtend</var>, and <var>DestroyHandle</var>. It is used to get the cell value prior to editing, and to display the value from the cell editor when it is hidden.
          </p>
          <p>
            <var>Validate</var> is a <var>Boolean</var> argument that indicates if the <var>ValidateEntry</var> method is called to validate the edited cell value. When it contains <b>True</b>, <var>ValidateEntry</var> is called prior to calling <var>EditorDoSetValue</var> and/or <var>EditorHide</var>.
          </p>
          <p>
            The return value contains <b>True</b> when the edited cell value is valid. It also contains <b>True</b> if a cell editor has not been assigned or is not visible, or the method was called at design-time or during component destruction.
          </p>
        </descr>
        <seealso>
          <link id="TCustomGrid.ResetEditor"/>
          <link id="TCustomGrid.DestroyHandle"/>
          <link id="TCustomGrid.MoveExtend"/>
          <link id="TCustomGrid.EditorShowInCell"/>
        </seealso>
      </element>
      <element name="TCustomGrid.EditorGetValue.Result">
        <short>True when the cell is valid or has not been altered.</short>
      </element>
      <element name="TCustomGrid.EditorGetValue.Validate">
        <short>Indicates the cell value is validated using ValidateEntry.</short>
      </element>

      <element name="TCustomGrid.EditorPos">
        <short>Sets the position and size for an active cell editor in the grid.</short>
        <descr>
          <p>
            <var>EditorPos</var> is a procedure used to set the position and size for an active cell editor in the grid. EditorPos posts messages to the <var>Editor</var> for the grid, and requires a valid handle for both the grid control and the editor control. No actions are performed in the method when a Handle has not been allocated for the grid or when Editor is unassigned (contains <b>Nil</b>).
          </p>
          <p>
            A <var>TGridMessage</var> instance with the values in Grid, Col, and Row is dispatched to the Editor to set the Editor position. The bounds for the editor rectangle is calculated and adjusted when needed.
          </p>
          <p>
            The <var>Font</var> for the grid control is assigned to the <var>Canvas</var> where the editor control is drawn.
          </p>
          <p>
            A TGridMessage instance with the values in Grid, Col, Row, and the calculated bounds is dispatched to the Editor to set the Editor bounds.
          </p>
          <p>
            EditorPos is called when visual properties are modified in the control and the editor control is visible. For example: SetRowHeight, SetDefRowHeight, AdjustEditorBounds,  SetEditorBorderStyle, SetEditorValue, EditorWidthChanged, GridMouseWheel, WMHScroll, and WMVScroll.
          </p>
        </descr>
        <seealso>
          <link id="TCustomGrid.Editor"/>
          <link id="TCustomGrid.Grid"/>
          <link id="TCustomGrid.Col"/>
          <link id="TCustomGrid.Row"/>
          <link id="TGridMessage"/>
          <link id="#lcl.controls.TCustomControl.Canvas">TCustomControl.Canvas</link>
          <link id="#lcl.controls.TControl.Font">TControl.Font</link>
        </seealso>
      </element>

      <element name="TCustomGrid.EditorShowChar">
        <short>Applies a UTF-8-encoded character value to the active cell editor.</short>
        <descr>
          <p>
            Calls <var>SelectEditor</var> to ensure that the cell <var>Editor</var> is active and enabled for the cell at <var>Col</var> and <var>Row</var>. The Editor is displayed (when available) if the value in Ch is handled in the editor control, and is not marked as read-only. The character in <var>Ch</var> is posted to the widgetset class for the grid.
          </p>
          <p>
            This method bypasses the <var>KeyDown</var> handler for the class instance, and as a result does not automatically reset <var>RowAutoInsert</var> when <var>Ch</var> contains the <b>Backspace</b> key (<b>Ctrl+H</b>). RowAutoInsert is manually set to <b>False</b> in the method when the Backspace character is detected.
          </p>
        </descr>
        <seealso>
          <link id="TCustomGrid.Editor"/>
          <link id="TCustomGrid.SelectEditor"/>
          <link id="TCustomGrid.Col"/>
          <link id="TCustomGrid.Row"/>
          <link id="TCustomGrid.RowAutoInsert"/>
        </seealso>
      </element>
      <element name="TCustomGrid.EditorShowChar.Ch">
        <short>UTF-8-encoded character applied in the method.</short>
      </element>

      <element name="TCustomGrid.EditorSetMode">
        <short>Sets the value for the EditorMode property.</short>
        <descr/>
        <seealso>
          <link id="TCustomGrid.EditorMode"/>
        </seealso>
      </element>
      <element name="TCustomGrid.EditorSetMode.AValue">
        <short>New value for the property.</short>
      </element>

      <element name="TCustomGrid.EditorSetValue">
        <short>Changes the cell editor value and position at run-time.</short>
        <descr>
          <p>
            Calls <var>EditorPos</var> to the set the position for the <var>Editor</var> control used in the active cell. Calls <var>EditorDoSetValue</var> to update the content in the Editor control.
          </p>
          <p>
            No actions are performed in the method at design-time.
          </p>
        </descr>
        <seealso>
          <link id="TCustomGrid.EditorDoSetValue"/>
        </seealso>
      </element>

      <element name="TCustomGrid.EditorAlwaysShown">
        <short>Indicates if a cell editor is always displayed for an active cell in the grid.</short>
        <descr>
          <p>
            The return value is <b>True</b> when editing is allowed for the cell, it is not a fixed cell, and <var>goAlwaysShowEditor</var> is included in the <var>Options</var> property.
          </p>
        </descr>
        <seealso>
          <link id="TCustomGrid.EditingAllowed"/>
          <link id="TCustomGrid.FixedGrid"/>
          <link id="TCustomGrid.Options"/>
        </seealso>
      </element>
      <element name="TCustomGrid.EditorAlwaysShown.Result">
        <short>True when a cell editor is allowed and enabled in grid cells.</short>
      </element>

      <element name="TCustomGrid.FixPosition">
        <short>Ensures that column and row positions, and selection(s) are valid for the grid.</short>
        <descr/>
        <seealso/>
      </element>
      <element name="TCustomGrid.FixPosition.IsColumn">
        <short/>
      </element>
      <element name="TCustomGrid.FixPosition.aIndex">
        <short/>
      </element>

      <element name="TCustomGrid.FixScroll">
        <short>Ensures that scrollbars are updated to reflect the cached visible area in the grid.</short>
        <descr/>
        <seealso/>
      </element>

      <element name="TCustomGrid.GetLeftCol">
        <short>Gets the value for LeftCol property.</short>
        <descr/>
        <seealso>
          <link id="TCustomGrid.LeftCol"/>
        </seealso>
      </element>
      <element name="TCustomGrid.GetLeftCol.Result">
        <short>Value for the property.</short>
      </element>

      <element name="TCustomGrid.GetColCount">
        <short>Gets the value for the ColCount property.</short>
        <descr/>
        <seealso>
          <link id="TCustomGrid.ColCount"/>
        </seealso>
      </element>
      <element name="TCustomGrid.GetColCount.Result">
        <short>Value for the property.</short>
      </element>

      <element name="TCustomGrid.GetColWidths">
        <short>Gets the value for the indexed ColWidths property.</short>
        <descr/>
        <seealso>
          <link id="TCustomGrid.ColWidths"/>
        </seealso>
      </element>
      <element name="TCustomGrid.GetColWidths.Result">
        <short>Value for the property.</short>
      </element>
      <element name="TCustomGrid.GetColWidths.ACol">
        <short>Column number to examine in the method.</short>
      </element>

      <element name="TCustomGrid.GetColumns">
        <short>Gets the value for the Columns property.</short>
        <descr/>
        <seealso>
          <link id="TCustomGrid.Columns"/>
        </seealso>
      </element>
      <element name="TCustomGrid.GetColumns.Result">
        <short>Value for the property.</short>
      </element>

      <element name="TCustomGrid.GetDefColWidth">
        <short>Gets the value for the DefaultColWidth property.</short>
        <descr/>
        <seealso>
          <link id="TCustomGrid.DefColWidth"/>
        </seealso>
      </element>
      <element name="TCustomGrid.GetDefColWidth.Result">
        <short>Value for the property.</short>
      </element>

      <element name="TCustomGrid.GetDefRowHeight">
        <short>Gets the value for the DefaultRowHeight property.</short>
        <descr/>
        <seealso>
          <link id="TCustomGrid.DefRowHeight"/>
        </seealso>
      </element>
      <element name="TCustomGrid.GetDefRowHeight.Result">
        <short>Value for the property.</short>
      </element>

      <element name="TCustomGrid.GetEditorBorderStyle">
        <short>Gets the value for the EditorBorderStyle property.</short>
        <descr/>
        <seealso>
          <link id="TCustomGrid.EditorBorderStyle"/>
        </seealso>
      </element>
      <element name="TCustomGrid.GetEditorBorderStyle.Result">
        <short>Value for the property.</short>
      </element>

      <element name="TCustomGrid.GetBorderWidth">
        <short>Gets the number of pixels needed for the grid border (when used).</short>
        <descr/>
        <seealso>
          <link id="TCustomGrid.DrawBorder"/>
        </seealso>
      </element>
      <element name="TCustomGrid.GetBorderWidth.Result">
        <short>Number of pixels needed for the grid border.</short>
      </element>

      <element name="TCustomGrid.GetTitleImageInfo">
        <short>Gets position and layout information for an image used in a column header.</short>
        <descr/>
        <seealso/>
      </element>
      <element name="TCustomGrid.GetTitleImageInfo.aColumnIndex">
        <short>Column number examined in the method.</short>
      </element>
      <element name="TCustomGrid.GetTitleImageInfo.ImgIndex">
        <short>Position of the image used for the column.</short>
      </element>
      <element name="TCustomGrid.GetTitleImageInfo.ImgLayout">
        <short>Image layout used for the column.</short>
      </element>

      <element name="TCustomGrid.GetSortTitleImageInfo">
        <short>Gets image information displayed in a column header for a sortable grid column.</short>
        <descr>
          <p>
            GetSortTitleImageInfo is used in the implementation of the methods like TCustomGrid.DrawColumnTitleImage and TCustomStringGrid.AutoAdjustColumn.
          </p>
        </descr>
        <seealso>
          <link id="TCustomGrid.DrawColumnTitleImage"/>
          <link id="TCustomStringGrid.AutoAdjustColumn"/>
        </seealso>
      </element>
      <element name="TCustomGrid.GetSortTitleImageInfo.aColumnIndex">
        <short>Column index for the sort indicator.</short>
      </element>
      <element name="TCustomGrid.GetSortTitleImageInfo.ImgList">
        <short>List with images used for the indicator.</short>
      </element>
      <element name="TCustomGrid.GetSortTitleImageInfo.ImgIndex">
        <short>Image index used for the specified grid column.</short>
      </element>
      <element name="TCustomGrid.GetSortTitleImageInfo.ImgListWidth">
        <short>Image width used for the indicator.</short>
      </element>
      <element name="TCustomGrid.GetSortTitleImageInfo.NativeSortGlyphs">
        <short>Indicates if native sort indicators are defined in the grid column.</short>
      </element>

      <element name="TCustomGrid.GetRowCount">
        <short>Gets the value for the RowCount property.</short>
        <descr/>
        <seealso>
          <link id="TCustomGrid.RowCount"/>
        </seealso>
      </element>
      <element name="TCustomGrid.GetRowCount.Result">
        <short>Value for the property.</short>
      </element>

      <element name="TCustomGrid.GetRowHeights">
        <short>Gets the value for the indexed RowHeights property.</short>
        <descr/>
        <seealso>
          <link id="TCustomGrid.RowHeights"/>
        </seealso>
      </element>
      <element name="TCustomGrid.GetRowHeights.Result">
        <short>Height for the row in pixels.</short>
      </element>
      <element name="TCustomGrid.GetRowHeights.ARow">
        <short>Row number for the property value.</short>
      </element>

      <element name="TCustomGrid.GetSelectedRange">
        <short>Gets the value for the indexed SelectedRange property.</short>
        <descr/>
        <seealso>
          <link id="TCustomGrid.SelectedRange"/>
        </seealso>
      </element>
      <element name="TCustomGrid.GetSelectedRange.Result">
        <short>Value for the property.</short>
      </element>
      <element name="TCustomGrid.GetSelectedRange.AIndex">
        <short>Ordinal position for the grid selection rectangle.</short>
      </element>

      <element name="TCustomGrid.GetSelectedRangeCount">
        <short>Gets the value for the SelectedRangeCount property.</short>
        <descr/>
        <seealso>
          <link id="TCustomGrid.SelectedRangeCount"/>
        </seealso>
      </element>
      <element name="TCustomGrid.GetSelectedRangeCount.Result">
        <short>Value for the property.</short>
      </element>

      <element name="TCustomGrid.GetSelection">
        <short>Gets the value for the Selection property.</short>
        <descr/>
        <seealso>
          <link id="TCustomGrid.Selection"/>
        </seealso>
      </element>
      <element name="TCustomGrid.GetSelection.Result">
        <short>Value for the property.</short>
      </element>

      <element name="TCustomGrid.GetSpecialCursor">
        <short>Gets a cursor for the specified grid cursor state.</short>
        <descr>
          <p>
            <var>GetSpecialCursor</var> is used as the read access specifier for the <var>ColRowDraggingCursor</var>, <var>ColRowSizingCursor</var>, and <var>RowSizingCursor</var> properties.
          </p>
        </descr>
        <seealso>
          <link id="TCustomGrid.ColRowDraggingCursor"/>
          <link id="TCustomGrid.ColRowSizingCursor"/>
          <link id="TCustomGrid.RowSizingCursor"/>
        </seealso>
      </element>
      <element name="TCustomGrid.GetSpecialCursor.Result">
        <short>TCursor representing the specified cursor state.</short>
      </element>
      <element name="TCustomGrid.GetSpecialCursor.ACursorState">
        <short>Grid cursor state retrieved in the method.</short>
      </element>

      <element name="TCustomGrid.GetTopRow">
        <short>Gets the value for the TopRow property.</short>
        <descr/>
        <seealso>
          <link id="TCustomGrid.TopRow"/>
        </seealso>
      </element>
      <element name="TCustomGrid.GetTopRow.Result">
        <short>Value for the property.</short>
      </element>

      <element name="TCustomGrid.GetVisibleColCount">
        <short>Gets the value for the VisibleRowCount property.</short>
        <descr/>
        <seealso>
          <link id="TCustomGrid.VisibleColCount"/>
        </seealso>
      </element>
      <element name="TCustomGrid.GetVisibleColCount.Result">
        <short>Value for the property.</short>
      </element>

      <element name="TCustomGrid.GetVisibleGrid">
        <short>Gets a rectangle with the cell coordinates for the visible area in the grid.</short>
        <descr>
          <p>
            Gets a TRect instance with the cell coordinates for the visible area in the grid control.
          </p>
          <p>
            The visible grid area depends on the values in TopLeft, ClientWidth, ClientHeight, ColCount and RowCount.  The method is called immediately after changing values in any of these properties. It provides the current values needed when the grid cache is updated in the CacheVisibleGrid method.
          </p>
        </descr>
        <seealso/>
      </element>
      <element name="TCustomGrid.GetVisibleGrid.Result">
        <short>TRect with the cell coordinates for the visible area in the control.</short>
      </element>

      <element name="TCustomGrid.GetVisibleRowCount">
        <short>Gets the value for the VisibleRowCount property.</short>
        <descr/>
        <seealso>
          <link id="TCustomGrid.VisibleRowCount"/>
        </seealso>
      </element>
      <element name="TCustomGrid.GetVisibleRowCount.Result">
        <short>Value for the property.</short>
      </element>

      <element name="TCustomGrid.InternalAutoFillColumns">
        <short>Performs actions needed to resize columns to fill the client area for the grid control.</short>
        <descr>
          <p>
            <var>InternalAutoFillColumns</var> is a procedure used to resize one or more columns to fill the client area for the grid control. No actions are performed in the method if <var>AutoFillColumns</var> contains <b>False</b>, or when the method has already been called but has not yet completed.
          </p>
          <p>
            InternalAutoFillColumns calls <var>GetAutoFillColumnInfo</var> to accumulate the fixed cell width,  data width, and sizing priority for each of the <var>Columns</var> defined in the grid. At least one of the cells in the grid must have sizing priority; the last non-fixed column is expanded to fill the client area in the grid when no other column has sizing priority.
          </p>
          <p>
            InternalAutoFillColumns is called from the UpdateCachedSizes method.
          </p>
        </descr>
        <seealso>
          <link id="TCustomGrid.AutoFillColumns"/>
          <link id="TCustomGrid.GetAutoFillColumnInfo"/>
          <link id="TCustomGrid.UpdateCachedSizes"/>
        </seealso>
      </element>

      <element name="TCustomGrid.InternalNeedBorder">
        <short>Indicates if borders are needed to render the grid control.</short>
        <descr/>
        <seealso>
          <link id="TCustomGrid.DrawBorder"/>
          <link id="TCustomGrid.GetBorderWidth"/>
        </seealso>
      </element>
      <element name="TCustomGrid.InternalNeedBorder.Result">
        <short>True when a border is drawn around the grid control.</short>
      </element>

      <element name="TCustomGrid.InternalSetColWidths">
        <short>Performs internal actions needed to set a column width to the specified value.</short>
        <descr/>
        <seealso>
          <link id="TCustomGrid.SetColWidths"/>
          <link id="TCustomGrid.ColWidths"/>
        </seealso>
      </element>
      <element name="TCustomGrid.InternalSetColWidths.aCol">
        <short>Column number affected in the method.</short>
      </element>
      <element name="TCustomGrid.InternalSetColWidths.aValue">
        <short>Width applied to the column.</short>
      </element>

      <element name="TCustomGrid.InternalUpdateColumnWidths">
        <short>Performs internal actions needed to update columns widths from the grid Columns.</short>
        <descr>
          Not used in the current implementation.
        </descr>
        <seealso/>
      </element>

      <element name="TCustomGrid.InvalidateMovement">
        <short/>
        <descr/>
        <seealso/>
      </element>
      <element name="TCustomGrid.InvalidateMovement.DCol">
        <short/>
      </element>
      <element name="TCustomGrid.InvalidateMovement.DRow">
        <short/>
      </element>
      <element name="TCustomGrid.InvalidateMovement.OldRange">
        <short/>
      </element>

      <element name="TCustomGrid.IsAltColorStored">
        <short> Indicates if AlternateColor has a value different than the Color for the grid control.</short>
        <descr>
          Used as the storage specifier for the AlternateColor property.
        </descr>
        <seealso>
          <link id="TCustomGrid.AlternateColor"/>
        </seealso>
      </element>
      <element name="TCustomGrid.IsAltColorStored.Result">
        <short>True when AlternateColor is different than Color.</short>
      </element>

      <element name="TCustomGrid.IsColumnsStored">
        <short>Indicates if Columns has been enabled for the grid control.</short>
        <descr>
          Used as the storage specifier for the Columns property.
        </descr>
        <seealso>
          <link id="TCustomGrid.Columns"/>
        </seealso>
      </element>
      <element name="TCustomGrid.IsColumnsStored.Result">
        <short>True when the Enabled in Columns is True.</short>
      </element>

      <element name="TCustomGrid.IsPushCellActive">
        <short>Indicates if the pushed cell for the grid is visible.</short>
        <descr/>
        <seealso>
          <link id="TCustomGrid.DrawRow"/>
          <link id="TCustomGrid.MouseUp"/>
          <link id="TCustomGrid.HeadersMouseMove"/>
          <link id="TCustomGrid.GetGridDrawState"/>
        </seealso>
      </element>
      <element name="TCustomGrid.IsPushCellActive.Result">
        <short/>
      </element>

      <element name="TCustomGrid.LoadColumns">
        <short>Loads column settings from the specified XML configuration file.</short>
        <descr/>
        <seealso>
          <link id="TCustomGrid.LoadContent"/>
        </seealso>
      </element>
      <element name="TCustomGrid.LoadColumns.cfg">
        <short>XML configuration file with values loaded in the method.</short>
      </element>
      <element name="TCustomGrid.LoadColumns.Version">
        <short>Version number requested from the XML configuration.</short>
      </element>

      <element name="TCustomGrid.LoadResBitmapImage">
        <short> Loads a bitmap with the specified name from the resource file for the control.</short>
        <descr>
          Assumes the resource in ResName can be loaded using TPortableNetworkGraphic, and assigned to the TBitmap return value.
        </descr>
        <seealso/>
      </element>
      <element name="TCustomGrid.LoadResBitmapImage.Result">
        <short>TBitmap with the image loaded in the method.</short>
      </element>
      <element name="TCustomGrid.LoadResBitmapImage.ResName">
        <short>Resource name loaded in the method.</short>
      </element>

      <element name="TCustomGrid.LoadSub">
        <short/>
        <descr/>
        <seealso/>
      </element>
      <element name="TCustomGrid.LoadSub.ACfg">
        <short>XML configuration file with values loaded in the method.</short>
      </element>

      <element name="TCustomGrid.OnTitleFontChanged">
        <short>Event handler signalled when the font used for fixed title cells has been changed.</short>
        <descr>
          <p>
            <var>OnTitleFontChanged</var> is a procedure which implements the event handler signalled when the <var>TitleFont</var> for fixed cells has been changed. OnTitleFontChanged is assigned to the <var>OnChange</var> event handler in TitleFont in the constructor for the class instance.
          </p>
          <p>
            OnTitleFontChanged sets the value in <var>TitleFontIsDefault</var> to <b>False</b> to reflect the change in the font setting. When <var>Columns</var> have been enabled (<var>VisibleCount</var> contains a non-zero value), the <var>TitleFontChanged</var> method in Columns is called. The <var>ColumnsChanged</var> method is called to force the grid to be updated. If Columns have not been enabled, the <var>VisualChange</var> method is called to update the grid control.
          </p>
        </descr>
        <seealso>
          <link id="TCustomGrid.Create"/>
          <link id="TCustomGrid.TitleFont"/>
          <link id="TCustomGrid.Columns"/>
          <link id="TCustomGrid.VisibleCount"/>
          <link id="TCustomGrid.ColumnsChanged"/>
          <link id="TCustomGrid.VisualChange"/>
          <link id="TGridColumns.Enabled"/>
          <link id="TGridColumns.TitleFontChanged"/>
        </seealso>
      </element>
      <element name="TCustomGrid.OnTitleFontChanged.Sender">
        <short>Object generating the event notification.</short>
      </element>

      <element name="TCustomGrid.ReadColumns">
        <short>Reads values for the Columns collection using the specified TReader class instance.</short>
        <descr/>
        <seealso/>
      </element>
      <element name="TCustomGrid.ReadColumns.Reader">
        <short>TReader used to load values during LCL component streaming.</short>
      </element>

      <element name="TCustomGrid.ReadColWidths">
        <short>Reads the list of Integers in ColWidths using the specified TReader instance.</short>
        <descr/>
        <seealso/>
      </element>
      <element name="TCustomGrid.ReadColWidths.Reader">
        <short>TReader used to load values during LCL component streaming.</short>
      </element>

      <element name="TCustomGrid.ReadRowHeights">
        <short>Reads the list of Integers in RowHeights using the specified TReader instance.</short>
        <descr/>
        <seealso/>
      </element>
      <element name="TCustomGrid.ReadRowHeights.Reader">
        <short>TReader used to load values during LCL component streaming.</short>
      </element>

      <element name="TCustomGrid.ResetPushedCell">
        <short>Resets cached grid information for the "pushed" cell.</short>
        <descr>
          <p>
            <var>ResetPushedCell</var> refreshes cached information for the grid related to the current <var>PushedCell</var>. It invalidates the cell at the position in PushedCell when the cached values indicate it is "pushed". Resets coordinates in PushedCell when <var>ResetColRow</var> is set to <b>True</b>. Sets the ClickCellPushed member in the cached data to <b>False</b> prior to exit.
          </p>
          <p>
            ResetPushedCell is called from methods like <var>HeadersMouseMove</var> and <var>MouseUp</var>. It is also called from the constructor for the <var>TCustomGrid</var> instance.
          </p>
        </descr>
        <seealso>
          <link id="TCustomGrid.GCache"/>
          <link id="TCustomGrid.Create"/>
          <link id="TCustomGrid.HeadersMouseMove"/>
          <link id="TCustomGrid.MouseUp"/>
          <link id="TGridDataCache.PushedCell"/>
        </seealso>
      </element>
      <element name="TCustomGrid.ResetPushedCell.ResetColRow">
        <short/>
      </element>

      <element name="TCustomGrid.RestoreCursor">
        <short>
          Restores the internal saved cursor for the grid, and resets CursorState to its default value.
        </short>
        <descr/>
        <seealso/>
      </element>

      <element name="TCustomGrid.SaveColumns">
        <short>Saves column configuration, layout, and appearance values to an XML configuration file.</short>
        <descr/>
        <seealso/>
      </element>
      <element name="TCustomGrid.SaveColumns.cfg">
        <short>XML configuration file where the values are written.</short>
      </element>
      <element name="TCustomGrid.SaveColumns.Version">
        <short/>
      </element>

      <element name="TCustomGrid.ScrollToCell">
        <short>Scrolls the grid until the cell at the specified location is visible.</short>
        <descr/>
        <seealso/>
      </element>
      <element name="TCustomGrid.ScrollToCell.Result">
        <short/>
      </element>
      <element name="TCustomGrid.ScrollToCell.aCol">
        <short/>
      </element>
      <element name="TCustomGrid.ScrollToCell.aRow">
        <short/>
      </element>

      <element name="TCustomGrid.ScrollGrid">
        <short>Scrolls the grid until the cell at the specified location is the new origin.</short>
        <descr/>
        <seealso/>
      </element>
      <element name="TCustomGrid.ScrollGrid.Result">
        <short/>
      </element>
      <element name="TCustomGrid.ScrollGrid.Relative">
        <short/>
      </element>
      <element name="TCustomGrid.ScrollGrid.DCol">
        <short/>
      </element>
      <element name="TCustomGrid.ScrollGrid.DRow">
        <short/>
      </element>

      <element name="TCustomGrid.SetCol">
        <short>Sets the value in the Col property.</short>
        <descr/>
        <seealso>
          <link id="TCustomGrid.Col"/>
        </seealso>
      </element>
      <element name="TCustomGrid.SetCol.AValue">
        <short>New value for the property.</short>
      </element>

      <element name="TCustomGrid.SetColWidths">
        <short>Sets the value in the indexed ColWidths property.</short>
        <descr/>
        <seealso>
          <link id="TCustomGrid.ColWidths"/>
        </seealso>
      </element>
      <element name="TCustomGrid.SetColWidths.ACol">
        <short>Column number for the update width value.</short>
      </element>
      <element name="TCustomGrid.SetColWidths.AValue">
        <short>New value for the property.</short>
      </element>

      <element name="TCustomGrid.SetColRowDragIndicatorColor">
        <short>Sets the value for the ColRowDragIndicatorColor property.</short>
        <descr/>
        <seealso>
          <link id="TCustomGrid.ColRowDragIndicatorColor"/>
        </seealso>
      </element>
      <element name="TCustomGrid.SetColRowDragIndicatorColor.AValue">
        <short>New value for the property.</short>
      </element>

      <element name="TCustomGrid.SetDefColWidth">
        <short>Sets the value for the DefColWidth property.</short>
        <descr/>
        <seealso>
          <link id="TCustomGrid.DefColWidth"/>
        </seealso>
      </element>
      <element name="TCustomGrid.SetDefColWidth.AValue">
        <short>New value for the property.</short>
      </element>

      <element name="TCustomGrid.SetDefRowHeight">
        <short>Sets the value for the DefRowHeight property.</short>
        <descr/>
        <seealso>
          <link id="TCustomGrid.DefRowHeight"/>
        </seealso>
      </element>
      <element name="TCustomGrid.SetDefRowHeight.AValue">
        <short>New value for the property.</short>
      </element>

      <element name="TCustomGrid.SetDefaultDrawing">
        <short>Sets the value for the DefaultDrawing property.</short>
        <descr/>
        <seealso>
          <link id="TCustomGrid.DefaultDrawing"/>
        </seealso>
      </element>
      <element name="TCustomGrid.SetDefaultDrawing.AValue">
        <short>New value for the property.</short>
      </element>

      <element name="TCustomGrid.SetEditor">
        <short>Sets the value for the Editor property.</short>
        <descr/>
        <seealso>
          <link id="TCustomGrid.Editor"/>
        </seealso>
      </element>
      <element name="TCustomGrid.SetEditor.AValue">
        <short>New value for the property.</short>
      </element>

      <element name="TCustomGrid.SetFocusColor">
        <short>Sets the value for the FocusColor property.</short>
        <descr/>
        <seealso>
          <link id="TCustomGrid.FocusColor"/>
        </seealso>
      </element>
      <element name="TCustomGrid.SetFocusColor.AValue">
        <short>New value for the property.</short>
      </element>

      <element name="TCustomGrid.SetGridLineColor">
        <short>Sets the value for the GridLineColor property.</short>
        <descr/>
        <seealso>
          <link id="TCustomGrid.GridLineColor"/>
        </seealso>
      </element>
      <element name="TCustomGrid.SetGridLineColor.AValue">
        <short>New value for the property.</short>
      </element>

      <element name="TCustomGrid.SetFixedGridLineColor">
        <short>Sets the value for the FixedGridLineColor property.</short>
        <descr/>
        <seealso>
          <link id="TCustomGrid.FixedGridLineColor"/>
        </seealso>
      </element>
      <element name="TCustomGrid.SetFixedGridLineColor.AValue">
        <short>New value for the property.</short>
      </element>

      <element name="TCustomGrid.SetGridLineStyle">
        <short>Sets the value for the GridLineStyle property.</short>
        <descr/>
        <seealso>
          <link id="TCustomGrid.GridLineStyle"/>
        </seealso>
      </element>
      <element name="TCustomGrid.SetGridLineStyle.AValue">
        <short>New value for the property.</short>
      </element>

      <element name="TCustomGrid.SetGridLineWidth">
        <short>Sets the value for the GridLineWidth property.</short>
        <descr/>
        <seealso>
          <link id="TCustomGrid.GridLineWidth"/>
        </seealso>
      </element>
      <element name="TCustomGrid.SetGridLineWidth.AValue">
        <short>New value for the property.</short>
      </element>

      <element name="TCustomGrid.SetLeftCol">
        <short>Sets the value for the LeftCol property.</short>
        <descr/>
        <seealso>
          <link id="TCustomGrid.LeftCol"/>
        </seealso>
      </element>
      <element name="TCustomGrid.SetLeftCol.AValue">
        <short>New value for the property.</short>
      </element>

      <element name="TCustomGrid.SetOptions">
        <short>Sets the value for the Options property.</short>
        <descr/>
        <seealso>
          <link id="TCustomGrid.Options"/>
        </seealso>
      </element>
      <element name="TCustomGrid.SetOptions.AValue">
        <short>New value for the property.</short>
      </element>

      <element name="TCustomGrid.SetOptions2">
        <short>Sets the value for the Options2 property.</short>
        <descr/>
        <seealso>
          <link id="TCustomGrid.Options2"/>
        </seealso>
      </element>
      <element name="TCustomGrid.SetOptions2.AValue">
        <short>New value for the property.</short>
      </element>

      <element name="TCustomGrid.SetRangeSelectMode">
        <short>Sets the value for the RangeSelectMode property.</short>
        <descr/>
        <seealso>
          <link id="TCustomGrid.RangeSelectMode"/>
        </seealso>
      </element>
      <element name="TCustomGrid.SetRangeSelectMode.AValue">
        <short>New value for the property.</short>
      </element>

      <element name="TCustomGrid.SetRow">
        <short>Sets the value for the Row property.</short>
        <descr/>
        <seealso>
          <link id="TCustomGrid.Row"/>
        </seealso>
      </element>
      <element name="TCustomGrid.SetRow.AValue">
        <short>New value for the property.</short>
      </element>

      <element name="TCustomGrid.SetRowCount">
        <short>Sets the value for the RowCount property.</short>
        <descr/>
        <seealso>
          <link id="TCustomGrid.RowCount"/>
        </seealso>
      </element>
      <element name="TCustomGrid.SetRowCount.AValue">
        <short>New value for the property.</short>
      </element>

      <element name="TCustomGrid.SetRowHeights">
        <short>Sets the value in the indexed RowHeights property.</short>
        <descr/>
        <seealso>
          <link id="TCustomGrid.RowHeights"/>
        </seealso>
      </element>
      <element name="TCustomGrid.SetRowHeights.ARow">
        <short>Row number affected in the method.</short>
      </element>
      <element name="TCustomGrid.SetRowHeights.AValue">
        <short>New value for the specified row number.</short>
      </element>

      <element name="TCustomGrid.SetScrollBars">
        <short>Sets the value for the ScrollBars property.</short>
        <descr/>
        <seealso>
          <link id="TCustomGrid.ScrollBars"/>
        </seealso>
      </element>
      <element name="TCustomGrid.SetScrollBars.AValue">
        <short>New value for the property.</short>
      </element>

      <element name="TCustomGrid.SetSelectActive">
        <short>Sets the value for the SelectActive property.</short>
        <descr/>
        <seealso>
          <link id="TCustomGrid.SelectActive"/>
        </seealso>
      </element>
      <element name="TCustomGrid.SetSelectActive.AValue">
        <short>New value for the property.</short>
      </element>

      <element name="TCustomGrid.SetSelection">
        <short>Sets the value for the Selection property.</short>
        <descr/>
        <seealso>
          <link id="TCustomGrid.Selection"/>
        </seealso>
      </element>
      <element name="TCustomGrid.SetSelection.AValue">
        <short>New value for the property.</short>
      </element>

      <element name="TCustomGrid.SetSpecialCursor">
        <short>Sets the value for the indexed cursor states in the grid control.</short>
        <descr>
          <p>
            <var>SetSpecialCursor</var> is used as the write access specifier for the <var>ColRowDraggingCursor</var>, <var>ColRowSizingCursor</var>, and <var>RowSizingCursor</var> properties.
          </p>
        </descr>
        <seealso>
          <link id="TCustomGrid.ColRowDraggingCursor"/>
          <link id="TCustomGrid.ColRowSizingCursor"/>
          <link id="TCustomGrid.RowSizingCursor"/>
        </seealso>
      </element>
      <element name="TCustomGrid.SetSpecialCursor.ACursorState">
        <short>Cursor state located in the method.</short>
      </element>
      <element name="TCustomGrid.SetSpecialCursor.AValue">
        <short>New value for the cursor state.</short>
      </element>

      <element name="TCustomGrid.SetTopRow">
        <short>Sets the value for the TopRow property.</short>
        <descr/>
        <seealso>
          <link id="TCustomGrid.TopRow"/>
        </seealso>
      </element>
      <element name="TCustomGrid.SetTopRow.AValue">
        <short>New value for the property.</short>
      </element>

      <element name="TCustomGrid.StartColSizing">
        <short> Updates the grid to begin a column sizing operation for the specified cell.</short>
        <descr/>
        <seealso/>
      </element>
      <element name="TCustomGrid.StartColSizing.Result">
        <short/>
      </element>
      <element name="TCustomGrid.StartColSizing.X">
        <short/>
      </element>
      <element name="TCustomGrid.StartColSizing.Y">
        <short/>
      </element>

      <element name="TCustomGrid.ChangeCursor">
        <short>Changes the cursor shape to the specified value.</short>
        <descr/>
        <seealso>
          <link id="TCustomGrid.SetCursor"/>
          <link id="TCustomGrid.CursorState"/>
          <link id="TCustomGrid.MouseMove"/>
          <link id="TCustomGrid.MouseUp"/>
        </seealso>
      </element>
      <element name="TCustomGrid.ChangeCursor.ACursor">
        <short>Cursor shape applied in the method.</short>
      </element>
      <element name="TCustomGrid.ChangeCursor.ASaveCurrentCursor">
        <short>Indicates if the existing cursor shape is stored for later reuse.</short>
      </element>

      <element name="TCustomGrid.TrySmoothScrollBy">
        <short/>
        <descr/>
        <seealso/>
      </element>
      <element name="TCustomGrid.TrySmoothScrollBy.Result">
        <short/>
      </element>
      <element name="TCustomGrid.TrySmoothScrollBy.aColDelta">
        <short/>
      </element>
      <element name="TCustomGrid.TrySmoothScrollBy.aRowDelta">
        <short/>
      </element>

      <element name="TCustomGrid.TryScrollTo">
        <short/>
        <descr/>
        <seealso/>
      </element>
      <element name="TCustomGrid.TryScrollTo.aCol">
        <short/>
      </element>
      <element name="TCustomGrid.TryScrollTo.aRow">
        <short/>
      </element>

      <element name="TCustomGrid.UpdateCachedSizes">
        <short>Performs actions needed when the size for columns or rows are changed.</short>
        <descr/>
        <seealso/>
      </element>

      <element name="TCustomGrid.UpdateSBVisibility">
        <short>Updates the visibility for horizontal and/or vertical scrollbars.</short>
        <descr/>
        <seealso/>
      </element>

      <element name="TCustomGrid.UpdateSizes">
        <short>Updates cached information when visual aspects for columns or rows are changed.</short>
        <descr/>
        <seealso/>
      </element>

      <element name="TCustomGrid.WriteColumns">
        <short>Writes the Columns collection using the specified TWriter instance.</short>
        <descr>
          <p>
            A Nil collection is written using Writer when Column contains the default column definitions (has not been modified at design-time or run-time).
          </p>
          <remark>
            Not used in the current implementation of TCustomGrid.DefineProperties.
          </remark>
        </descr>
        <seealso>
          <link id="TCustomGrid.DefineProperties"/>
        </seealso>
      </element>
      <element name="TCustomGrid.WriteColumns.Writer">
        <short>TWriter instance used for the class.</short>
      </element>

      <element name="TCustomGrid.WriteColWidths">
        <short>Writes the list of Integers in ColWidths using the specified TWriter instance.</short>
        <descr/>
        <seealso/>
      </element>
      <element name="TCustomGrid.WriteColWidths.Writer">
        <short>TWriter instance used to write the values.</short>
      </element>

      <element name="TCustomGrid.WriteRowHeights">
        <short>Writes the list of Integers in RowHeights using the specified TWriter instance.</short>
        <descr/>
        <seealso/>
      </element>
      <element name="TCustomGrid.WriteRowHeights.Writer">
        <short>TWriter instance used to write the values.</short>
      </element>

      <element name="TCustomGrid.WMEraseBkgnd">
        <short>Handles the Window Message used to erase the background for the control.</short>
        <descr>
          <notes>
            <note>Always returns 1 as the Message result.</note>
          </notes>
        </descr>
        <seealso/>
      </element>
      <element name="TCustomGrid.WMEraseBkgnd.message">
        <short>Lazarus message applied in the method.</short>
      </element>

      <element name="TCustomGrid.WMGetDlgCode">
        <short>Handles the Window Message for Tab and Arrow keys in dialogs and custom controls.</short>
        <descr>
          Examines the Options property for the presence of the goTabs enumeration value. When present, the DLGC_WANTTAB value is OR'd to the result value in Msg.
        </descr>
        <seealso>
          <link id="TCustomGrid.Options"/>
          <link id="TGridOption"/>
        </seealso>
      </element>
      <element name="TCustomGrid.WMGetDlgCode.Msg">
        <short>Lazarus message processed in the method.</short>
      </element>

      <element name="TCustomGrid.fGridState">
        <short>Member with the current state for the grid (edited, updated, etc.).</short>
        <descr/>
        <seealso/>
      </element>

      <element name="TCustomGrid.RTLSign">
        <short>Gets the positive or negative multiplier used to adjust scroll values for BiDi mode.</short>
        <descr/>
        <seealso/>
      </element>
      <element name="TCustomGrid.RTLSign.Result">
        <short/>
      </element>

      <element name="TCustomGrid.WSRegisterClass"
         link="#LCL.LCLClasses.TLCLComponent.WSRegisterClass"/>

      <element name="TCustomGrid.AddSelectedRange">
        <short>Adds the current selection range to the array of rectangles in Selections.</short>
        <descr>
          <p>
            Called from the MouseDown method when Options includes the value which enables multi-select.
          </p>
        </descr>
        <seealso>
          <link id="TCustomGrid.Options"/>
          <link id="TCustomGrid.MouseDown"/>
          <link id="TCustomGrid.HasMultiSelection"/>
        </seealso>
      </element>

      <element name="TCustomGrid.AdjustClientRect">
        <short>Adjusts the client rectangle and sets the grid flag to reflect the change.</short>
        <descr>
          <p>
            <var>AdjustClientRect</var> is an overridden method used to adjust the client rectangle for the control, and set the grid flag to reflect the change. Calls the inherited method on entry. Updates the <var>GridFlags</var> property to included the value <var>gfClientRectChange</var>.
          </p>
        </descr>
        <seealso>
          <link id="TCustomGrid.GridFlags"/>
          <link id="TGridFlagsOption"/>
          <link id="#lcl.controls.TWinControl.AdjustClientRect">TWinControl.AdjustClientRect</link>
        </seealso>
      </element>
      <element name="TCustomGrid.AdjustClientRect.ARect">
        <short>Client rectangle adjusted in the method.</short>
      </element>

      <element name="TCustomGrid.AdjustEditorBounds">
        <short>Updates the selected cell and sets the bounds for the optional cell Editor.</short>
        <descr>
          <p>
            Calls <var>SetColRow</var> to update the values in the <var>Col</var> and <var>Row</var> properties. Values in <var>NewCol</var> and <var>NewRow</var> are stored in the corresponding property.
          </p>
          <p>
            When <var>EditorMode</var> is set to <b>True</b>, the private <var>EditorPos</var> method is called to position the <var>Editor</var> to the new cell selection.
          </p>
        </descr>
        <seealso>
          <link id="TCustomGrid.Col"/>
          <link id="TCustomGrid.Row"/>
          <link id="TCustomGrid.Editor"/>
          <link id="TCustomGrid.EditorMode"/>
          <link id="TCustomGrid.SetColRow"/>
        </seealso>
      </element>
      <element name="TCustomGrid.AdjustEditorBounds.NewCol">
        <short>Column number for the current cell selection in the grid.</short>
      </element>
      <element name="TCustomGrid.AdjustEditorBounds.NewRow">
        <short>Row number for the current cell selection in the grid.</short>
      </element>

      <element name="TCustomGrid.AfterMoveSelection">
        <short>Signals the OnAfterSelection event handler.</short>
        <descr>
          <p>
            <var>AfterMoveSelection</var> is a procedure used to signal the <var>OnAfterSelection</var> event handler when it has been assigned (does not contain <b>Nil</b>). Values in <var>prevCol</var> and <var>prevRow</var> are passed as arguments to the OnAfterSelection event handler.
          </p>
          <p>
            AfterMoveSelection is called from the <var>MoveExtend</var> method when the move operation has been completed.
          </p>
        </descr>
        <seealso>
          <link id="TCustomGrid.OnAfterSelection"/>
          <link id="TCustomGrid.MoveExtend"/>
        </seealso>
      </element>
      <element name="TCustomGrid.AfterMoveSelection.prevCol">
        <short>Column number for the selection before it was moved.</short>
      </element>
      <element name="TCustomGrid.AfterMoveSelection.prevRow">
        <short>Row number for the selection before it was moved.</short>
      </element>

      <element name="TCustomGrid.AssignTo">
        <short>Stores properties from the current grid class instance to the specified target.</short>
        <descr>
          <p>
            AssignTo is an overridden method used to store values from the current class instance to the persistent object specified in Dest. AssignTo is overridden to provide support for TCustomGrid properties in the object persistence mechanism.
          </p>
          <p>
            When Dest is a TCustomGrid descendant, the following properties are copied from the current class instance to the target:
          </p>
          <p>
            <b>Structure</b>
          </p>
          <ul>
            <li>Columns (When Columns has been Enabled)</li>
            <li>ColCount (When Columns has not been Enabled)</li>
            <li>RowCount</li>
            <li>FixedCols</li>
            <li>FixedRows</li>
            <li>DefaultRowHeight (when it contains a value other than the default)</li>
            <li>DefaultColWidth (when it contains a value other than the default)</li>
            <li>The internal Rows list</li>
            <li>The internal Cols list (when Columns has not been enabled)</li>
          </ul>
          <p>
            <b>Display Settings</b>
          </p>
          <ul>
            <li>Options</li>
            <li>Color</li>
            <li>FixedColor</li>
            <li>AlternateColor</li>
            <li>Font</li>
            <li>TitleFont</li>
          </ul>
          <p>
            <b>Position and Selection</b>
          </p>
          <ul>
            <li>TopRow</li>
            <li>LeftCol</li>
            <li>Col</li>
            <li>Row</li>
            <li>Current selection range for the grid</li>
          </ul>
          <p>
            When Dest is not a TCustomGrid descendant, the inherited AssignTo method is called using Dest as an argument.
          </p>
        </descr>
        <seealso>
          <link id="#lcl.controls.TControl.AssignTo">TControl.AssignTo</link>
        </seealso>
      </element>
      <element name="TCustomGrid.AssignTo.Dest">
        <short>Grid instance where value are stored.</short>
      </element>

      <element name="TCustomGrid.AutoAdjustColumn">
        <short>Adjusts column properties to accommodate the largest value in the specified column.</short>
        <descr>
          <p>
            <var>AutoAdjustColumn</var> is called from the <var>DblClick</var> method when the values <var>goColSizing</var> and <var>goDblClickAutoSize</var> have been included in the <var>Options</var> property.
          </p>
          <p>
            <var>AutoAdjustColumn</var> has an empty implementation in <var>TCustomGrid</var>, and must be overridden in a descendent class.
          </p>
        </descr>
        <seealso>
          <link id="TCustomGrid.Options"/>
          <link id="TCustomGrid.DblClick"/>
          <link id="TCustomStringGrid.AutoAdjustColumn"/>
        </seealso>
      </element>
      <element name="TCustomGrid.AutoAdjustColumn.aCol">
        <short>Column number adjusted in the method.</short>
      </element>

      <element name="TCustomGrid.BeforeMoveSelection">
        <short>Performs actions needed before a selection is moved.</short>
        <descr>
          <p>
            <var>BeforeMoveSelection</var> is called from the <var>MoveExtend</var> method whenever the current grid cursor location is about to change. The destination column and row are specified in the <var>DCol</var> and <var>DRow</var> parameters respectively.
          </p>
          <p>
            The new location is known to be a valid selectable cell (see <link id="TCustomGrid.SelectCell"/>), and is given in absolute cell coordinates. At this point the current grid location has not changed and can be retrieved with Col and Row properties.
          </p>
          <p>
            The purpose of this method is to call the <var>OnBeforeSelection</var> event handler.
          </p>
        </descr>
        <seealso>
          <link id="TCustomGrid.MoveExtend"/>
          <link id="TCustomGrid.SelectCell"/>
          <link id="TCustomDrawGrid.OnBeforeSelection"/>
        </seealso>
      </element>
      <element name="TCustomGrid.BeforeMoveSelection.DCol">
        <short/>
      </element>
      <element name="TCustomGrid.BeforeMoveSelection.DRow">
        <short/>
      </element>

      <element name="TCustomGrid.BeginAutoDrag">
        <short>Starts an auto-drag operation in the grid control.</short>
        <descr>
          <p>
            <var>BeginAutoDrag</var> is an overridden procedure used to start an auto-dragging operation. Auto-dragging is in effect when <var>DragMode</var> contains the value <var>dmAutomatic</var>.
          </p>
          <p>
            BeginAutoDrag examines the <var>Options</var> property to determine if column sizing (<var>goColSizing</var>) or row sizing (<var>goRowSizing</var>) have been enabled for the grid control. In addition, the <var>CursorState</var> property must contain a value that represents the action (<var>gcsColWidthChanging</var> or <var>gcsRowHeightChanging</var>). If either condition is not met, <var>BeginDrag</var> is called using <b>False</b> as an argument.
          </p>
        </descr>
        <seealso>
          <link id="TCustomGrid.Options"/>
          <link id="TCustomGrid.CursorState"/>
          <link id="TGridOption"/>
          <link id="TGridCursorState"/>
        </seealso>
      </element>

      <element name="TCustomGrid.BoxRect">
        <short>Gets the rectangle for the box around the cell at the given coordinates.</short>
        <descr>
          <p>
            Not used in the current implementation.
          </p>
        </descr>
        <seealso/>
        <notes>
          <note>Not currently used in the grid implementation.</note>
        </notes>
      </element>
      <element name="TCustomGrid.BoxRect.Result">
        <short/>
      </element>
      <element name="TCustomGrid.BoxRect.ALeft">
        <short/>
      </element>
      <element name="TCustomGrid.BoxRect.ATop">
        <short/>
      </element>
      <element name="TCustomGrid.BoxRect.ARight">
        <short/>
      </element>
      <element name="TCustomGrid.BoxRect.ABottom">
        <short/>
      </element>

      <element name="TCustomGrid.CacheMouseDown">
        <short>Updates cached grid information when a mouse click occurs in the grid control.</short>
        <descr/>
        <seealso/>
      </element>
      <element name="TCustomGrid.CacheMouseDown.X">
        <short>Horizontal screen coordinate for the mouse click.</short>
      </element>
      <element name="TCustomGrid.CacheMouseDown.Y">
        <short>Vertical screen coordinate for the mouse click.</short>
      </element>

      <element name="TCustomGrid.CalcAutoSizeColumn">
        <short>Automatically calculates the size for the column at the specified position.</short>
        <descr>
          <p>
            Sets the value for aPriority to 0 (zero).
          </p>
        </descr>
        <seealso/>
      </element>
      <element name="TCustomGrid.CalcAutoSizeColumn.Index">
        <short/>
      </element>
      <element name="TCustomGrid.CalcAutoSizeColumn.AMin">
        <short/>
      </element>
      <element name="TCustomGrid.CalcAutoSizeColumn.AMax">
        <short/>
      </element>
      <element name="TCustomGrid.CalcAutoSizeColumn.APriority">
        <short/>
      </element>

      <element name="TCustomGrid.CalcCellExtent">
        <short>Deprecated.</short>
        <descr/>
        <seealso/>
      </element>
      <element name="TCustomGrid.CalcCellExtent.aCol">
        <short/>
      </element>
      <element name="TCustomGrid.CalcCellExtent.aRow">
        <short/>
      </element>
      <element name="TCustomGrid.CalcCellExtent.aRect">
        <short/>
      </element>

      <element name="TCustomGrid.CalcFocusRect">
        <short>Calculates the bounds for a focus rectangle in the grid control.</short>
        <descr>
          <p>
            When row selection is enabled in the grid <var>Options</var>, the <var>Left</var> and <var>Right</var> values in <var>ARect</var> are updated to use cached grid information in <var>GCache</var>. Calls <var>FlipRect</var> to account for Right-to-Left alignment when needed.
          </p>
          <p>
            <var>Adjust</var> indicates whether values in ARect are adjusted for horizontal or vertical grid lines drawn in the control. No additional actions are performed when Adjust is set to <b>False</b>. The default value for the parameter is <b>True</b>.
          </p>
          <p>
            When <var>goHorzLine</var> is included in Options, the Bottom value in ARect is decremented to accommodate the horizontal grid line.
          </p>
          <p>
            When <var>goVertLine</var> is included in Options, the Left or Right value in ARect is adjusted to accommodate the vertical grid line. Left is incremented when <var>UseRightToLeftAlignment</var> is set to <b>True</b>. Right is decremented when UseRightToLeftAlignment is set to <b>False</b>.
          </p>
          <p>
            CalcFocusRect is called from the <var>DrawRow</var> and <var>DrawFocusRect</var> methods.
          </p>
        </descr>
        <seealso>
          <link id="TCustomGrid.Options"/>
          <link id="TCustomGrid.DrawRow"/>
          <link id="TCustomGrid.DrawFocusRect"/>
          <link id="TCustomGrid.GCache"/>
          <link id="TCustomGrid.FlipRect"/>
          <link id="TGridFlagsOption"/>
          <link id="#lcl.controls.TControl.UseRightToLeftAlignment">TControl.UseRightToLeftAlignment</link>
        </seealso>
      </element>
      <element name="TCustomGrid.CalcFocusRect.ARect">
        <short/>
      </element>

      <element name="TCustomGrid.CalcMaxTopLeft">
        <short>Updates cached grid information for the visible area and scrollbars in the control.</short>
        <descr/>
        <seealso/>
      </element>

      <element name="TCustomGrid.CalcScrollbarsRange">
        <short>Updates the range,  page, and thumb position for visible scrollbars.</short>
        <descr>
          <p>
            <var>CalcScrollbarsRange</var> is a procedure used to update the range, page, and thumb position for visible scrollbars in the grid control. CalcScrollbarsRange accesses the cached grid data in <var>GCache</var> to calculate values needed in the method. The visibility for both horizontal and vertical scrollbars is determined, and the range, page and thumb position is applied in the <var>UpdateHorzScrollBar</var> and <var>UpdateVertScrollbar</var> methods.
          </p>
          <p>
            CalcScrollbarsRange is used in the implementation of the <var>ScrollBy</var> and <var>UpdateSizes</var> methods in TCustomGrid.
          </p>
        </descr>
        <seealso>
          <link id="TCustomGrid.GCache"/>
          <link id="TCustomGrid.GetSBRanges"/>
          <link id="TCustomGrid.UpdateHorzScrollBar"/>
          <link id="TCustomGrid.UpdateVertScrollBar"/>
          <link id="TCustomGrid.ScrollBy"/>
        </seealso>
      </element>

      <element name="TCustomGrid.CalculatePreferredSize">
        <short>Gets the preferred width and height for the control.</short>
        <descr>
          <p>
            Always returns 0 (zero) in the PreferredWidth and PreferredHeight variable arguments.
          </p>
        </descr>
        <seealso>
          <link id="#lcl.controls.TWinControl.CalculatePreferredSize">TWinControl.CalculatePreferredSize</link>
        </seealso>
      </element>
      <element name="TCustomGrid.CalculatePreferredSize.PreferredWidth">
        <short/>
      </element>
      <element name="TCustomGrid.CalculatePreferredSize.PreferredHeight">
        <short/>
      </element>
      <element name="TCustomGrid.CalculatePreferredSize.WithThemeSpace">
        <short/>
      </element>

      <element name="TCustomGrid.CanEditShow">
        <short>Indicates whether the cell editor can be displayed and focused in the current column.</short>
        <descr>
          <p>
            <var>CanEditShow</var> is a <var>Boolean</var> function which Indicates whether the cell <var>Editor</var> can be displayed and focused in the current grid column. The return value is <b>False</b> at design-time. The return value is <b>True</b> if <var>Options</var> includes the value <var>goEditing</var>, and the column number in <var>Col</var> is valid and not in a fixed row.
          </p>
          <p>
            When <var>Columns</var> have been Enabled in the grid control, the return value is set to <b>False</b> when the column is marked as ReadOnly in the column definition.
          </p>
          <p>
            CanEditShow is called from the <var>EditorShow</var> method.
          </p>
        </descr>
        <seealso>
          <link id="TCustomGrid.Columns"/>
          <link id="TCustomGrid.Editor"/>
          <link id="TCustomGrid.EditorShow"/>
          <link id="TGridColumns.Enabled"/>
          <link id="TGridColumn.ReadOnly"/>
        </seealso>
      </element>
      <element name="TCustomGrid.CanEditShow.Result">
        <short>True at run-time when the column allows focus and editing.</short>
      </element>

      <element name="TCustomGrid.CanGridAcceptKey">
        <short>Returns True if the grid is able to accept the given key.</short>
        <descr>
          <p>
            Always returns True in TCustomGrid.
          </p>
        </descr>
        <seealso/>
      </element>
      <element name="TCustomGrid.CanGridAcceptKey.Result">
        <short>True if the grid is able to accept the given key.</short>
      </element>
      <element name="TCustomGrid.CanGridAcceptKey.Key">
        <short>Not used in the current implementation.</short>
      </element>
      <element name="TCustomGrid.CanGridAcceptKey.Shift">
        <short>Not used in the current implementation.</short>
      </element>

      <element name="TCustomGrid.CellClick">
        <short>Processes a mouse click in the cell at the given coordinates.</short>
        <descr>
          <p>
            <var>CellClick</var> has an empty implementation in <var>TCustomGrid</var>.
          </p>
        </descr>
        <seealso/>
      </element>
      <element name="TCustomGrid.CellClick.aCol">
        <short>Column number for the click event.</short>
      </element>
      <element name="TCustomGrid.CellClick.aRow">
        <short>Row number for the click event.</short>
      </element>

      <element name="TCustomGrid.CellExtent">
        <short>Gets the last column number for the cell extent at the specified column and row.</short>
        <descr>
          <p>
            <var>CellExtent</var> gets the extent rectangle for the cell at the coordinated in <var>ACol</var> and <var>ARow</var>. The rectangle bounds in <var>R</var> are updated by calling the <var>CalcCellExtent</var> method.
          </p>
          <p>
            <var>exCol</var> is updated in the method to reflect the last visible column in the cached grid information for the cell extent. The <var>ColRowToOffset</var> method is iteratively called until the extent exceeds the cached right-most column for the visible area in the grid.
          </p>
          <p>
            CellExtent is called from the <var>DrawRow</var> method when column spanning is enabled in the <var>Options</var> for the grid control.
          </p>
          <remark>
            The current implementation does not account for BIDI mode or Right-to-Left usage.
          </remark>
        </descr>
        <seealso/>
      </element>
      <element name="TCustomGrid.CellExtent.aCol">
        <short>Column number for the cell extent.</short>
      </element>
      <element name="TCustomGrid.CellExtent.aRow">
        <short>Row number for the cell extent.</short>
      </element>
      <element name="TCustomGrid.CellExtent.R">
        <short>TRect with the bounds for the cell extent.</short>
      </element>
      <element name="TCustomGrid.CellExtent.exCol">
        <short>Last usable column number for the cell extent.</short>
      </element>

      <element name="TCustomGrid.CheckLimits">
        <short>Checks column and row limits for the specified cell.</short>
        <descr>
          <p>
            <var>CheckLimits</var> is a procedure used to constrain the specified cell coordinates to the valid values for grid control.
          </p>
          <p>
            <var>ACol</var> and <var>ARow</var> contain the column and row numbers for a cell in the grid control. CheckLimits ensures that the values represent a valid, non-fixed cell in the grid control.
          </p>
          <p>
            ACol must contain a value in the range <b>0..ColCount-1</b>, and cannot be a fixed column in the grid. The value in <var>FixedCols</var> is assigned to ACol if it is less than the value in FixedCols.<b> ColCount-1</b> is assigned to ACol when it is larger than the upper limit.
          </p>
          <p>
            <var>ARow</var> must contain a value in the range <b>0..RowCount-1</b>, and cannot be a fixed row in the grid. The value in <var>FixedRows</var> is assigned to ARow if it is less than the value in FixedRows. <b>RowCount-1</b> is assigned to ARow when it is larger than the upper limit.
          </p>
          <p>
            <var>CheckLimitsWithError</var> is used when an exception is required for invalid cell coordinates.
          </p>
          <p>
            CheckLimits is used in the implementation of methods like <var>MoveNextSelectable</var> and <var>TryMoveSelection</var>.
          </p>
        </descr>
        <seealso/>
      </element>
      <element name="TCustomGrid.CheckLimits.aCol">
        <short>Column number examined in the method.</short>
      </element>
      <element name="TCustomGrid.CheckLimits.aRow">
        <short>Row number examined in the method.</short>
      </element>

      <element name="TCustomGrid.CheckLimitsWithError">
        <short>Checks column and row limits for the specified cell, with error trapping.</short>
        <descr>
          <p>
            <var>CheckLimitsWithError</var> is a procedure used to ensure that the specified cell coordinates are valid values for grid control.
          </p>
          <p>
            <var>ACol</var> and <var>ARow</var> contain the column and row numbers for a cell in the grid control. CheckLimitsWithError ensures that the values represent a valid, non-fixed cell in the grid control. ACol must contain a value in the range <b>0..ColCount-1</b>, and cannot be a fixed column in the grid. ARow must contain a value in the range <b>0..RowCount-1</b>, and cannot be a fixed row in the grid.
          </p>
          <p>
            CheckLimitsWithError calls IsColumnIndexValid and IsRowIndexValid to determine whether the corresponding values are valid. If either method returns False, an EGridException is raised.
          </p>
          <p>
            <var>CheckLimits</var> is used when cell coordinates must be constrained to the values that are valid for the control.
          </p>
          <p>
            CheckLimitsWithError is used in the implementation of methods like SetCol, SetRow, and SetQuickColRow when AllowOutboundEvents is not enabled.
          </p>
        </descr>
        <errors>
          Raises an EGridException exception with the message in rsGridIndexOutOfRange when a column or row number is out of range for the control.
        </errors>
        <seealso/>
      </element>
      <element name="TCustomGrid.CheckLimitsWithError.aCol">
        <short>Column number examined in the method.</short>
      </element>
      <element name="TCustomGrid.CheckLimitsWithError.aRow">
        <short>Row number examined in the method.</short>
      </element>

      <element name="TCustomGrid.CMBiDiModeChanged">
        <short>Handles the CM_BIDIMODECHANGED control message for the grid control.</short>
        <descr>
          <p>
            Calls <var>VisualChange</var> to update column sizes and redraw the control, and calls the inherited method to notify child controls of the new BidiMode value.
          </p>
        </descr>
        <seealso/>
      </element>

      <element name="TCustomGrid.CMMouseEnter">
        <short>Handles the control message posted when the mouse enters a cell in the grid.</short>
        <descr/>
        <seealso/>
      </element>
      <element name="TCustomGrid.CMMouseEnter.Message">
        <short>Message handled in the method.</short>
      </element>

      <element name="TCustomGrid.CMMouseLeave">
        <short>Handles the control message posted when a mouse leaves a cell.</short>
        <descr/>
        <seealso/>
      </element>
      <element name="TCustomGrid.CMMouseLeave.Message">
        <short>Message handled in the method.</short>
      </element>

      <element name="TCustomGrid.ColRowDeleted">
        <short>Performs actions when a column or a row is deleted from the control.</short>
        <descr>
          <p>
            <var>ColRowDeleted</var> has an empty implementation in <var>TCustomGrid</var>. It is overridden in descendent classes to remove the affected cells and perform notifications.
          </p>
        </descr>
        <seealso>
          <link id="TCustomDrawGrid.ColRowDeleted"/>
        </seealso>
      </element>
      <element name="TCustomGrid.ColRowDeleted.IsColumn">
        <short>True to remove a column, False to remove a Row.</short>
      </element>
      <element name="TCustomGrid.ColRowDeleted.Index">
        <short>Ordinal position for the column or row removed in the method.</short>
      </element>

      <element name="TCustomGrid.ColRowExchanged">
        <short>Performs a notification when column or row data is exchanged in the grid.</short>
        <descr>
          <p>
            <var>ColRowExchanged</var> has an empty implementation in <var>TCustomGrid</var>. It is implemented in descendent classes like <var>TCustomDrawGrid</var> to update the content in the grid and signal the <var>OnColRowExchanged</var> event handler (when assigned).
          </p>
        </descr>
        <seealso/>
      </element>
      <element name="TCustomGrid.ColRowExchanged.IsColumn">
        <short/>
      </element>
      <element name="TCustomGrid.ColRowExchanged.Index">
        <short/>
      </element>
      <element name="TCustomGrid.ColRowExchanged.WithIndex">
        <short/>
      </element>

      <element name="TCustomGrid.ColRowInserted">
        <short>Performs a notification when column or row data is inserted in the grid.</short>
        <descr/>
        <seealso/>
      </element>
      <element name="TCustomGrid.ColRowInserted.IsColumn">
        <short/>
      </element>
      <element name="TCustomGrid.ColRowInserted.Index">
        <short/>
      </element>

      <element name="TCustomGrid.ColRowMoved">
        <short>Performs a notification when column or row data is moved in the grid.</short>
        <descr/>
        <seealso/>
      </element>
      <element name="TCustomGrid.ColRowMoved.IsColumn">
        <short/>
      </element>
      <element name="TCustomGrid.ColRowMoved.FromIndex">
        <short/>
      </element>
      <element name="TCustomGrid.ColRowMoved.ToIndex">
        <short/>
      </element>

      <element name="TCustomGrid.ColRowToOffset">
        <short>Converts a column or row index to starting and ending pixels coordinates.</short>
        <descr/>
        <seealso/>
      </element>
      <element name="TCustomGrid.ColRowToOffset.Result">
        <short>True if a column or row exists for the specified index.</short>
      </element>
      <element name="TCustomGrid.ColRowToOffset.IsCol">
        <short>True when the index is for a column in the grid, False for a row.</short>
      </element>
      <element name="TCustomGrid.ColRowToOffset.Index">
        <short>Ordinal position for the column or row.</short>
      </element>
      <element name="TCustomGrid.ColRowToOffset.StartPos">
        <short>Position where the column or row starts (pixel).</short>
      </element>
      <element name="TCustomGrid.ColRowToOffset.EndPos">
        <short>Position where the column or row ends (pixel).</short>
      </element>

      <element name="TCustomGrid.ColumnIndexFromGridColumn">
        <short>Gets the position of the specified column relative to the first column in the grid.</short>
        <descr>
          <p>
            <var>ColumnIndexFromGridColumn</var> is an Integer function used to get the position of the specified column relative to the first column in the grid. The return value contains the difference between <var>Column</var> and <var>FirstGridColumn</var> when <var>Columns</var> have been enabled in the grid control. <var>RealIndex</var> is called to translate the position used in the return value. If <var>Columns</var> have not been enabled, the return value is <b>-1</b>.
          </p>
          <p>
            ColumnIndexFromGridColumn is used in the implementation of TCustomGrid methods like:
          </p>
          <ul>
            <li>ColumnFromGridColumn</li>
            <li>DoOPExchangeColRow</li>
            <li>DoOPInsertColRow</li>
            <li>DoOPMoveColRow</li>
            <li>DoOPDeleteColRow</li>
          </ul>
        </descr>
        <seealso>
          <link id="TCustomGrid.ColumnFromGridColumn"/>
          <link id="TCustomGrid.DoOPExchangeColRow"/>
          <link id="TCustomGrid.DoOPInsertColRow"/>
          <link id="TCustomGrid.DoOPMoveColRow"/>
          <link id="TCustomGrid.DoOPDeleteColRow"/>
        </seealso>
      </element>
      <element name="TCustomGrid.ColumnIndexFromGridColumn.Result">
        <short>Relative position for the specified column.</short>
      </element>
      <element name="TCustomGrid.ColumnIndexFromGridColumn.Column">
        <short>Column number to locate in the grid.</short>
      </element>

      <element name="TCustomGrid.ColumnFromGridColumn">
        <short>Returns the actual grid column given its index.</short>
        <descr/>
        <seealso/>
      </element>
      <element name="TCustomGrid.ColumnFromGridColumn.Result">
        <short/>
      </element>
      <element name="TCustomGrid.ColumnFromGridColumn.Column">
        <short/>
      </element>

      <element name="TCustomGrid.ColumnsChanged">
        <short>Performs actions needed when one or more columns in the grid are changed.</short>
        <descr>
          <p>
            <var>ColumnsChanged</var> is procedure used to perform actions needed when one or more <var>Columns</var> in the grid are changed. <var>AColumn</var> contains the column affected by the change, or signals a change to multiple columns when its value is unassigned (contains <b>Nil</b>).
          </p>
          <p>
            When AColumn is Nil, the row or column count and/or fixed row or fixed column count has been changed. When AColumn contains a valid <var>TGridColumn</var> instance, the modified column is located in the Columns collection and the <var>VisualChange</var> method is called.
          </p>
          <p>
            ColumnsChanged is called from methods like: <var>SetFixedCols</var>, <var>SetRowCount</var>, and <var>OnTitleFontChanged</var>. It is also called when the <var>Update</var> method in Columns is called for the <var>TGridColumns</var> collection.
          </p>
        </descr>
        <seealso>
          <link id="TCustomGrid.FixedCols"/>
          <link id="TCustomGrid.RowCount"/>
          <link id="TCustomGrid.Columns"/>
          <link id="TGridColumns"/>
          <link id="TGridColumn"/>
        </seealso>
      </element>
      <element name="TCustomGrid.ColumnsChanged.aColumn">
        <short>Grid column instance for the notification, or Nil.</short>
      </element>

      <element name="TCustomGrid.ColWidthsChanged">
        <short>Performs actions needed when the widths for grid columns have been changed.</short>
        <descr>
          <p>
            ColWidthsChanged has an empty implementation in TCustomGrid.
          </p>
        </descr>
        <seealso/>
      </element>

      <element name="TCustomGrid.CreateColumns">
        <short>Allocates and configures resources for the Columns collection.</short>
        <descr>
          <p>
            <var>CreateColumns</var> is a <var>TGridColumns</var> function used create a new <var>TGridColumns</var> instance for the grid control. <var>TGridColumn</var> is the class type used for items stored in the collection.
          </p>
          <p>
            CreateColumns is called from the <var>Create</var> constructor, and the return value is assigned to the member used for the <var>Columns</var> property.
          </p>
        </descr>
        <seealso>
          <link id="TCustomGrid.Create"/>
          <link id="TCustomGrid.Columns"/>
          <link id="TGridColumns"/>
          <link id="TGridColumn"/>
        </seealso>
      </element>
      <element name="TCustomGrid.CreateColumns.Result">
        <short>TGridColumns instance created in the method.</short>
      </element>

      <element name="TCustomGrid.CheckNewCachedSizes">
        <short>Checks the values for cached column sizes when have been reset in the grid.</short>
        <descr>
          <p>
            <var>CheckNewCachedSizes</var> has an empty implementation in <var>TCustomGrid</var>.
          </p>
        </descr>
        <seealso/>
      </element>
      <element name="TCustomGrid.CheckNewCachedSizes.AGCache">
        <short/>
      </element>

      <element name="TCustomGrid.CreateWnd">
        <short>Creates and configures the widgetset handle for the grid control.</short>
        <descr>
          <p>
            <var>CreateWnd</var> is an overridden method in <var>TCustomGrid</var>. It calls the inherited method to allocate the <var>Handle</var> for the widgetset class.
          </p>
          <p>
            CreateWnd ensures that internal flags used for horizontal and vertical scrollbar visibility are updated to reflect the states for the control Handle. The <var>CheckPosition</var> method is called to determine the cell selection in the grid. <var>VisualChange</var> is called to refresh the visible area and scrollbars in the control.
          </p>
        </descr>
        <seealso>
          <link id="TCustomGrid.CheckPosition"/>
          <link id="TCustomGrid.VisualChange"/>
          <link id="#lcl.controls.TWinControl.CreateWnd">TWinControl.CreateWnd</link>
          <link id="#lcl.controls.TWinControl.Handle">TWinControl.Handle</link>
        </seealso>
      </element>

      <element name="TCustomGrid.CreateParams" link="#lcl.controls.TWinControl.CreateParams"/>
      <element name="TCustomGrid.CreateParams.Params">
        <short>Creation parameters updated in the method.</short>
      </element>

      <element name="TCustomGrid.Click">
        <short>Performs actions when a mouse click occurs in the grid control.</short>
        <descr>
          <p>
            <var>Click</var> is an overridden method used to perform action needed when a mouse click occurs in the control. The grid control provides an internal flag to suppress mouse click handling when the event occurs in a "hot zone" (fixed header cells for columns or rows). Click checks the value in the internal flag, and calls the inherited method when the click occurs in the "normal" data cells for the grid.
          </p>
          <p>
            Click is called from methods like <var>SetCol</var>, <var>SetRow</var>, and <var>SetColRow</var> to emulate a mouse click when values are assigned to the <var>Col</var> and/or <var>Row</var> properties.
          </p>
        </descr>
        <seealso>
          <link id="TCustomGrid.Col"/>
          <link id="TCustomGrid.Row"/>
          <link id="TCustomGrid.ColRow"/>
          <link id="#lcl.controls.TControl.Click">TControl.Click</link>
        </seealso>
      </element>

      <element name="TCustomGrid.DblClick">
        <short>Performs actions needed to handle mouse double click events in the control.</short>
        <descr>
          <p>
            <var>DblClick</var> is an overridden method used to perform actions needed when a mouse Double Click event occurs in the grid control.
          </p>
          <p>
            <var>SelectActive</var> is set to False to ignore an active cell or range selection in the control. The internal <var>TGridState</var> member for the control is set to <var>gsNormal</var> to reflect the new state for the control.
          </p>
          <p>
            DblClick uses values in the <var>Options</var> property to determine whether double click is enabled for column or row sizing operations in the control. Some of the Options values relevant to DblClick include:
          </p>
          <dl>
            <dt>goColSizing</dt>
            <dd>Column sizing in enabled for the control.</dd>
            <dt>goRowSizing</dt>
            <dd>Row sizing is enabled for the control.</dd>
            <dt>goDblClickAutoSize</dt>
            <dd>A mouse double click resizes the column automatically.</dd>
          </dl>
          <p>
            When the needed Options values are present, and match the current <var>CursorState</var> for the control, the corresponding action is performed. <var>AutoAdjustColumn</var> is called for a column resize action. <var>RestoreCursor</var> is called, and <var>HeaderSized</var> is called to signal completion of the column resize operation. Row resize actions for double click mouse events are not currently implemented.
          </p>
          <p>
            If the values in Options or CursorState do not meet the required conditions, the inherited method is called.
          </p>
        </descr>
        <seealso>
          <link id="#lcl.controls.TControl.DblClick">TControl.DblClick</link>
        </seealso>
      </element>

      <element name="TCustomGrid.DefaultColWidthIsStored">
        <short>Indicates if the DefaultColWidth property is available in component streaming.</short>
        <descr/>
        <seealso/>
      </element>
      <element name="TCustomGrid.DefaultColWidthIsStored.Result">
        <short/>
      </element>

      <element name="TCustomGrid.DefaultRowHeightIsStored">
        <short>Indicates if the DefaultRowHeight property is available in component streaming.</short>
        <descr/>
        <seealso/>
      </element>
      <element name="TCustomGrid.DefaultRowHeightIsStored.Result">
        <short/>
      </element>

      <element name="TCustomGrid.DefineProperties">
        <short>Defines non-published properties included during LCL component streaming.</short>
        <descr>
          <p>
            <var>DefineProperties</var> is an overridden method used to define non-published properties which are included during LCL component streaming. It sets the read and write routines in <var>Filer</var> used for the following grid properties:
          </p>
          <ul>
            <li>ColWidths </li>
            <li>RowHeights</li>
          </ul>
        </descr>
        <seealso>
          <link id="#lcl.controls.TControl.DefineProperties">TControl.DefineProperties</link>
        </seealso>
      </element>
      <element name="TCustomGrid.DefineProperties.Filer">
        <short>TFiler instance used to read and write the defined properties.</short>
      </element>

      <element name="TCustomGrid.DestroyHandle" link="#lcl.controls.TWinControl.DestroyHandle"/>

      <element name="TCustomGrid.DialogChar">
        <short>Applies an accelerator key for a column in the grid.</short>
        <descr>
          <p>
            <var>DialogChar</var> is an overridden <var>Boolean</var> function used to apply Lazarus messages with accelerator keys for columns in the grid. Message contains the <var>TLMKey</var> instance with the message examined in the method. DialogChar examines each of the <var>Columns</var> defined for the grid to determine if the CharCode for the <var>Message</var> is an accelerator key appearing in the title for the column. When a match is found, the <var>HeaderClick</var> method is called to activate the column.
          </p>
          <p>
            The return value contains the result from the inherited <var>DialogChar</var> method.
          </p>
        </descr>
        <seealso>
          <link id="TCustomGrid.Columns"/>
          <link id="TCustomGrid.ColCount"/>
          <link id="TCustomGrid.HeaderClick"/>
          <link id="#lcl.controls.TWinControl.DialogChar">TWinControl.DialogChar</link>
        </seealso>
      </element>
      <element name="TCustomGrid.DialogChar.Result">
        <short/>
      </element>
      <element name="TCustomGrid.DialogChar.Message">
        <short>Lazarus messaged examined in the method.</short>
      </element>

      <element name="TCustomGrid.DoCompareCells">
        <short>Performs a comparison between the specified cells in the grid control.</short>
        <descr>
          <p>
            <var>DoCompareCells</var> signals the <var>OnCompareCells</var> event handler (when assigned) to perform the comparison. The return value contains the relative sort order for the compared cells, and uses the following values:
          </p>
          <dl>
            <dt>-1</dt>
            <dd>The cell at ACol and ARow occurs comes before the cell at BCol and BRow.</dd>
            <dt>0</dt>
            <dd>The specified cells have the same value.</dd>
            <dt>1</dt>
            <dd>The cell at ACol and ARow occurs comes after the cell at BCol and BRow.</dd>
          </dl>
          <p>
            When OnCompareCells is not assigned, the return value is always <b>0</b>.
          </p>
        </descr>
        <seealso>
          <link id="TCustomGrid.OnCompareCells"/>
        </seealso>
      </element>
      <element name="TCustomGrid.DoCompareCells.Result">
        <short>Relative sort order for the compared cells.</short>
      </element>
      <element name="TCustomGrid.DoCompareCells.Acol">
        <short>Column number for the cell.</short>
      </element>
      <element name="TCustomGrid.DoCompareCells.ARow">
        <short>Row number for the cell.</short>
      </element>
      <element name="TCustomGrid.DoCompareCells.Bcol">
        <short>Column number for the cell.</short>
      </element>
      <element name="TCustomGrid.DoCompareCells.BRow">
        <short>Row number for the cell.</short>
      </element>

      <element name="TCustomGrid.DoCopyToClipboard">
        <short>Copies the selected data to the clipboard.</short>
        <descr/>
        <seealso/>
      </element>

      <element name="TCustomGrid.DoCutToClipboard">
        <short>Cuts the data from its current site and places it in the clipboard.</short>
        <descr/>
        <seealso/>
      </element>

      <element name="TCustomGrid.DoEditButtonClick">
        <short>Performs actions needed when the button for editor control is clicked.</short>
        <descr>
          <p>
            <var>DoEditButtonClick</var> is a procedure used to perform actions requires when the button for a cell editor or button column is clicked.
          </p>
          <p>
            <var>ACol</var> and <var>ARow</var> contain the Integer coordinates for the cell where the action occurred.
          </p>
          <p>
            DoEditButtonClick signals the <var>OnEditButtonClick</var> and <var>OnButtonClick</var> event handlers when they have been assigned for the grid control.
          </p>
          <p>
            DoEditButtonClick is used in the implementation of the <var>EditButtonClicked</var> method used in cell editor controls, and the <var>MouseUp</var> method.
          </p>
        </descr>
        <seealso>
          <link id="TCustomGrid.OnEditButtonClick"/>
          <link id="TCustomGrid.OnButtonClick"/>
          <link id="TCustomGrid.MouseUp"/>
        </seealso>
      </element>
      <element name="TCustomGrid.DoEditButtonClick.ACol">
        <short>Column number for the affected cell.</short>
      </element>
      <element name="TCustomGrid.DoEditButtonClick.ARow">
        <short>Row number for the affected cell.</short>
      </element>

      <element name="TCustomGrid.DoEditorHide">
        <short>Performs actions needed to hide the cell Editor in the grid control.</short>
        <descr>
          <p>
            <var>DoEditorHide</var> is a procedure used to hide the cell <var>Editor</var> for the control.
          </p>
          <p>
            When <var>gfEditingDone</var> is included in the <var>GridFlags</var> for the control, and <var>CanFocus</var> indicates that the control can be focused, it is used as the <var>ActiveControl</var> in the parent <var>Form</var>. The <var>Visible</var> property in Editor is set to <b>False</b> to hide the cell editor for the control.
          </p>
          <p>
            DoEditorHide is called from the <var>EditorHide</var> method.
          </p>
        </descr>
        <seealso>
          <link id="TCustomGrid.Editor"/>
          <link id="TCustomGrid.GridFlags"/>
          <link id="TCustomGrid.EditorHide"/>
          <link id="TGridFlags"/>
          <link id="TGridFlagsOption"/>
          <link id="#lcl.forms.TCustomForm.ActiveControl">TCustomForm.ActiveControl</link>
          <link id="#lcl.controls.TWinControl.CanFocus">TWinControl.CanFocus</link>
        </seealso>
      </element>

      <element name="TCustomGrid.DoEditorShow">
        <short>Performs actions needed to show the cell Editor for the grid control.</short>
        <descr>
          <p>
            Calls <var>ScrollToCell</var> to position the grid on the cell indicated by the <var>Col</var> and <var>Row</var> properties.
          </p>
          <p>
            String- and Button-style editor controls are updated to use the alignment defined for the current column. If <var>Columns</var> has not been enabled, the default alignment for the cell is <var>taLeftJustify</var>. Calls <var>EditSetValue</var> to copy the cell content into the cell <var>Editor</var>.
          </p>
          <p>
            The <var>Editor.SetFocus</var> method is called when the grid control currently has focus and the cell editor can receive focus. <var>InvalidateCell</var> is called to redraw the cell at the position in Col and Row.
          </p>
          <p>
            DoEditorShow is called from the <var>EditorShow</var> method.
          </p>
        </descr>
        <seealso/>
      </element>

      <element name="TCustomGrid.DoExit" link="#lcl.controls.TWinControl.DoExit"/>
      <element name="TCustomGrid.DoEnter" link="#lcl.controls.TWinControl.DoEnter"/>

      <element name="TCustomGrid.DoLoadColumn">
        <short>Signals the OnLoadColumn event handler for the grid control.</short>
        <descr/>
        <seealso/>
      </element>
      <element name="TCustomGrid.DoLoadColumn.Sender">
        <short>Object for the event notification.</short>
      </element>
      <element name="TCustomGrid.DoLoadColumn.aColumn">
        <short>Grid column definition for the event.</short>
      </element>
      <element name="TCustomGrid.DoLoadColumn.aColIndex">
        <short>Ordinal position for the column.</short>
      </element>
      <element name="TCustomGrid.DoLoadColumn.aCfg">
        <short>XML configuration file with the design-time information for the columns in the grid.</short>
      </element>
      <element name="TCustomGrid.DoLoadColumn.aVersion">
        <short>Version number for the streaming format used in the configuration file.</short>
      </element>
      <element name="TCustomGrid.DoLoadColumn.aPath">
        <short>XPath-like expression for the column information.</short>
      </element>

      <element name="TCustomGrid.DoSaveColumn">
        <short>Signals the OnSaveColumn event handler for the grid control.</short>
        <descr/>
        <seealso/>
      </element>
      <element name="TCustomGrid.DoSaveColumn.Sender">
        <short/>
      </element>
      <element name="TCustomGrid.DoSaveColumn.aColumn">
        <short/>
      </element>
      <element name="TCustomGrid.DoSaveColumn.aColIndex">
        <short/>
      </element>
      <element name="TCustomGrid.DoSaveColumn.aCfg">
        <short/>
      </element>
      <element name="TCustomGrid.DoSaveColumn.aVersion">
        <short/>
      </element>
      <element name="TCustomGrid.DoSaveColumn.aPath">
        <short/>
      </element>

      <element name="TCustomGrid.DoMouseWheel">
        <short>Applies mouse wheel options and handles a mouse wheel operation.</short>
        <descr/>
        <seealso/>
      </element>
      <element name="TCustomGrid.DoMouseWheel.Result">
        <short/>
      </element>
      <element name="TCustomGrid.DoMouseWheel.Shift">
        <short/>
      </element>
      <element name="TCustomGrid.DoMouseWheel.WheelDelta">
        <short/>
      </element>
      <element name="TCustomGrid.DoMouseWheel.MousePos">
        <short/>
      </element>

      <element name="TCustomGrid.DoMouseWheelDown" link="#lcl.controls.TControl.DoMouseWheelDown"/>
      <element name="TCustomGrid.DoMouseWheelDown.Result">
        <short/>
      </element>
      <element name="TCustomGrid.DoMouseWheelDown.Shift">
        <short/>
      </element>
      <element name="TCustomGrid.DoMouseWheelDown.MousePos">
        <short/>
      </element>

      <element name="TCustomGrid.DoMouseWheelUp" link="#lcl.controls.TControl.DoMouseWheelUp"/>
      <element name="TCustomGrid.DoMouseWheelUp.Result">
        <short/>
      </element>
      <element name="TCustomGrid.DoMouseWheelUp.Shift">
        <short/>
      </element>
      <element name="TCustomGrid.DoMouseWheelUp.MousePos">
        <short/>
      </element>

      <element name="TCustomGrid.DoMouseWheelLeft" link="#lcl.controls.TControl.DoMouseWheelLeft"/>
      <element name="TCustomGrid.DoMouseWheelLeft.Result">
        <short/>
      </element>
      <element name="TCustomGrid.DoMouseWheelLeft.Shift">
        <short/>
      </element>
      <element name="TCustomGrid.DoMouseWheelLeft.MousePos">
        <short/>
      </element>

      <element name="TCustomGrid.DoMouseWheelRight" link="#lcl.controls.TControl.DoMouseWheelRight"/>
      <element name="TCustomGrid.DoMouseWheelRight.Result">
        <short/>
      </element>
      <element name="TCustomGrid.DoMouseWheelRight.Shift">
        <short/>
      </element>
      <element name="TCustomGrid.DoMouseWheelRight.MousePos">
        <short/>
      </element>

      <element name="TCustomGrid.DoAutoAdjustLayout">
        <short>Performs actions to apply the auto-layout policy with the specified scaling.</short>
        <descr/>
        <seealso/>
      </element>
      <element name="TCustomGrid.DoAutoAdjustLayout.AMode">
        <short/>
      </element>
      <element name="TCustomGrid.DoAutoAdjustLayout.AXProportion">
        <short/>
      </element>
      <element name="TCustomGrid.DoAutoAdjustLayout.AYProportion">
        <short/>
      </element>

      <element name="TCustomGrid.DoOnChangeBounds" link="#lcl.controls.TControl.DoOnChangeBounds"/>

      <element name="TCustomGrid.DoOPDeleteColRow">
        <short>Performs a delete operation for a column or a row.</short>
        <descr/>
        <seealso/>
      </element>
      <element name="TCustomGrid.DoOPDeleteColRow.IsColumn">
        <short/>
      </element>
      <element name="TCustomGrid.DoOPDeleteColRow.Index">
        <short/>
      </element>

      <element name="TCustomGrid.DoOPExchangeColRow">
        <short>Performs an exchange for the columns or rows with the specified indexes.</short>
        <descr/>
        <seealso/>
      </element>
      <element name="TCustomGrid.DoOPExchangeColRow.IsColumn">
        <short/>
      </element>
      <element name="TCustomGrid.DoOPExchangeColRow.Index">
        <short/>
      </element>
      <element name="TCustomGrid.DoOPExchangeColRow.WithIndex">
        <short/>
      </element>

      <element name="TCustomGrid.DoOPInsertColRow">
        <short>Performs an inserting for a column or a row at the specified position.</short>
        <descr/>
       <seealso/>
      </element>
      <element name="TCustomGrid.DoOPInsertColRow.IsColumn">
        <short/>
      </element>
      <element name="TCustomGrid.DoOPInsertColRow.Index">
        <short/>
      </element>

      <element name="TCustomGrid.DoOPMoveColRow">
        <short>Performs a  move operation for the column or row at the specified position.</short>
        <descr/>
        <seealso/>
      </element>
      <element name="TCustomGrid.DoOPMoveColRow.IsColumn">
        <short/>
      </element>
      <element name="TCustomGrid.DoOPMoveColRow.FromIndex">
        <short/>
      </element>
      <element name="TCustomGrid.DoOPMoveColRow.ToIndex">
        <short/>
      </element>

      <element name="TCustomGrid.DoPasteFromClipboard">
        <short>Pastes data from the clipboard into the current cell.</short>
        <descr/>
        <seealso/>
      </element>

      <element name="TCustomGrid.DoPrepareCanvas">
        <short>Performs actions needed to prepare the canvas for a drawing operation.</short>
        <descr>
          <p>
            Signals the OnPrepareCanvas event handler (when assigned) to prepare the Canvas for the cell using the specified state. Called from the PrepareCavas method. Allows the default actions performed in the caller to be overridden.
          </p>
        </descr>
        <seealso/>
      </element>
      <element name="TCustomGrid.DoPrepareCanvas.aCol">
        <short/>
      </element>
      <element name="TCustomGrid.DoPrepareCanvas.aRow">
        <short/>
      </element>
      <element name="TCustomGrid.DoPrepareCanvas.aState">
        <short/>
      </element>

      <element name="TCustomGrid.DoOnResize">
        <short>Performs actions needed when the grid control is resized.</short>
        <descr/>
        <seealso/>
      </element>

      <element name="TCustomGrid.DoSetBounds" link="#lcl.controls.TControl.DoSetBounds"/>
      <element name="TCustomGrid.DoSetBounds.ALeft">
        <short/>
      </element>
      <element name="TCustomGrid.DoSetBounds.ATop">
        <short/>
      </element>
      <element name="TCustomGrid.DoSetBounds.AWidth">
        <short/>
      </element>
      <element name="TCustomGrid.DoSetBounds.AHeight">
        <short/>
      </element>

      <element name="TCustomGrid.DoUTF8KeyPress">
        <short>Applies a UTF-8-encoded character to the active cell editor in the control.</short>
        <descr>
          <p>
            <var>DoUTF8KeyPress</var> is an overridden method used to apply the UTF-8-encoded character in <var>UTF8Key</var> to the active cell <var>Editor</var> for the control. The return value is <b>True</b> if the character is successfully handled.
          </p>
          <p>
            DoUTF8KeyPress calls the inherited method on entry to determine if the character is handled in the ancestor class. No additional actions are performed in the method when the character is handled in the ancestor.
          </p>
          <p>
            Otherwise, <var>EditingAllowed</var> is called to determine if a cell editor can be displayed for the column number in <var>Col</var>. When allowed, the <var>EditorShowChar</var> method is called to apply the value in UTF8Key to the cell Editor. The value in UTF8Key is set to an empty string (<b>''</b>), and the return is set to <b>True</b> on successful completion of the operation.
          </p>
        </descr>
        <seealso>
          <link id="#lcl.controls.TWinControl.DoUTF8KeyPress">TWinControl.DoUTF8KeyPress</link>
        </seealso>
      </element>
      <element name="TCustomGrid.DoUTF8KeyPress.Result">
        <short>True if the character was successfully applied in the method.</short>
      </element>
      <element name="TCustomGrid.DoUTF8KeyPress.UTF8Key">
        <short>UTF-8 character value handled in the method.</short>
      </element>

      <element name="TCustomGrid.DrawBorder">
        <short>Draws the border for the grid control.</short>
        <descr/>
        <seealso>
          <link id="TCustomGrid.DrawBorder"/>
          <link id="TCustomGrid.BorderStyle"/>
          <link id="TCustomGrid.Flat"/>
          <link id="#lcl.controls.TControl.ClientHeight">TControl.ClientHeight</link>
          <link id="#lcl.controls.TControl.ClientWidth">TControl.ClientWidth</link>
        </seealso>
      </element>

      <element name="TCustomGrid.DrawAllRows">
        <short>Draws all of the rows for the grid.</short>
        <descr>
          <p>
            Draws both the fixed rows and any visible data rows using cached information in the grid control. Calls <var>DrawRow</var> to render each row by its row number in the control.
          </p>
          <p>
            <var>DrawAllRows</var> is called from the <var>Paint</var> method.
          </p>
        </descr>
        <seealso>
          <link id="TCustomGrid.GCache"/>
          <link id="TCustomGrid.DrawRow"/>
          <link id="TCustomGrid.Paint"/>
          <link id="TGridDataCache"/>
        </seealso>
      </element>

      <element name="TCustomGrid.DrawFillRect">
        <short>Draws the fill rectangle on the specified canvas.</short>
        <descr>
          <p>
            Shifts the specified rectangle by one pixel on the left- and right-hand edges when <var>UseRightToLeftAlignment</var> is set to <b>True</b>. Calls the <var>FillRect</var> method in the <var>TCanvas</var> instance to draw the adjusted rectangle.
          </p>
          <p>
            DrawFillRect is called from the <var>DrawCell</var> method.
          </p>
        </descr>
        <seealso/>
      </element>
      <element name="TCustomGrid.DrawFillRect.aCanvas">
        <short>Canvas where the fill rectangle is drawn.</short>
      </element>
      <element name="TCustomGrid.DrawFillRect.R">
        <short>Rectangle with the bounds filled in the method.</short>
      </element>

      <element name="TCustomGrid.DrawCell">
        <short>Draws a cell using a given state at the specified grid location (Col, Row, rectangle).</short>
        <descr>
          <p>
            Calls <var>PrepareCanvas</var> to initialize the <var>Canvas</var> for the control to the state in <var>AState</var>. Calls <var>DrawFillRect</var> to fill the rectangle in <var>ARect</var> using the background for the cell. Calls <var>DrawCellGrid</var> to render fixed or non-fixed cells using the state in AState, including horizontal and vertical grid lines when enabled.
          </p>
          <p>
            DrawCell is called from the <var>DrawRow</var> method when it renders the visible cells in the grid row.
          </p>
        </descr>
        <seealso>
          <link id="TCustomGrid.PrepareCanvas"/>
          <link id="TCustomGrid.DrawFillRect"/>
          <link id="TCustomGrid.DrawCellGrid"/>
          <link id="TCustomGrid.DrawRow"/>
          <link id="#lcl.controls.TCustomControl.Canvas">TCustomControl.Canvas</link>
        </seealso>
      </element>
      <element name="TCustomGrid.DrawCell.aCol">
        <short>Column number for the cell.</short>
      </element>
      <element name="TCustomGrid.DrawCell.aRow">
        <short>Row number for the cell.</short>
      </element>
      <element name="TCustomGrid.DrawCell.aRect">
        <short>Rectangle with the dimensions for the cell.</short>
      </element>
      <element name="TCustomGrid.DrawCell.aState">
        <short>State used to render the cell.</short>
      </element>

      <element name="TCustomGrid.DrawCellGrid">
        <short>Draws cell grid lines for the control.</short>
        <descr>
          <p>
            <var>DrawCellGrid</var> is a procedure used to draw cell grid lines for both a fixed and a non-fixed cell in the grid control.
          </p>
          <p>
            DrawCellGrid ensures that the control <var>Canvas</var> (and its <var>Pen</var>) are updated to use the values needed to draw the fixed or non-fixed cell at the location specified in <var>ACol</var> and <var>ARow</var>.
          </p>
          <p>
            For a fixed cell (when <var>gdFixed</var> is in AState), grid lines are drawn when <var>gdoFixedVertLine</var> or <var>gdoFixedHorzLine</var> is found in the <var>Options</var> property. The Pen in the control Canvas is updated to reflect a non-zero value in <var>GridLineWidth</var>.
          </p>
          <p>
            When <var>Flat</var> is set to <b>False</b>, the value in AState is used to determine the color used for the Pen. Canvas drawing methods, like <var>MoveTo</var> and <var>LineTo</var>, are used to draw the cell grid lines at the coordinates in ARect. The value in <var>UseRightToLeftAlignment</var> determines how values in ARect are adjusted for the operation.
          </p>
          <p>
            When Flat is set to <b>True</b>, the value in <var>FixedGridLineColor</var> is used as the color for the Pen.
          </p>
          <p>
            For a non-fixed cell (gdFixed is not in AState), grid lines are drawn when <var>gdoVertLine</var> or <var>gdoHorzLine</var> is found in the Options property. The Pen in the control Canvas is updated to use the GridLineWidth, <var>GridLineStyle</var>, and <var>GridLineColor</var> for the control. Canvas drawing methods, like MoveTo and LineTo, are used to draw the cell grid lines at the coordinates in ARect. The value in UseRightToLeftAlignment determines how values in ARect are adjusted for the operation.
          </p>
          <p>
            DrawCellGrid is called from the <var>DrawCell</var> method after preparing the Canvas and drawing the filled rectangle with the background for the cell.
          </p>
        </descr>
        <seealso>
          <link id="TCustomGrid.Options"/>
          <link id="TCustomGrid.DrawCell"/>
          <link id="TCustomGrid.Flat"/>
          <link id="TCustomGrid.FixedGridLineColor"/>
          <link id="TCustomGrid.GridLineColor"/>
          <link id="TCustomGrid.GridLineStyle"/>
          <link id="TCustomGrid.GridLineWidth"/>
          <link id="#lcl.controls.TControl.UseRightToLeftAlignment">TControl.UseRightToLeftAlignment</link>
        </seealso>
      </element>
      <element name="TCustomGrid.DrawCellGrid.ACol">
        <short>Column number for the cell.</short>
      </element>
      <element name="TCustomGrid.DrawCellGrid.ARow">
        <short>Row number for the cell.</short>
      </element>
      <element name="TCustomGrid.DrawCellGrid.ARect">
        <short>Rectangle with the screen coordinates for the cell.</short>
      </element>
      <element name="TCustomGrid.DrawCellGrid.AState">
        <short>State for the cell (normal, fixed, pushed, et. al.).</short>
      </element>

      <element name="TCustomGrid.DrawTextInCell">
        <short>Draws the text for a non-fixed cell in the grid.</short>
        <descr>
          <p>
            The implementation for <var>DrawTextInCell</var> is empty in TCustomGrid. It is overridden in descendent classes.
          </p>
        </descr>
        <seealso/>
      </element>
      <element name="TCustomGrid.DrawTextInCell.aCol">
        <short/>
      </element>
      <element name="TCustomGrid.DrawTextInCell.aRow">
        <short/>
      </element>
      <element name="TCustomGrid.DrawTextInCell.aRect">
        <short/>
      </element>
      <element name="TCustomGrid.DrawTextInCell.aState">
        <short/>
      </element>

      <element name="TCustomGrid.DrawThemedCell">
        <short>Draws a cell using the theme services for the specified grid drawing state.</short>
        <descr>
          <p>
            <var>DrawThemedCell</var> is a procedure used to draw the cell at the specified coordinates using the theme services for the platform or widget set.
          </p>
          <p>
            <var>aCol</var> contains the column number for the affected cell.
          </p>
          <p>
            <var>aRow</var> contains the row number for the affected cell.
          </p>
          <p>
            <var>aRect</var> contains the screen coordinates for the cell rendered in the method.
          </p>
          <p>
            <var>aState</var> contains the grid drawing state applied to the cell. aState contains a value from the <var>TGridDrawState</var> enumeration that determines the theme service element details used for the drawing operation.
          </p>
          <table>
            <tr>
              <td><b>Grid Draw State</b></td>
              <td><b>Theme Element</b></td>
              <td><b>Description</b></td>
            </tr>
            <tr>
              <td>gdPushed</td>
              <td>thHeaderItemPressed</td>
              <td>Draws the cell using the Pressed state</td>
            </tr>
            <tr>
              <td>gdHot</td>
              <td>thHeaderItemHot</td>
              <td>Draws the cell using the Hotlighted state</td>
            </tr>
            <tr>
              <td>Other states</td>
              <td>thHeaderItemNormal</td>
              <td>Draws the cell using the normal drawing state</td>
            </tr>
          </table>
        </descr>
        <seealso>
          <link id="TCustomDrawGrid.DefaultDrawCell"/>
        </seealso>
      </element>
      <element name="TCustomGrid.DrawThemedCell.aCol">
        <short>Column number for the affected cell.</short>
      </element>
      <element name="TCustomGrid.DrawThemedCell.aRow">
        <short>Row number for the affected cell.</short>
      </element>
      <element name="TCustomGrid.DrawThemedCell.aRect">
        <short>Screen coordinates for the cell.</short>
      </element>
      <element name="TCustomGrid.DrawThemedCell.aState">
        <short>Grid drawing state for the cell.</short>
      </element>

      <element name="TCustomGrid.DrawCellText">
        <short>Draws the specified text in the given text rectangle.</short>
        <descr>
          <p>
            <var>DrawCellText</var> is a procedure used to draw the text specified in <var>AText</var> using the given text rectangle on the <var>Canvas</var> for the control. The Canvas also contains the alignment and layout used for the text drawn in the method.
          </p>
          <p>
            <var>ARect</var> contains the Canvas coordinates for the text is drawn. DrawCellText adjusts the bounds in ARect to account for the cell padding used in the control (<var>varCellPadding</var>) as needed for the text aligment and layout. The <var>TextRect</var> method in the Canvas is called to render the text.
          </p>
          <p>
            Values in the <var>ACol</var>, <var>ARow</var>, and <var>AState</var> parameters are not used in DrawCellText.
          </p>
          <p>
            DrawCellText is used in the implementation of the <var>DrawColumnText</var>, <var>DrawCellAutonumbering</var>, and <var>DrawTextInCell</var> methods where AText contains the column title, row number, or content for a given cell.
          </p>
        </descr>
        <seealso/>
      </element>
      <element name="TCustomGrid.DrawCellText.aCol">
        <short>Not used in the current implementation.</short>
      </element>
      <element name="TCustomGrid.DrawCellText.aRow">
        <short>Not used in the current implementation.</short>
      </element>
      <element name="TCustomGrid.DrawCellText.aRect">
        <short>Text rectangle for the text drawn on the control canvas.</short>
      </element>
      <element name="TCustomGrid.DrawCellText.aState">
        <short>Not used in the current implementation.</short>
      </element>
      <element name="TCustomGrid.DrawCellText.aText">
        <short>Text drawn in the method.</short>
      </element>

      <element name="TCustomGrid.DrawGridCheckboxBitmaps">
        <short>Draws a checkbox bitmap which represents the given state in a cell.</short>
        <descr>
          <p>
            <var>DrawGridCheckboxBitmaps</var> is used to draw a bitmap used for a checkbox at the cell coordinates in <var>ACol</var> and <var>aRow</var>. <var>AState</var> contains the checkbox state for the cell, and determines the image displayed in the specified cell.
          </p>
          <p>
            GetImageForCheckBox is called to get the image list, image index, and/or bitmap used in the cell. Use the OnUserCheckBoxImage or OnUserCheckboxBitmap event handler to get a custom image or bitmap displayed for the value in AState. If GetImageForCheckBox is unable to find either a bitmap or an image, ThemeServices is used to get the theme element details for the checkbox state.
          </p>
          <p>
            The bitmap/image/theme element may be scaled if the control Font uses a display density (PPI) different than the value used for the Screen.
          </p>
          <p>
            When Columns has been Enabled,  the GetColumnAlignment and GetColumnLayout methods are used to determine the image alignment and layout used for the checkbox cell. If Columns has not been enabled, the image is centered horizontally in the cell using the vertical alignment defined for text on the Canvas.
          </p>
          <p>
            DrawGridCheckboxBitmaps adjusts ARect to use the cell padding for the control (varCellPadding) along with the size, alignment and layout needed for the grid column.
          </p>
          <p>
            The checkbox bitmap is drawn using the mechanism needed for the image source; ThemeService.DrawElement, Canvas.StretchDraw, or TScaledImageListResolution.StretchDraw.
          </p>
          <p>
            DrawGridCheckboxBitmaps is called from the DrawCellCheckboxBitmaps method.
          </p>
        </descr>
        <seealso>
          <link id="TCustomGrid.Columns"/>
          <link id="TCustomGrid.GetImageForCheckBox"/>
          <link id="TCustomGrid.OnUserCheckBoxImage"/>
          <link id="TCustomGrid.OnUserCheckBoxBitmap"/>
          <link id="TCustomDrawGrid.DefaultDrawCell"/>
        </seealso>
      </element>
      <element name="TCustomGrid.DrawGridCheckboxBitmaps.aCol">
        <short>Column number for the checkbox cell.</short>
      </element>
      <element name="TCustomGrid.DrawGridCheckboxBitmaps.aRow">
        <short>Row number for the checkbox cell.</short>
      </element>
      <element name="TCustomGrid.DrawGridCheckboxBitmaps.aRect">
        <short>Rectangle with the bounds for the cell.</short>
      </element>
      <element name="TCustomGrid.DrawGridCheckboxBitmaps.aState">
        <short>Checkbox state used to determine the bitmap drawn in the cell.</short>
      </element>

      <element name="TCustomGrid.DrawButtonCell">
        <short>Draws a cell in a button-style column.</short>
        <descr>
          <p>
            <var>DrawButtonCell</var> is a method used to draw a cell which appears in a button-style column. DrawButtonCell uses ThemeServices to get the theme element details used to render the button for the cell.
          </p>
          <p>
            <var>AState</var> contains the drawing state for the button, and determines the theme element details used for the drawing state. The ThemeServices.DrawElement method is called to render the button on the control <var>Canvas</var> at the location specified in <var>ARect</var>.
          </p>
          <p>
            DrawButtonCell is called from <var>DefaultDrawCell</var> when the column has a button-style definition.
          </p>
        </descr>
        <seealso/>
      </element>
      <element name="TCustomGrid.DrawButtonCell.aCol">
        <short>Column number for the button cell.</short>
      </element>
      <element name="TCustomGrid.DrawButtonCell.aRow">
        <short>Row number for the button cell.</short>
      </element>
      <element name="TCustomGrid.DrawButtonCell.aRect">
        <short>Rectangle with the bounds where the button is drawn.</short>
      </element>
      <element name="TCustomGrid.DrawButtonCell.aState">
        <short>Drawing state for the button cell; pushed, hot, or normal.</short>
      </element>

      <element name="TCustomGrid.DrawColRowMoving">
        <short>Draws a column or row when dragging is in effect.</short>
        <descr/>
        <seealso/>
      </element>

      <element name="TCustomGrid.DrawColumnText">
        <short>Draws the text and image for a grid column title at the specified cell coordinates.</short>
        <descr>
          <p>
            <var>DrawColumnText</var> is a method used to draw the text and image for a grid column title at the cell coordinates specified in <var>ACol</var> and <var>ARow</var>. DrawColumnText calls <var>DrawColumnTitleImage</var> to draw the sort indicator for the column. <var>DrawCellText</var> is called to render the text for the cell using the specified drawing state.
          </p>
          <p>
            DrawColumnText is called from the <var>DefaultDrawCell</var> method in descendent classes for cells which are fixed column titles.
          </p>
        </descr>
        <seealso/>
      </element>
      <element name="TCustomGrid.DrawColumnText.aCol">
        <short>Column number for the column title.</short>
      </element>
      <element name="TCustomGrid.DrawColumnText.aRow">
        <short>Row number for the column title.</short>
      </element>
      <element name="TCustomGrid.DrawColumnText.aRect">
        <short>Rectangle with the bounds for the column title.</short>
      </element>
      <element name="TCustomGrid.DrawColumnText.aState">
        <short>Drawing state for the text in the cell.</short>
      </element>

      <element name="TCustomGrid.DrawColumnTitleImage">
        <short>Draws the image(s) used in the column title at the specified index in the grid.</short>
        <descr>
          <p>
            <var>DrawColumnTitleImage</var> is a method used to draw the image(s) used in the column title at the index position in <var>AColumnIndex</var>. <var>ARect</var> contains the bounds for the cell where the image is drawn.
          </p>
          <p>
            When AColumnIndex contains the same value as the <var>SortColumn</var> property, a sort indicator is drawn for the column. <var>GetSortTitleImageInfo</var> is called to determine whether theme services is used to drawn native sort buttons using theme element details. The image size may be scaled when the display density (PPI) for the control <var>Font</var> has a value other than 96.
          </p>
          <p>
            DrawColumnTitleImage ensures that image padding (DEFIMAGEPADDING) is applied to the bounds in ARect. The top and bottom bounds are adjusted so that the image is vertically centered in the area in ARect.
          </p>
          <p>
            DrawColumnTitleImage calls the <var>DrawElement</var> method in <var>ThemeServices</var> to draw the sort indicator.
          </p>
          <p>
            When native sort indicators are not used for the column, an image scaled to the display density is retrieved from the image list. DrawColumnTitleImage ensures that image padding (DEFIMAGEPADDING) is applied to the bounds in ARect. The top and bottom bounds are adjusted so that the image is vertically centered in the area in ARect. The <var>Draw</var> method in the scaled image resolution is called to draw the image on the control Canvas.
          </p>
          <p>
            <var>TitleImageList</var> is used to determine if an additional image is displayed for the column at AColumnIndex. When TitleImageList has been assigned, the <var>GetTitleImageInfo</var> method is called to get the image list and position used for the column. When an image is defined in <var>Columns</var>, an image scaled to the size size needed for the display densitity (PPI) is retrieved from TitleImageList. The bounds in ARect is adjusted to include  padding around the image (DEFIMAGEPADDING) usiing the image layout for the column. The <var>Draw</var> method in the scaled image resolution is called to render the image to the control Canvas.
          </p>
          <p>
            DrawColumnTitleImage is called from the <var>DrawColumnText</var> method.
          </p>
        </descr>
        <seealso/>
      </element>
      <element name="TCustomGrid.DrawColumnTitleImage.ARect">
        <short>Rectangle with the bounds for the column title.</short>
      </element>
      <element name="TCustomGrid.DrawColumnTitleImage.AColumnIndex">
        <short>Column Index for the title image drawn in the method.</short>
      </element>

      <element name="TCustomGrid.DrawEdges">
        <short>Draws the edges (and filled background) of the client area for the control.</short>
        <descr/>
        <seealso/>
      </element>

      <element name="TCustomGrid.DrawFocusRect">
        <short>Draws the focus rectangle for the specified cell.</short>
        <descr>
          <p>
            DrawFocusRect has an empty implementation in TCustomGrid. It is overridden in descendent classes.
          </p>
        </descr>
        <seealso/>
      </element>
      <element name="TCustomGrid.DrawFocusRect.aCol">
        <short>Column number for the cell.</short>
      </element>
      <element name="TCustomGrid.DrawFocusRect.aRow">
        <short>Row number for the cell.</short>
      </element>
      <element name="TCustomGrid.DrawFocusRect.ARect">
        <short>TRect instance with the bounds for the cell.</short>
      </element>

      <element name="TCustomGrid.DrawRow">
        <short>Draws the columns for the specified row in the grid control.</short>
        <descr>
          <p>
            DrawRow is a method used to draw the columns for the row number specified in ARow. DrawRow calls ColRowToOffSet to get the upper and lower bounds for the row, and ensures that the bounds are within the clipping area for the control Canvas.
          </p>
          <p>
            No actions are performed in the method when the client area for the row does not fit within the  clipping rectangle for the control Canvas.
          </p>
          <p>
            DrawRow iterates over the columns in the visible area in the grid to determine if each cell fits vertically within the clipping rectangle for the control Canvas. If column spanning (goColSpanning) has been enabled in the Options for the grid, the cell extent is determined for each cell. DoDrawCell is called to render the cells.
          </p>
          <p>
            DrawRow draws the focus rectangle for the row when row selection (goRowSelect) is enabled in the Options for the grid control. DrawFocusRect is called to render the focus rectangle.
          </p>
          <p>
            DrawRow draws fixed cells used for title columns when the row is one of the fixed rows.
          </p>
          <p>
            DrawRow is called from the DrawAllRows method.
          </p>
        </descr>
        <seealso/>
      </element>
      <element name="TCustomGrid.DrawRow.aRow">
        <short>Row number drawn in the method.</short>
      </element>

      <element name="TCustomGrid.EditButtonClicked">
        <short>Signals the OnEditButtonClick or OnButtonClick event handler (when assigned).</short>
        <descr>
          <p>
            When Sender is the TButtonCellEditor for the control, the DoEditButtonClick method is called using the Col and Row numbers from the TButtonCellEditor class instance. Otherwise, DoEditButtonClick is called using the values in the Col and Row properties.
          </p>
        </descr>
        <seealso/>
      </element>
      <element name="TCustomGrid.EditButtonClicked.Sender">
        <short>Object for the event notification.</short>
      </element>

      <element name="TCustomGrid.EditorDoGetValue">
        <short>Gets the value for the cell Editor.</short>
        <descr>
          <p>
            EditorDoGetValue creates a GM_GETVALUE TGridMessage with the Col, Row, and value for the cell. It is dispatched to the Editor for the control. SetEditText is called prior to exiting from the method; not used in TCustomGrid - but relevant in descendent classes with an event handler for the action.
          </p>
        </descr>
        <seealso/>
      </element>

      <element name="TCustomGrid.EditorDoResetValue">
        <short>Resets the value in the selected cell when a visible editor is cancelled or hidden.</short>
        <descr/>
        <seealso/>
      </element>

      <element name="TCustomGrid.EditorDoSetValue">
        <short>Sets the mask and value for a visible cell editor in the grid control.</short>
        <descr/>
        <seealso/>
      </element>

      <element name="TCustomGrid.EditorCanAcceptKey">
        <short>Returns True if the Editor is able to accept the specified UTF-8 key.</short>
        <descr/>
        <seealso/>
      </element>
      <element name="TCustomGrid.EditorCanAcceptKey.Result">
        <short/>
      </element>
      <element name="TCustomGrid.EditorCanAcceptKey.ch">
        <short/>
      </element>

      <element name="TCustomGrid.EditorIsReadOnly">
        <short>Determines if the current column number is defined as read-only.</short>
        <descr>
          <p>
            Calls GetColumnReadonly using the value in Col as the column number.
          </p>
          <p>
            When the Columns collection has been enabled, the ReadOnly property in the TGridColumn instance determines the return value. Otherwise, the value from GetDefaultColumnReadOnly is used as the return value (False in TCustomGrid).
          </p>
        </descr>
        <seealso/>
      </element>
      <element name="TCustomGrid.EditorIsReadOnly.Result">
        <short/>
      </element>

      <element name="TCustomGrid.EditorHide">
        <short>Hides a visible cell editor in the grid control.</short>
        <descr>
          <p>
            EditorHide ensures that an active, visible cell editor is locked / hidden / unlocked in the method. No actions are performed in the method when EditorLocked returns True, or the Editor is not visible.
          </p>
          <p>
            EditorHide sets the value in EditorMode to False, and sets GridState to gsNormal.
          </p>
          <p>
            No additional actions are performed when the Editor does not have a Parent (when the parent form is closing). If the Editor has an assigned Parent, the Editor is locked and DoEditorHide is called to hide the Editor. If the Editor was focused on entry, SetFocus is called to restore focus to the grid control. The editor is unlocked prior to exiting from the method.
          </p>
        </descr>
        <seealso/>
      </element>

      <element name="TCustomGrid.EditorLocked">
        <short>Returns True if the Editor is locked, i.e. unable to accept input or make changes.</short>
        <descr/>
        <seealso/>
      </element>
      <element name="TCustomGrid.EditorLocked.Result">
        <short>True when LockEditor has been called and UnLockEditor has not yet been called.</short>
      </element>

      <element name="TCustomGrid.EditingAllowed">
        <short>Indicates if the grid and specified column allow editing.</short>
        <descr>
          <p>
            Returns True if both the grid and the specified column allow editing. The return value is True when all of the following conditions are satisfied:
          </p>
          <ul>
            <li>goEditing is included in the Options property</li>
            <li>ACol contains a valid column index</li>
            <li>RowCount has a value larger than the value in FixedRows</li>
            <li>The Columns collection has been Enabled (contains at least one visible column)</li>
            <li>A TGridColumn instance exists for the column index in ACol</li>
            <li>The TGridColumn instance is not marked as read-only</li>
          </ul>
        </descr>
        <seealso/>
      </element>
      <element name="TCustomGrid.EditingAllowed.Result">
        <short>Returns True if both the grid and the current column allow editing.</short>
      </element>
      <element name="TCustomGrid.EditingAllowed.ACol">
        <short>Column number examined in the method.</short>
      </element>

      <element name="TCustomGrid.EditorSelectAll">
        <short>Performs actions to select the entire content in the current cell.</short>
        <descr>
          <p>
            EditorSelectAll is a method used to select the entire content in the current cell when the Editor is active and visible. EditorSelectAll creates, configures, and dispatches a TGridMessage using the GM_SELECTALL message constant to the Editor  in the grid control.
          </p>
          <p>
            No actions are performed in the method when Editor has not been assigned (contains <b>Nil</b>).
          </p>
          <p>
            EditorSelectAll is called from the EditorShow method when its SelAll argument is set to True, and from the IMEStartComposition method.
          </p>
        </descr>
        <seealso/>
      </element>

      <element name="TCustomGrid.EditorShow">
        <short>Displays the Editor for the selected cell.</short>
        <descr>
          <p>
            Displays and enables the cell Editor for the selected cell, and optionally selects all content in the cell.
          </p>
          <p>
            No actions are performed in the method at design-time, or during LCL component streaming. The grid control must have an allocated Handle, and be Enabled and Visible (including the Parent). In addition, both the grid and the column must allow editing. Use Options to enable editing in grid cells. Use Columns to define TGridColumn instances with editable columns using the required button style for the column data.
          </p>
          <p>
            No actions are performed in the method when Editor has not been assigned, or has already been displayed, or is currently locked by a call to LockEditor.
          </p>
          <p>
            EditorShow sets the value in EditorMode to True, and saves the existing cell value on entry. EditorShowing is set to True to indicate that the Editor is visible, and calls doEditorShow to display the Editor control.
          </p>
          <p>
            SelAll indicates whether all of the content in the cuirrent cell is selected in the Editor for the control. When set to True, the EditorSelectAll method is called to post the GM_SELECTALL message to the Editor control. The value in GridState is set to gsNormal prior to exiting from the method.
          </p>
          <p>
            EditorShow is called when the value goAlwaysShowEditor is included in the Options for the grid control. It is also called from methods like:
          </p>
          <ul>
            <li>ResetEditor</li>
            <li>MouseDown</li>
            <li>MouseUp</li>
            <li>DoEnter</li>
            <li>KeyDown</li>
            <li>KeyPress</li>
            <li>MoveExtend</li>
            <li>MoveNextSelectable</li>
            <li>EditorShowInCell</li>
            <li>EditorShowChar</li>
            <li>EditorSetMode</li>
          </ul>
        </descr>
        <seealso/>
      </element>
      <element name="TCustomGrid.EditorShow.SetAll">
        <short>True to select the entire content for the cell in the Editor.</short>
      </element>

      <element name="TCustomGrid.EditorShowInCell">
        <short>Shows the cell content for the Editor<i>in situ</i>.</short>
        <descr/>
        <seealso/>
        <notes><note>Not used in the current implementation.</note></notes>
      </element>
      <element name="TCustomGrid.EditorShowInCell.aCol">
        <short>Column number where the editor is displayed.</short>
      </element>
      <element name="TCustomGrid.EditorShowInCell.aRow">
        <short>Row number where the editor is displayed.</short>
      </element>

      <element name="TCustomGrid.EditorWidthChanged">
        <short>Performs actions needed when the width for a cell Editor has been changed.</short>
        <descr>
          <p>
            <var>EditorWidthChanged</var> performs actions needed to update the width for the cell Editor when a column width in the grid has been changed. EditorWidthChanged calls the <var>EditorPos</var> method to set the position, bounds, and font for the Editor.
          </p>
          <p>
            EditorWidthChanged is called when a new value is assigned to the indexed <var>ColWidths</var> property, and when column widths are adjusted when <var>AutoFillColumns</var> is set to <b>True</b>.
          </p>
        </descr>
        <seealso/>
      </element>
      <element name="TCustomGrid.EditorWidthChanged.aCol">
        <short>Column number for the affected editor.</short>
      </element>
      <element name="TCustomGrid.EditorWidthChanged.aWidth">
        <short>New width for the cell with the editor control.</short>
      </element>

      <element name="TCustomGrid.FirstGridColumn">
        <short>Gets the position of the first column after any fixed columns in the grid.</short>
        <descr>
          <p>
            <var>FirstGridColumn</var> is an <var>Integer</var> function used to get the ordinal position of the first column appearing after any fixed column in the grid control. The return value contains the value in the <var>FixedCols</var> property.
          </p>
          <p>
            FirstGridColumn is used in the implementation of methods including:
          </p>
          <ul>
            <li>GetColWidths</li>
            <li>GetIsCellTitle</li>
            <li>ColumnIndexFromGridColumn</li>
            <li>GridColumnFromColumnIndex</li>
            <li>ColumnsChanged</li>
          </ul>
        </descr>
        <seealso>
          <link id="TCustomGrid.ColWidths"/>
          <link id="TCustomGrid.FixedCols"/>
          <link id="TCustomGrid.GetIsCellTitle"/>
          <link id="TCustomGrid.ColumnIndexFromGridColumn"/>
          <link id="TCustomGrid.GridColumnFromColumnIndex"/>
          <link id="TCustomGrid.ColumnsChanged"/>
        </seealso>
      </element>
      <element name="TCustomGrid.FirstGridColumn.Result">
        <short>Position of the first column after any fixed columns in the grid.</short>
      </element>

      <element name="TCustomGrid.FixedGrid">
        <short>Determines if all columns or all rows in the grid are fixed.</short>
        <descr>
          <p>
            <var>FixedGrid</var> is a <var>Boolean</var> function used to determine whether all columns in the grid are defined as fixed columns, or all rows are defined as fixed rows. The return value is <b>True</b> when <var>FixedCols</var> is equal to <var>ColCount</var> <b>OR</b> <var>FixedRows</var> is equal to <var>RowCount</var>.
          </p>
          <p>
            FixedGrid is used in the implementation of methods like: SetFixedCols, SetFixedRows, MouseToGridZone, MouseDown, MouseMove, MouseUp, TryMoveSelect, EditorAlwaysShown, and FixPosition.
          </p>
        </descr>
        <seealso>
          <link id="TCustomGrid.FixedCols"/>
          <link id="TCustomGrid.FixedRows"/>
          <link id="TCustomGrid.ColCount"/>
          <link id="TCustomGrid.RowCount"/>
        </seealso>
      </element>
      <element name="TCustomGrid.FixedGrid.Result">
        <short>True when all of the row or all of the columns in the control are fixed.</short>
      </element>

      <element name="TCustomGrid.FontChanged">
        <short> Performs actions needed when the font for the control is changed.</short>
        <descr>
          <p>
            <var>FontChanged</var> is an overridden method used to perform actions needed when the <var>Font</var> for the control has been changed.
          </p>
          <p>
            FontChanged ensures that the internal default heights for rows and columns are reset to <b>0</b> (<b>zero</b>). This forces the default column and row heights to be recalculated when the <var>DoAutoAdjustLayout</var> method is called.
          </p>
          <p>
            When <var>csCustomPaint</var> is included in <var>ControlState</var>, the Font is assigned to the <var>Canvas</var> for the control.
          </p>
          <p>
            Otherwise, the FontChanged method is called for the ancestor class and the <var>Columns</var> collection (when Enabled). If the default title font is used for the control, the Font is assigned to <var>TitleFont</var> property.
          </p>
          <p>
            FontChanged is assigned as the <var>OnChange</var> event handler for the <var>Font</var> property in the constructor for the class instance.
          </p>
        </descr>
        <seealso>
          <link id="TCustomGrid.Columns"/>
          <link id="TCustomGrid.TitleFont"/>
          <link id="TGridColumn.Title"/>
          <link id="TGridColumnTitle.Font"/>
          <link id="#lcl.controls.TControl.Font">TControl.Font</link>
          <link id="#lcl.controls.TControl.ControlState">TControl.ControlState</link>
          <link id="#lcl.controls.TCustomControl.FontChanged">TCustomControl.FontChanged</link>
          <link id="#lcl.graphics.TFont">TFont</link>
        </seealso>
      </element>
      <element name="TCustomGrid.FontChanged.Sender">
        <short>Object for the event notification.</short>
      </element>

      <element name="TCustomGrid.GetAutoFillColumnInfo">
        <short>Gets auto-fill information for the specified column.</short>
        <descr>
          <p>
            <var>GetAutoFillColumnInfo</var> is a method used to get sizing information for an auto-fill column specified in <var>Index</var>. <var>AMin</var>, <var>AMax</var>, and <var>APriority</var> are variable arguments updated with the values for the requested column.
          </p>
          <p>
            GetAutoFillColumnInfo calls <var>ColumnFromGridColumn</var> to get the <var>TGridColumn</var> instance in <var>Columns</var> with the requested values. If a column exists with the requested Index, its properties are stored in the variable parameters. When Index is a fixed column in the grid, the value in APriority is set to <b>0</b> (<b>zero</b>). If Columns has not been Enabled for the control, or the column index is not valid, APriority is set to <b>1</b>.
          </p>
        </descr>
        <seealso>
          <link id="TCustomGrid.ColumnFromGridColumn"/>
          <link id="TCustomGrid.Columns"/>
          <link id="TGridColumn.MinSize"/>
          <link id="TGridColumn.MaxSize"/>
          <link id="TGridColumn.SizePriority"/>
        </seealso>
      </element>
      <element name="TCustomGrid.GetAutoFillColumnInfo.Index">
        <short>Position for the grid column examined in the method.</short>
      </element>
      <element name="TCustomGrid.GetAutoFillColumnInfo.aMin">
        <short>Minimum size for the column.</short>
      </element>
      <element name="TCustomGrid.GetAutoFillColumnInfo.aMax">
        <short>Maximum size for the column.</short>
      </element>
      <element name="TCustomGrid.GetAutoFillColumnInfo.aPriority">
        <short>Sizing priority for the column.</short>
      </element>

      <element name="TCustomGrid.GetCellHintText">
        <short>Gets the hint for the specified cell using the Options enabled in the grid control.</short>
        <descr>
          <p>
            <var>GetCellHintText</var> signals the <link id="TCustomGrid.OnGetCellHint">OnGetCellHint</link> event handler (when assigned) to get the hint text for the cell at the position in <var>ACol</var> and <var>ARow</var>. The return value contains the hint text returned from the event handler, or an empty string (<b>''</b>) when the event handler has not been assigned.
          </p>
          <p>
            GetCellHintText is called from the <var>ShowCellHintWindow</var> method when <var>Options</var> contains the value <var>goCellHints</var> and <var>CellHintPriority</var> is <b>not</b> set to <var>chpTruncOnly</var>.
          </p>
        </descr>
        <seealso>
          <link id="TCustomGrid.OnGetCellHint"/>
          <link id="TCustomGrid.ShowCellHintWindow"/>
          <link id="TCustomGrid.Options"/>
          <link id="TCustomGrid.CellHintPriority"/>
          <link id="TCustomGrid.GetTruncCellHintText"/>
        </seealso>
      </element>
      <element name="TCustomGrid.GetCellHintText.Result">
        <short>String with the hint text for the specified cell.</short>
      </element>
      <element name="TCustomGrid.GetCellHintText.ACol">
        <short>Column number for the cell.</short>
      </element>
      <element name="TCustomGrid.GetCellHintText.ARow">
        <short>Row number for the cell.</short>
      </element>

      <element name="TCustomGrid.GetCells">
        <short>Gets the cell content at the specified column and row numbers.</short>
        <descr>
          <p>
            Always returns an empty string ('') in TCustomGrid. Overridden in descendent classes.
          </p>
        </descr>
        <seealso/>
      </element>
      <element name="TCustomGrid.GetCells.Result">
        <short>Content for the specified cell.</short>
      </element>
      <element name="TCustomGrid.GetCells.ACol">
        <short>Column number for the cell.</short>
      </element>
      <element name="TCustomGrid.GetCells.ARow">
        <short>Row number for the cell.</short>
      </element>

      <element name="TCustomGrid.GetColumnAlignment">
        <short>Gets the horizontal Alignment for the specified column.</short>
        <descr>
          <p>
            Calls <var>ColumnFromGridColumn</var> to get the <var>TGridColumn</var> instance in <var>Columns</var> for the column number in the <var>Column</var> parameter.
          </p>
          <p>
            <var>ForTitle</var> indicates the alignment used as the return value for the specified column number. When set to True, the alignment for the Title in the TGridColumn instance is used as the return value. Otherwise, the alignment property in the TGridColumn instance is used as the return value.
          </p>
          <p>
            Called from the <var>PrepareCanvas</var> and <var>DrawGridCheckboxBitmaps</var> methods.
          </p>
        </descr>
        <seealso/>
      </element>
      <element name="TCustomGrid.GetColumnAlignment.Result">
        <short>TAlignment value for the column.</short>
      </element>
      <element name="TCustomGrid.GetColumnAlignment.Column">
        <short>Column number examined in the grid.</short>
      </element>
      <element name="TCustomGrid.GetColumnAlignment.ForTitle">
        <short>True when the alignment in the column title is used.</short>
      </element>

      <element name="TCustomGrid.GetColumnColor">
        <short>Gets the Color used to render the background for the specified column number.</short>
        <descr>
           <p>
             <var>GetColumnColor</var> ensures that the correct color value is used to render the background for the specified column number.
           </p>
          <p>
            When the Columns collection has been enabled, the color is retrieved from the TGridColumn instance. The Color property in TGridColumn is used when ForTitle is set to False. Otherwise, the Color in the Title for the column instance is used.
          </p>
          <p>
            If the Columns collection has not been enabled, the color is retrieved from the Color or FixedColor properties in the grid control. FixedColor is used when ForTitle is set to True.
          </p>
          <p>
            GetColumnColor is called from the PrepareCanvas method.
          </p>
          <p>
            Use properties like AlternateColor, FixedHotColor, FocusColor, and SelectedColor to control when the corresponding Options are enabled for the grid control.
          </p>
        </descr>
        <seealso/>
      </element>
      <element name="TCustomGrid.GetColumnColor.Result">
        <short>Color the column.</short>
      </element>
      <element name="TCustomGrid.GetColumnColor.Column">
        <short>Column number examined in the method.</short>
      </element>
      <element name="TCustomGrid.GetColumnColor.ForTitle">
        <short>True when the color for the title in the column is needed.</short>
      </element>

      <element name="TCustomGrid.GetColumnFont">
        <short>Gets the font used to render values for the specified column.</short>
        <descr/>
        <seealso/>
      </element>
      <element name="TCustomGrid.GetColumnFont.Result">
        <short>TFont instance used to render values for the column.</short>
      </element>
      <element name="TCustomGrid.GetColumnFont.Column">
        <short>Column number examined in the method.</short>
      </element>
      <element name="TCustomGrid.GetColumnFont.ForTitle">
        <short>True when the font for the column title is needed.</short>
      </element>

      <element name="TCustomGrid.GetColumnLayout">
        <short>Gets the vertical text Layout value for the specified column.</short>
        <descr/>
        <seealso/>
      </element>
      <element name="TCustomGrid.GetColumnLayout.Result">
        <short>TTextLayout value for the column.</short>
      </element>
      <element name="TCustomGrid.GetColumnLayout.Column">
        <short>Column number examined in the method.</short>
      </element>
      <element name="TCustomGrid.GetColumnLayout.ForTitle">
        <short>True when the text layout for the column title is needed.</short>
      </element>

      <element name="TCustomGrid.GetColumnReadonly">
        <short>Returns True if the column is marked as ReadOnly.</short>
        <descr/>
        <seealso/>
      </element>
      <element name="TCustomGrid.GetColumnReadonly.Result">
        <short>Returns True if the column is marked as ReadOnly.</short>
      </element>
      <element name="TCustomGrid.GetColumnReadonly.Column">
        <short>Column number examined in the method.</short>
      </element>

      <element name="TCustomGrid.GetColumnTitle">
        <short>Gets the text displayed as the column title for the specified column number.</short>
        <descr>
          <p>
            <var>GetColumnTitle</var> is a <var>String</var> function used to get the text displayed as the column title for column number specified in <var>Column</var>. <var>ColumnFromGridColumn</var> is called to get the non-fixed <var>TGridColumn</var> instance at the specified position in the Columns collection.
          </p>
          <p>
            If a column exists at the position in Column, the <var>Caption</var> stored in its <var>Title</var> property is used as the return value. If Column does not represent a valid non-fixed column position, or the Columns collection has not been enabled, the value from the <var>GetDefaultColumnTitle</var> method is used as the return value.
          </p>
          <p>
            GetColumnTitle is called from the <var>DrawColumnText</var> method when the image and text for the column header is drawn.
          </p>
        </descr>
        <seealso/>
      </element>
      <element name="TCustomGrid.GetColumnTitle.Result">
        <short>Text displayed in the title for the column.</short>
      </element>
      <element name="TCustomGrid.GetColumnTitle.Column">
        <short>Column number for the title text.</short>
      </element>

      <element name="TCustomGrid.GetColumnWidth">
        <short>Gets the width of the column at the specified column number.</short>
        <descr>
          <p>
            <var>GetColumnWidth</var> calls <var>ColumnFromGridColumn</var> to get the <var>TGridColumn</var> instance for the column number in the <var>Column</var> parameter. If the grid column is assigned, its Width property is used as the return value for the method.
          </p>
          <p>
            The grid column may be unassigned (contain <b>Nil</b>) if Column is not a valid column number for the control, or <var>Columns</var> has not been <var>Enabled</var> for the grid. In this situation, <var>GetDefaultColumnWidth</var> is called to get the return value for the method.
          </p>
          <remark>
            GetColumnWidth is never called in TCustomGrid or TCustomDrawGrid. It is called from the internal auto-sizing routine in the <var>TCustomDBGrid</var> descendant.
          </remark>
        </descr>
        <seealso/>
      </element>
      <element name="TCustomGrid.GetColumnWidth.Result">
        <short>Width (in pixels) for the column.</short>
      </element>
      <element name="TCustomGrid.GetColumnWidth.Column">
        <short>Column number examined in the method.</short>
      </element>

      <element name="TCustomGrid.GetDeltaMoveNext">
        <short>Returns the relative cell coordinates for the next cell in the grid navigation order.</short>
        <descr>
          <p>
            <var>AAutoAdvance</var> contains the navigation direction requested in the method. When it is set to <var>aaNone</var>, the values in <var>ACol</var> and <var>ARow</var> always contain <b>0</b> (<b>zero</b>) indicating no relative movement.
          </p>
          <p>
            When <var>Inverse</var> is set to <b>True</b>, the cell navigation order in AAutoAdvance is reversed. When row selection is enabled in the grid <var>Options</var> (using <var>goRowSelect</var>), ACol is set to the first non-fixed column in the grid. Otherwise, it is set to the last column in the grid. Other auto-advance values are handled as follows:
          </p>
          <ul>
            <li>aaLeft is treated as if it were aaRight</li>
            <li>aaRightDown is treated as if it were aaLeftUp</li>
            <li>aaLeftDown is treated as if it were aaRightUp</li>
            <li>aaRightUp is treated as if it were  aaLeftDown</li>
            <li>aaLeftUp is treated as if it were  aaRightDown</li>
          </ul>
          <p>
            The next cell for the navigation order is calculated and returned in the ACol and ARow arguments. The return value is <b>True</b> if the values in ACol and ARow were successfully selected as the current cell in the grid.
          </p>
        </descr>
        <seealso/>
      </element>
      <element name="TCustomGrid.GetDeltaMoveNext.Result">
        <short>True if the calculated cell for the movement is selected in the grid control.</short>
      </element>
      <element name="TCustomGrid.GetDeltaMoveNext.Inverse">
        <short>True is the navigation order is reversed.</short>
      </element>
      <element name="TCustomGrid.GetDeltaMoveNext.ACol">
        <short>Column number after the navigation request.</short>
      </element>
      <element name="TCustomGrid.GetDeltaMoveNext.ARow">
        <short>Column number after the navigation request.</short>
      </element>
      <element name="TCustomGrid.GetDeltaMoveNext.AAutoAdvance">
        <short>Direction of movement for the request.</short>
      </element>

      <element name="TCustomGrid.GetDefaultColumnAlignment">
        <short>Gets the default horizontal alignment used for values in the grid control.</short>
        <descr>
          <p>
            <var>GetDefaultColumnAlignment</var> is a <var>TAlignment</var> function which provides the default horizontal aligment for text in the columns for the grid control. It is used in the <var>GetColumnAlignment</var> method when <var>Columns</var> are not Enabled for the control. GetDefaultColumnAlignment returns the Alignment value from <var>DefaultTextStyle</var> as stored in the constructor for the class instance.
          </p>
        </descr>
        <seealso>
          <link id="TCustomGrid.GetColumnAlignment"/>
          <link id="TCustomGrid.Columns"/>
          <link id="TCustomGrid.DefaultTextStyle"/>
          <link id="#rtl.classes.TAlignment">TAlignment</link>
        </seealso>
      </element>
      <element name="TCustomGrid.GetDefaultColumnAlignment.Result">
        <short>Default horizontal alignment for the specified column.</short>
      </element>
      <element name="TCustomGrid.GetDefaultColumnAlignment.Column">
        <short>Column number is not used in the method </short>
      </element>

      <element name="TCustomGrid.GetDefaultColumnWidth">
        <short>Gets the default width used for the specified column.</short>
        <descr>
          <p>
            GetDefaultColumnWidth is an Integer function which provides the default width used for the specified Column in the grid control. GetDefaultColumnWidth is used in the GetColumnWidth method when Columns have not been enabled for the control. It returns the value stored in the DefaultColWidth property.
          </p>
          <p>
            Use the indexed ColWidths property to set the width for an individual column when the Columns collection has not been enabled. Or, use Columns collection to maintain the column definitions including their width.
          </p>
        </descr>
        <seealso/>
      </element>
      <element name="TCustomGrid.GetDefaultColumnWidth.Result">
        <short/>
      </element>
      <element name="TCustomGrid.GetDefaultColumnWidth.Column">
        <short/>
      </element>

      <element name="TCustomGrid.GetDefaultColumnLayout">
        <short>Gets the default vertical layout for text in the specified column.</short>
        <descr>
          <p>
            <var>GetDefaultColumnLayout</var> gets the default vertical layout for text in the specified Column. The <var>DefaultTextStyle</var> property is used as the source for the text Layout, and contains the value assigned in the constructor for the class instance.
          </p>
          <p>
            GetDefaultColumnLayout is called from <var>GetColumnLayout</var> when a <var>TGridColumn</var> instance cannot be located in <var>Columns</var> for the specified column number. This occurs when <var>Column</var> is invalid for the defined Columns in the control, or when Columns has not been <var>Enabled</var> (contains at least one visible column).
          </p>
          <p>
            Change values in the DefaultTextStyle property to override the default values assigned in the Create method. Use the Columns collection to change the text layout used in a column when Columns are Enabled.
          </p>
        </descr>
        <seealso/>
      </element>
      <element name="TCustomGrid.GetDefaultColumnLayout.Result">
        <short>TTextLayout value for the specified column.</short>
      </element>
      <element name="TCustomGrid.GetDefaultColumnLayout.Column">
        <short>Column number examined in the method.</short>
      </element>

      <element name="TCustomGrid.GetDefaultColumnReadOnly">
        <short>Gets the default setting for the ReadOnly flag in the specified column number.</short>
        <descr/>
        <seealso/>
      </element>
      <element name="TCustomGrid.GetDefaultColumnReadOnly.Result">
        <short/>
      </element>
      <element name="TCustomGrid.GetDefaultColumnReadOnly.Column">
        <short/>
      </element>

      <element name="TCustomGrid.GetDefaultColumnTitle">
        <short>Gets the default text used as the column title for the specified column number.</short>
        <descr>
          <p>
            <var>GetDefaultColumnTitle</var> provides the text used for the specified column number when <var>Columns</var> have not been enabled for the grid control. GetDefaultColumnTitle always returns an empty strng ('') in <var>TCustomGrid</var>.
          </p>
          <p>
            GetDefaultColumnTitle is called from the <var>GetColumnTitle</var> method.
          </p>
        </descr>
        <seealso/>
      </element>
      <element name="TCustomGrid.GetDefaultColumnTitle.Result">
        <short>Default text used as the column title for the specified column.</short>
      </element>
      <element name="TCustomGrid.GetDefaultColumnTitle.Column">
        <short>Column number for the default title text.</short>
      </element>

      <element name="TCustomGrid.GetDefaultEditor">
        <short>Gets the default cell editor for the specified column.</short>
        <descr>
          <p>
            <var>GetDefaultEditor</var> is a <var>TWinControl</var> function used to get the default <var>Editor</var> control for the specified column number.
          </p>
          <p>
            GetDefaultEditor calls <var>EditingAllowed</var> to determine if the column can be edited. When editing is permitted, the <var>Columns</var> collection is used to get the ButtonStyle stored in the <var>TGridColumn</var> instance. If the column uses the cbsAuto button style and has a valid non-empty PickList, the cbsPickList button style is used.
          </p>
          <p>
            If Columns has not been enabled, the cbsAuto button style is always used for the Editor control.
          </p>
          <p>
            GetDefaultEditor calls <var>EditorByStyle</var> to create the Editor with the button style needed for the control. The return value is <b>Nil</b> if the column does not allow editing, or the current cell is a fixed column or row header.
          </p>
          <p>
            For an Editor using the cbsPickList button style, its items and drop-down row count are set using values from the column definition in Columns.
          </p>
          <p>
            GetDefaultEditor is called from the <var>SelectEditor</var> method prior to selecting the cell and signalling the <var>OnSelectEditor</var> event handler (when assigned). Use the OnSelectEditor event handler to override the Editor style or its configuration.
          </p>
        </descr>
        <seealso/>
      </element>
      <element name="TCustomGrid.GetDefaultEditor.Result">
        <short>Control used as the Editor for the specified column number.</short>
      </element>
      <element name="TCustomGrid.GetDefaultEditor.Column">
        <short>Column number examined in the method.</short>
      </element>

      <element name="TCustomGrid.GetDefaultRowHeight">
        <short>Gets the default height for a row in the grid control.</short>
        <descr>
          <p>
            <var>GetDefaultRowHeight</var> is an <var>Integer</var> function used to get the default height for a row in the grid control.
          </p>
          <p>
            GetDefaultRowHeight uses a <var>TCanvas</var> instance to get the height for the text displayed in a row. If the control Canvas is unassigned, or does not have an allocated handle, a temporary TCanvas instance is created using the Font for the control. The TextHeight method in Canvas is called to get the return value for the method.
          </p>
          <p>
            GetDefaultRowHeight is called from the <var>GetDefRowHeight</var> method used to get the value for the <var>DefaultRowHeight</var> property.
          </p>
        </descr>
        <seealso/>
        <notes><note>What are the 7 additional pixels added to the text height?</note></notes>
      </element>
      <element name="TCustomGrid.GetDefaultRowHeight.Result">
        <short>Default value used as the height for rows in the grid.</short>
      </element>

      <element name="TCustomGrid.GetGridDrawState">
        <short>Gets the grid drawing state for the cell with the specified column and row numbers.</short>
        <descr>
          <p>
            <var>GetGridDrawState</var> is a <var>TGridDrawState</var> function used to get the state flags for the cell specified in <var>ACol</var> and <var>ARow</var>. The return value can contain the following enumeration values:
          </p>
          <dl>
            <dt>gdFixed</dt>
            <dd>ARow is one of the FixedRows for the grid.</dd>
            <dt>gdFocused</dt>
            <dd>ACol and ARow have the same values as the Col and Row properties.</dd>
            <dt>gdSelected</dt>
            <dd>
              ACol and ARow have the same values as the Col and Row properties, or the cell is included in a selection range.
            </dd>
            <dt>gdRowHighlight</dt>
            <dd>
              Row highlighting is enabled in Options, Row and aRow have the same value, and the cell is not a fixed cell.
            </dd>
            <dt>gdPushed</dt>
            <dd>ACol and ARow match the cached PushedCell coordinates.</dd>
            <dt>gdHot</dt>
            <dd>ACol and ARow match the cached HotCell coordinates, and the cell is not "pushed".</dd>
          </dl>
          <p>
            GetGridDrawState is called from the DrawRow and ShowCellHintWIndow methods.
          </p>
        </descr>
        <seealso>
          <link id="TCustomGrid.DrawRow"/>
          <link id="TCustomGrid.ShowCellHintWIndow"/>
          <link id="TGridDrawState"/>
        </seealso>
      </element>
      <element name="TCustomGrid.GetGridDrawState.Result">
        <short>TGridDrawState instance with the state flags for the specified cell.</short>
      </element>
      <element name="TCustomGrid.GetGridDrawState.ACol">
        <short>Column number for the cell examined in the method.</short>
      </element>
      <element name="TCustomGrid.GetGridDrawState.ARow">
        <short>Row number for the cell examined in the method.</short>
      </element>

      <element name="TCustomGrid.GetImageForCheckBox">
        <short>Gets the bitmap used to draw Checkbox columns in the grid.</short>
        <descr>
          <p>
            <var>GetImageForCheckBox</var> signals the <var>OnUserCheckboxBitmap</var> event handler (when assigned) to get a bitmap used for the checkbox state. If a valid <var>TBitmap</var> instance is not assigned in the event handler, the <var>OnUserCheckBoxImage</var> event handler is signalled (when assigned) to get the <var>TImageList</var>, <var>TBitmap</var>, and <var>ImageIndex</var> used for the purpose.
          </p>
          <p>
            GetImageForCheckBox is used in the implementation of the <var>DrawGridCheckboxBitmaps</var> and <var>DrawCellText</var> methods in <var>TCustomGrid</var>.
          </p>
        </descr>
        <seealso>
          <link id="TCustomGrid.OnUserCheckboxBitmap"/>
          <link id="TCustomGrid.OnUserCheckboxImage"/>
          <link id="TCustomGrid.DrawGridCheckboxBitmaps"/>
          <link id="TCustomGrid.DrawCellText"/>
        </seealso>
      </element>
      <element name="TCustomGrid.GetImageForCheckBox.aCol">
        <short>Column number for the Checkbox cell.</short>
      </element>
      <element name="TCustomGrid.GetImageForCheckBox.aRow">
        <short>Row number for the Checkbox cell.</short>
      </element>
      <element name="TCustomGrid.GetImageForCheckBox.CheckBoxView">
        <short>Checkbox state for the cell.</short>
      </element>
      <element name="TCustomGrid.GetImageForCheckBox.ImageList">
        <short>Image list with images used for Checkbox drawing states.</short>
      </element>
      <element name="TCustomGrid.GetImageForCheckBox.ImageIndex">
        <short>Ordinal position of the image used for the corresponding Checkbox state.</short>
      </element>
      <element name="TCustomGrid.GetImageForCheckBox.Bitmap">
        <short>Bitmap with the image drawn for the Checkbox state.</short>
      </element>

      <element name="TCustomGrid.GetScrollBarPosition">
        <short>Gets the position for the specified scrollbar.</short>
        <descr>
          <p>
            <var>GetScrollBarPosition</var> is an <var>Integer</var> function used to get the position for the scrollbar specified in Which. GetScrollBarPosition calls the <var>GetScrollInfo</var> routine in the LCL interface to get the <var>TScrollInfo</var> structure with the position for the scrollbar in <var>Which</var>.
          </p>
          <p>
            The return value contain the position from the TScrollInfo structure. The return value is <b>0</b> (<b>zero</b>) if the <var>Handle</var> for the grid control has not been allocated.
          </p>
        </descr>
        <seealso>
          <link id="#lcl.lclintf.GetScrollInfo">GetScrollInfo</link>
          <link id="#lcl.lcltype.TScrollInfo">TScrollInfo</link>
        </seealso>
      </element>
      <element name="TCustomGrid.GetScrollBarPosition.Result">
        <short>Current position in the secified scrollbar.</short>
      </element>
      <element name="TCustomGrid.GetScrollBarPosition.Which">
        <short>Indicates the scrollbar (horizontal or vertical) examined in the method.</short>
      </element>

      <element name="TCustomGrid.GetSmoothScroll">
        <short>Gets the smooth scroll setting in the Options for the grid.</short>
        <descr>
          GetSmoothScroll determines whether the smooth scroll setting (goSmoothScroll) has been included in the Options for the grid control.
        </descr>
        <notes><note>Needs an explanation of what "smooth scroll" really means.</note></notes>
        <seealso/>
      </element>
      <element name="TCustomGrid.GetSmoothScroll.Result">
        <short>True when Options contains the value goSmoothScroll.</short>
      </element>
      <element name="TCustomGrid.GetSmoothScroll.Which">
        <short>Not used in the current implementation.</short>
      </element>

      <element name="TCustomGrid.GetSBVisibility">
        <short>Gets the values for the scrollbar visibility flags in the control.</short>
        <descr/>
        <seealso/>
        <notes><note>?</note></notes>
      </element>
      <element name="TCustomGrid.GetSBVisibility.HsbVisible">
        <short>True if the horizontal scrollbar is visible.</short>
      </element>
      <element name="TCustomGrid.GetSBVisibility.VsbVisible">
        <short>True if the vertical scrollbar is visible.</short>
      </element>

      <element name="TCustomGrid.GetSBRanges">
        <short>Gets the range values for the scrollbars when visible.</short>
        <descr/>
        <seealso/>
      </element>
      <element name="TCustomGrid.GetSBRanges.HsbVisible">
        <short/>
      </element>
      <element name="TCustomGrid.GetSBRanges.VsbVisible">
        <short/>
      </element>
      <element name="TCustomGrid.GetSBRanges.HsbRange">
        <short/>
      </element>
      <element name="TCustomGrid.GetSBRanges.VsbRange">
        <short/>
      </element>
      <element name="TCustomGrid.GetSBRanges.HsbPage">
        <short/>
      </element>
      <element name="TCustomGrid.GetSBRanges.VsbPage">
        <short/>
      </element>

      <element name="TCustomGrid.GetSelectedState">
        <short>Gets the effective selected state using the control Options and the grid draw state.</short>
        <descr/>
        <seealso/>
      </element>
      <element name="TCustomGrid.GetSelectedState.AState">
        <short>Grid draw state values examined in the method.</short>
      </element>
      <element name="TCustomGrid.GetSelectedState.IsSelected">
        <short>True when the state and Options values indicate a selected state.</short>
      </element>

      <element name="TCustomGrid.GetEditMask">
        <short>Gets the edit mask for the specified cell.</short>
        <descr>
          <p>
            Always returns an empty string ('') in TCustomGrid. It is overridden in descendent classes.
          </p>
        </descr>
        <seealso/>
      </element>
      <element name="TCustomGrid.GetEditMask.Result">
        <short>Edit mask for the specified cell.</short>
      </element>
      <element name="TCustomGrid.GetEditMask.ACol">
        <short>Column number for the cell.</short>
      </element>
      <element name="TCustomGrid.GetEditMask.ARow">
        <short>Row number for the cell.</short>
      </element>

      <element name="TCustomGrid.GetEditText">
        <short>Gets the text displayed in the Editor for the specified cell.</short>
        <descr>
          <p>
            <var>GetEditText</var> always returns an empty string ('') in <var>TCustomGrid</var>. It is overridden in descendent classes like TCustomDrawGrid and TCustomStringGrid to signal an  <var>OnGetEditText</var> event handler.
          </p>
          <p>
            GetEditText is called from the <var>EditorDoSetValue</var> method when <var>TGridMessages</var> are dispatched to the <var>Editor</var> to set the edit mask and value used in the control.
          </p>
        </descr>
        <seealso/>
      </element>
      <element name="TCustomGrid.GetEditText.Result">
        <short>Text displayed in the cell editor.</short>
      </element>
      <element name="TCustomGrid.GetEditText.ACol">
        <short>Column number for the editor text.</short>
      </element>
      <element name="TCustomGrid.GetEditText.ARow">
        <short>Row number for the editor text.</short>
      </element>

      <element name="TCustomGrid.GetFixedColor">
        <short>Gets the value for the FixedColor property.</short>
        <descr/>
        <seealso>
          <link id="TCustomGrid.FixedColor"/>
        </seealso>
      </element>
      <element name="TCustomGrid.GetFixedColor.Result">
        <short>Value for the property.</short>
      </element>

      <element name="TCustomGrid.GetFirstVisibleColumn">
        <short>Gets the column number for the first visible non-fixed column in the grid.</short>
        <descr>
          <p>
            <var>GetFirstVisibleColumn</var> is an <var>Integer</var> function used to get the column number for the first visible non-fixed column in the grid. A visible column is one which starts after the fixed columns specified in <var>FixedCols</var> and has a non-zero width for the column in <var>ColWidths</var>.
          </p>
          <p>
            The return value contains the column number (zero-based) for the column matching the criteria. If a non-fixed column with a non-zero width is not found, the return value is set to <var>ColCount</var>.
          </p>
          <p>
            GetFirstVisibleColumn is called from the KeyDown method when handling <b>Tab</b> key navigation for the grid control.
          </p>
        </descr>
        <seealso>
          <link id="TCustomGrid.FixedCols"/>
          <link id="TCustomGrid.ColCount"/>
          <link id="TCustomGrid.ColWidths"/>
          <link id="TCustomGrid.KeyDown"/>
        </seealso>
      </element>
      <element name="TCustomGrid.GetFirstVisibleColumn.Result">
        <short>Column number for the first visible column.</short>
      </element>

      <element name="TCustomGrid.GetFirstVisibleRow">
        <short>Gets the row number for the first visible non-fixed row in the grid.</short>
        <descr/>
        <seealso/>
      </element>
      <element name="TCustomGrid.GetFirstVisibleRow.Result">
        <short>Row number for the first visible row.</short>
      </element>

      <element name="TCustomGrid.GetLastVisibleColumn">
        <short>Gets the column number for the last visible non-fixed column in the grid.</short>
        <descr/>
        <seealso/>
      </element>
      <element name="TCustomGrid.GetLastVisibleColumn.Result">
        <short>Position for the last visible column in the grid.</short>
      </element>

      <element name="TCustomGrid.GetLastVisibleRow">
        <short>Gets the row number for the last visible non-fixed row in the grid.</short>
        <descr/>
        <seealso/>
      </element>
      <element name="TCustomGrid.GetLastVisibleRow.Result">
        <short>Row number for the last visible non-fixed row.</short>
      </element>

      <element name="TCustomGrid.GetSelectedColor">
        <short>Gets the value for the SelectedColor property.</short>
        <descr/>
        <seealso>
          <link id="TCustomGrid.SelectedColor"/>
        </seealso>
      </element>
      <element name="TCustomGrid.GetSelectedColor.Result">
        <short>Value for the properly.</short>
      </element>

      <element name="TCustomGrid.GetTitleShowPrefix">
        <short>Gets the prefix option for the title in the specified column number.</short>
        <descr>
          <p>
            <var>GetTitleShowPrefix</var> determines whether the <var>DT_NOPREFIX</var> DrawText flag is included in the <var>Canvas</var> text style for the specified column. When GetTitleShowPrefix returns <b>False</b>, the DT_NOPREFIX flag in included in the text style.
          </p>
          <p>
            GetTitleShowPrefix is called from the <var>PrepareCanvas</var> method when drawing a cell in the fixed rows for the grid.
          </p>
        </descr>
        <seealso/>
      </element>
      <element name="TCustomGrid.GetTitleShowPrefix.Result">
        <short>True when the TGridColumn is configured to use prefixes.</short>
      </element>
      <element name="TCustomGrid.GetTitleShowPrefix.Column">
        <short>Column number examined in the method.</short>
      </element>

      <element name="TCustomGrid.GetPxTopLeft">
        <short>
          Gets a TPoint instance with the top and left coordinates for the first visible, non-fixed row in the grid control.
        </short>
        <descr/>
        <seealso/>
      </element>
      <element name="TCustomGrid.GetPxTopLeft.Result">
        <short>TPoint instance with the coordinates for the row.</short>
      </element>

      <element name="TCustomGrid.GetTruncCellHintText">
        <short>Gets the truncated version of the hint for the cell at the specified position.</short>
        <descr/>
        <seealso/>
      </element>
      <element name="TCustomGrid.GetTruncCellHintText.Result">
        <short>Truncated text for the cell hint.</short>
      </element>
      <element name="TCustomGrid.GetTruncCellHintText.ACol">
        <short>Column number for the hint text.</short>
      </element>
      <element name="TCustomGrid.GetTruncCellHintText.ARow">
        <short>Row number for the hint text.</short>
      </element>

      <element name="TCustomGrid.GridColumnFromColumnIndex">
        <short>Returns the column number for the column given its index position.</short>
        <descr/>
        <seealso/>
      </element>
      <element name="TCustomGrid.GridColumnFromColumnIndex.Result">
        <short/>
      </element>
      <element name="TCustomGrid.GridColumnFromColumnIndex.ColumnIndex">
        <short/>
      </element>

      <element name="TCustomGrid.GridMouseWheel">
        <short>Performs actions needed when the mouse wheel is scrolled in the grid.</short>
        <descr/>
        <seealso>
          <link id="TCustomGrid.MoveNextSelectable"/>
        </seealso>
      </element>
      <element name="TCustomGrid.GridMouseWheel.Shift">
        <short>Shift state modifier in effect for the action.</short>
      </element>
      <element name="TCustomGrid.GridMouseWheel.Delta">
        <short>Relative change in the current position for the action.</short>
      </element>

      <element name="TCustomGrid.HeaderClick">
        <short>Performs actions needed when a mouse click occurs in a header for a grid column.</short>
        <descr>
          <p>
            <var>HeaderClick</var> ensures that the value in <var>SortOrder</var> is toggled when <var>Index</var> contains the <var>SortColumn</var> defined for the grid control. SortOrder is set to <var>soAscending</var> when Index contains a column number other than SortColumn. SortColumn is updated in the method to use the value in Index as the active sort column.
          </p>
          <p>
            HeaderClick calls the <var>Sort</var> method to sort all non-fixed rows in the grid control using the content from the column number in Index.
          </p>
          <p>
            No actions are perfomed in the method when <var>ColumnClickSorts</var> is set to <b>False</b>.
          </p>
          <p>
            <var>IsColumn</var> indicates whether the header click applies to a column or a row. When set to <b>True</b>, the mouse click occurred in a fixed header for the column number in Index. This parameter implies that similar handling is provided in the method for a header click on a fixed header in a row. No actions are performed for a header click on a row.
          </p>
          <p>
            HeaderClick is overridden in descendent classes like <var>TCustomDrawGrid</var> to perform additional actions.
          </p>
        </descr>
        <seealso/>
      </element>
      <element name="TCustomGrid.HeaderClick.IsColumn">
        <short>True if the click occurred on a column header.</short>
      </element>
      <element name="TCustomGrid.HeaderClick.Index">
        <short>Column (or row) number for the header click.</short>
      </element>

      <element name="TCustomGrid.HeaderSized">
        <short>Performs actions needed when a column or a row has been resized.</short>
        <descr>
          <p>
            <var>HeaderSized</var> is used to perform actions needed when the header for a column or row has been resized in the grid control.
          </p>
          <p>
            <var>IsColumn</var> indicates whether the sizing action applies to a column or a row. When set to <b>True</b>, the column header has been resized. When set to <b>False</b>, the row header was resized.
          </p>
          <p>
            <var>Index</var> indicates the column or row number in the grid where the resizing action occurred.
          </p>
          <p>
            HeaderSized has an empty implementation in <var>TCustomGrid</var>. It is overidden in descendent classes like <var>TCustomDrawGrid</var> to perform additional actions.
          </p>
          <p>
            HeaderSized is called from methods like <var>MouseUp</var> (when column or row sizing is completed) and <var>DblClick</var> (when column sizing is enabled in the grid <var>Options</var>).
          </p>
        </descr>
        <seealso/>
      </element>
      <element name="TCustomGrid.HeaderSized.IsColumn">
        <short>True if a column was resized, False if a Row was resize.</short>
      </element>
      <element name="TCustomGrid.HeaderSized.Index">
        <short>Column or row number for the resize operation.</short>
      </element>

      <element name="TCustomGrid.HeaderSizing">
        <short>Performs actions to resize a column or row to the specified size.</short>
        <descr>
          <p>
            HeaderSizing has an empty implementation in TCustomGrid. It is overridden in descendent classes.
          </p>
        </descr>
        <seealso/>
      </element>
      <element name="TCustomGrid.HeaderSizing.IsColumn">
        <short>True when the resize action is for a column, or False for a row.</short>
      </element>
      <element name="TCustomGrid.HeaderSizing.AIndex">
        <short>Column or row index resized in the method.</short>
      </element>
      <element name="TCustomGrid.HeaderSizing.ASize">
        <short>New size for the column or row.</short>
      </element>

      <element name="TCustomGrid.HideCellHintWindow">
        <short>Cancels the current hint display and restores the saved hint for the grid control.</short>
        <descr>
          <p>
            <var>HideCellHintWindow</var> is a method used to cancel the current hint display, and to restore the saved <var>Hint</var> for the grid control. HideCellHintWindow calls the <var>CancelHint</var> method in the <var>Application</var> singleton to discard the current hint window.
          </p>
        </descr>
        <seealso/>
      </element>

      <element name="TCustomGrid.InternalSetColCount">
        <short>Performs actions needed to set the column count in the grid control.</short>
        <descr>
          <p>
            Called when a new value is assigned to the ColCount property (SetColCount).
          </p>
        </descr>
        <seealso>
          <link id="TCustomGrid.ColCount"/>
          <link id="TCustomGrid.SetColCount"/>
        </seealso>
      </element>
      <element name="TCustomGrid.InternalSetColCount.ACount">
        <short>New column count for the control </short>
      </element>

      <element name="TCustomGrid.IsColumnIndexValid">
        <short>Indicates if the specified index position is valid for the columns in the grid.</short>
        <descr>
          <p>
            Returns <b>True</b> when <var>AIndex</var> is a valid column index in the range <b>0..<var>ColCount</var>-1</b>.
          </p>
          <p>
            IsColumnIndexValid is used in several methods which access a column definition or data by its ordinal position in the grid control.
          </p>
        </descr>
        <seealso/>
      </element>
      <element name="TCustomGrid.IsColumnIndexValid.Result">
        <short>True when Index is in range for the column definitions in the grid.</short>
      </element>
      <element name="TCustomGrid.IsColumnIndexValid.AIndex">
        <short>Index position examined in the method.</short>
      </element>

      <element name="TCustomGrid.IsRowIndexValid">
        <short>Indicates if the specified index position is valid for the rows in the grid.</short>
        <descr>
          <p>
            The return value is <b>True</b> when <var>AIndex</var> is in the range <b>0..<var>RowCount</var>-1</b>.
          </p>
        </descr>
        <seealso>
          <link id="TCustomGrid.RowCount"/>
        </seealso>
      </element>
      <element name="TCustomGrid.IsRowIndexValid.Result">
        <short>True when Index is in range for the rows in the grid.</short>
      </element>
      <element name="TCustomGrid.IsRowIndexValid.AIndex">
        <short>Index position examined in the method.</short>
      </element>

      <element name="TCustomGrid.IsColumnIndexVariable">
        <short>True when the column index is in the range FixedCols..ColCount-1.</short>
        <descr/>
        <seealso/>
      </element>
      <element name="TCustomGrid.IsColumnIndexVariable.Result">
        <short>True when the column index is in the range FixedCols..ColCount-1.</short>
      </element>
      <element name="TCustomGrid.IsColumnIndexVariable.AIndex">
        <short>Column index position checked in the method.</short>
      </element>

      <element name="TCustomGrid.IsRowIndexVariable">
        <short>
          Indicates if the specified row is a valid, non-fixed row in the grid control.
        </short>
        <descr/>
        <seealso/>
      </element>
      <element name="TCustomGrid.IsRowIndexVariable.Result">
        <short>True when AIndex is a valid, non-fixed row in the grid control.</short>
      </element>
      <element name="TCustomGrid.IsRowIndexVariable.AIndex">
        <short>Row number to examine in the method.</short>
      </element>

      <element name="TCustomGrid.GetIsCellTitle">
        <short>Indicates if the cell at the specified position is a fixed column header.</short>
        <descr>
          <p>
            Returns <b>True</b> when all of the following conditions are satisfied:
          </p>
          <ul>
            <li>FixedRows contains a positive non-zero value</li>
            <li>ARow contains zero (<b>0</b>) (first row in the grid)</li>
            <li>ACol contains a value &gt;= FirstGridColumn</li>
          </ul>
        </descr>
        <seealso/>
      </element>
      <element name="TCustomGrid.GetIsCellTitle.Result">
        <short>True if the cell is a fixed column header.</short>
      </element>
      <element name="TCustomGrid.GetIsCellTitle.ACol">
        <short>Column number for the cell.</short>
      </element>
      <element name="TCustomGrid.GetIsCellTitle.ARow">
        <short>Row number for the cell.</short>
      </element>

      <element name="TCustomGrid.GetIsCellSelected">
        <short>Gets the value for the indexed IsCellSelected property.</short>
        <descr>
          <p>
            Compares the cell coordinates in <var>ACol</var> and <var>ARow</var> to the current range selection(s) in the grid control. The return value is <b>True</b> if the cell is in the current range selection for the control.
          </p>
          <p>
            If <var>RangeSelectMode</var> is set to <var>rsmMulti</var>, all of the existing range selections are examined for the specified cell. The return is <b>True</b> when the cell is located in the array of rectangles used for multi-selections in the grid control.
          </p>
          <p>
            Otherwise, the return value is set to False.
          </p>
        </descr>
        <seealso>
          <link id="TCustomGrid.IsCellSelected"/>
        </seealso>
      </element>
      <element name="TCustomGrid.GetIsCellSelected.Result">
        <short>Boolean value for the indexed property.</short>
      </element>
      <element name="TCustomGrid.GetIsCellSelected.aCol">
        <short>Column number for the cell examined in the method.</short>
      </element>
      <element name="TCustomGrid.GetIsCellSelected.aRow">
        <short>Row number for the cell examined in the method.</short>
      </element>

      <element name="TCustomGrid.IsEmptyRow">
        <short>Indicates if non-fixed cells in the specified row are empty.</short>
        <descr/>
        <seealso>
          <link id="TCustomGrid.GetCells"/>
          <link id="TCustomGrid.FixedCols"/>
          <link id="TCustomGrid.ColCount"/>
        </seealso>
      </element>
      <element name="TCustomGrid.IsEmptyRow.Result">
        <short>True when all non-fixed cells in the specified row contain empty strings ('').</short>
      </element>
      <element name="TCustomGrid.IsEmptyRow.ARow">
        <short>Row number to examine in the method.</short>
      </element>

      <element name="TCustomGrid.IsMouseOverCellButton">
        <short>Indicates if the specified mouse position is over a button cell editor.</short>
        <descr/>
        <seealso/>
      </element>
      <element name="TCustomGrid.IsMouseOverCellButton.Result">
        <short/>
      </element>
      <element name="TCustomGrid.IsMouseOverCellButton.X">
        <short>Screen coordinates for the mouse pointer.</short>
      </element>
      <element name="TCustomGrid.IsMouseOverCellButton.Y">
        <short>Screen coordinates for the mouse pointer.</short>
      </element>

      <element name="TCustomGrid.KeyDown">
        <short>Handles key down events for the grid control.</short>
        <descr>
          <p>
            <var>KeyDown</var> is overridden in <var>TCustomGrid</var> to ensure that keys handled by the grid or its <var>Editor</var> are properly applied to the control. KeyDown calls the inherited method on entry to signal the OnKeyDown event handler (when assigned) and any key handlers for the control.
          </p>
          <p>
            CanGridAcceptKey is called to determine whether <var>Key</var> and <var>Shift</var> are ignored in the control.
          </p>
          <p>
            KeyDown handles the following key codes:
          </p>
          <dl>
            <dt>VK_TAB</dt>
            <dd>
              Performs cell navigation when goTabs in included in the Options for the grid. Ensures that goAutoAddRowsSkipContentCheck in Options is supported. When TabAdvance is set to aaNone, the key and modifier are forwarded to the Editor control.
            </dd>
            <dt>VK_LEFT</dt>
            <dd>
              Moves to the previous cell when the Editor is not active.
            </dd>
            <dt>VK_RIGHT</dt>
            <dd>
              Moves to the next cell when the Editor is not active.
            </dd>
            <dt>VK_UP</dt>
            <dd>
              Moves the selection to the previous visible row.
            </dd>
            <dt>VK_DOWN</dt>
            <dd>
              Moves the selection to the next visible row.
            </dd>
            <dt>VK_PRIOR (Page Up)</dt>
            <dd>
              Moves upward in the grid by the number of visible rows.
            </dd>
            <dt>VK_NEXT (Page Down)</dt>
            <dd>
              Moves downward in the grid by the number of visible rows.
            </dd>
            <dt>VK_HOME</dt>
            <dd>
              Moves to the first non-fixed row in the grid. The current column is used. When goRelaxedRowSelect is included in Options, the selection is moved to the first non-fixed column in the current row.
            </dd>
            <dt>VK_END</dt>
            <dd>
              Moves to the last non-fixed row in the grid. The current column is used. When goRelaxedRowSelect is included in Options, the selection is moved to the last non-fixed column in the current row.
            </dd>
            <dt>VK_APPS (Menu Pop-up on PC keyboards)</dt>
            <dd>
              Displays the Pop-up menu for the cell Editor when editing is allowed in the column.
            </dd>
            <dt>VK_F2</dt>
            <dd>
              Selects and displays the cell Editor when editing is allowed in the column.
            </dd>
            <dt>VK_BACK (Backspace)</dt>
            <dd>
              Fowards the Backspace character (^H) to the cell Editor when editing is allowed in the column.
            </dd>
            <dt>VK_C</dt>
            <dd>
              Performs a copy to clipboard operation when ssCtrl or ssMeta is in the Shift modifier.
            </dd>
            <dt>VK_V</dt>
            <dd>
              Performs a paste from clipboard operation when ssCtrl or ssMeta is in the Shift modifier.
            </dd>
            <dt>VK_X</dt>
            <dd>
              Performs a cut to clipboard operation when ssShift is in the Shift modifier.
            </dd>
            <dt>VK_DELETE</dt>
            <dd>
              Clears the value in the cell Editor and redraws the current cell when editing is allowed for the column.
            </dd>
            <dt>VK_ESCAPE</dt>
            <dd>
              Resets the value in the cell Editor, and hides the Editor control when it is both assigned and visible.
            </dd>
          </dl>
          <p>
            When Key is handled in the method, it is set to 0 (zero).
          </p>
          <p>
            Called from EditorKeyDown when key down events are enabled in the EditorOptions for the control.
          </p>
        </descr>
        <seealso>
          <link id="#lcl.controls.TWinControl.KeyDown">TWinControl.KeyDown</link>
        </seealso>
      </element>
      <element name="TCustomGrid.KeyDown.Key">
        <short>Key code examined in the method.</short>
      </element>
      <element name="TCustomGrid.KeyDown.Shift">
        <short>Shift / Ctrl / Alt modifier for the key code.</short>
      </element>

      <element name="TCustomGrid.KeyUp" link="#lcl.controls.TWinControl.KeyUp"/>
      <element name="TCustomGrid.KeyUp.Key" link="#lcl.controls.TWinControl.KeyUp.Key"/>
      <element name="TCustomGrid.KeyUp.Shift" link="#lcl.controls.TWinControl.KeyUp.Shift"/>

      <element name="TCustomGrid.KeyPress">
        <short>Applies the specified key press to the control.</short>
        <descr>
        <p>
          <var> KeyPress</var> is a method used to apply the character in Key to the grid control. KeyPress is overridden to ensure that a key which originated from the grid control is applied properly to the cell <var>Editor</var> (when needed). It calls the inherited method on entry.
        </p>
        <p>
          The following key press values in <var>Key</var> are handled in the method:
        </p>
        <dl>
          <dt>Enter (#13)</dt>
          <dd>
            Gets and displays the cell Editor when EditMode is False and the column allows editing.
          </dd>
          <dt>Backspace (^H) and characters in the range #32..#255 (data)</dt>
          <dd>
            Applies the key press to the Editor.
          </dd>
        </dl>
        <p>
          When Key is handled in the method, it is set to #0 prior to exit.
        </p>
        </descr>
        <seealso>
          <link id="#lcl.controls.TWinControl.KeyPress">TWinControl.KeyPress</link>
        </seealso>
      </element>
      <element name="TCustomGrid.KeyPress.Key">
        <short>Key press character examined in the method.</short>
      </element>

      <element name="TCustomGrid.LoadContent">
        <short>Loads values for the grid from the specified XML configuration file.</short>
        <descr/>
        <seealso/>
      </element>
      <element name="TCustomGrid.LoadContent.cfg">
        <short>Configuration file loaded  in the method.</short>
      </element>
      <element name="TCustomGrid.LoadContent.Version">
        <short>Grid version number for the values processed in the method.</short>
      </element>

      <element name="TCustomGrid.LoadGridOptions">
        <short>Loads design-time grid options for an LCL version from an XML configuration file.</short>
        <descr/>
        <seealso/>
      </element>
      <element name="TCustomGrid.LoadGridOptions.cfg">
        <short>XML configuration file instance examined in the method.</short>
      </element>
      <element name="TCustomGrid.LoadGridOptions.Version">
        <short>LCL version for the grid option data.</short>
      </element>

      <element name="TCustomGrid.Loaded">
        <short>
          Performs actions when the component has been loaded using LCL component streaming.
        </short>
        <descr>
          <p>
            Calls the inherited method on entry, and calls VisualChange to resize columns and redraw the grid control.
          </p>
        </descr>
        <seealso/>
      </element>

        <element name="TCustomGrid.LockEditor">
        <short>Locks the Editor so that it cannot accept input or changes.</short>
        <descr>
          <p>
            Increments the value for the internal lock count used for the Editor.
          </p>
        </descr>
        <seealso/>
      </element>

      <element name="TCustomGrid.MouseButtonAllowed">
        <short>Indicates if the specified mouse button is a mouse down event used in the control.</short>
        <descr>
          <p>
            Called from the MouseDown method to ignore Right mouse clicks at design-time.
          </p>
        </descr>
        <seealso/>
      </element>
      <element name="TCustomGrid.MouseButtonAllowed.Result">
        <short>True if the specified mouse button is valid for the grid control.</short>
      </element>
      <element name="TCustomGrid.MouseButtonAllowed.Button">
        <short>TMouseButton value examined in the method.</short>
      </element>

      <element name="TCustomGrid.MouseDown">
        <short>Handles mouse down events for the grid control.</short>
        <descr>
          <p>
            <var>MouseDown</var> is overridden in <var>TCustomGrid</var> to ensure that cached grid information in <var>GCache</var> is updated for mouse down events, and both GridState and GridFlags are updated for the control.
          </p>
          <p>
            MouseDown calls the inherited method to handle focus changes for the control and drag operations. The OnMouseDown event handler is signalled (when assigned) by the ancestor.
          </p>
          <p>
            No additional actions are performed in the method at design-time, or when the mouse Button is not allowed in the grid control.
          </p>
          <p>
            MouseDown ensures that the grid control is focused and updates GCache with the coordinates for trhe mouse down event. The grid "hot" zone in the cached information determines the value assigned to GridState, GridFlags, CursorState and the actions perfomed for the mouse event.
          </p>
          <p>
            <b>gzFixedCells</b>
          </p>
          <p>
            Sets GridState to gsColSizing when both goColSizing and goFixedColSizing have been included in the Options and the cursor state is gcsColWidthChanging.
          </p>
          <p>
            Otherwise, GridState is set to gsHeaderClicking. The cell is drawn in a "pushed" state when goHeaderPushedLook is included in Options and the grid zone is in HeaderPushZones.
          </p>
          <p>
            <b>gzFixedCols</b>
          </p>
          <p>
            GridState is set to gsColSizing when goColSizing has been included in the Options and the cursor state is gcsColWidthChanging.
          </p>
          <p>
            Otherwise, GridState is set to gsColMoving. The cell is drawn in a "pushed" state when goHeaderPushedLook is included in Options and the grid zone is in HeaderPushZones.
          </p>
          <p>
            <b>gzFixedRows</b>
          </p>
          <p>
            GridState is set to gsRowMoving when goRowSizing is included in Options and CursorState is gcsRowHeightChanging.
          </p>
          <p>
            Otherwise, GridState is set to gsRowMoving. The cell is drawn using the "pushed" state when goHeaderPushedLook is included in Options and the grid zone is in HeaderPushZones.
          </p>
          <p>
            <b>gzNormal</b>
          </p>
          <p>
            When the mouse down event is over a button-style cell, it is drawn in the "pushed" state. No additional actions are needed for the event.
          </p>
          <p>
            Other cells use the values in Options and CursorState to determine whether the mouse event is for column sizing, selection, or enabling/disabling the cell editor. GridState is updated to the corresponding value.
          </p>
        </descr>
        <seealso>
          <link id="#lcl.controls.TControl.MouseDown">TControl.MouseDown</link>
        </seealso>
      </element>
      <element name="TCustomGrid.MouseDown.Button">
        <short>Mouse button for the event.</short>
      </element>
      <element name="TCustomGrid.MouseDown.Shift">
        <short>Shift state for the event.</short>
      </element>
      <element name="TCustomGrid.MouseDown.X">
        <short>Horizontal coordinate for the mouse event.</short>
      </element>
      <element name="TCustomGrid.MouseDown.Y">
        <short>Vertical coordinate for the mouse event.</short>
      </element>

      <element name="TCustomGrid.MouseMove">
        <short>Applies a change in the mouse pointer position to the grid control.</short>
        <descr>
          <p>
            <var>MouseMove</var> is an overridden method in <var>TCustomGrid</var>. It calls the inherited method on entry to update the DragManager when it is active, and to signal the OnMouseMove event handler (when assigned). No additional actions are performed in the method if a drag operation is already active in the DragManager.
          </p>
          <p>
            If the mouse coordinates are located in the fixed headers for the control, hot tracking and cell down / pushed drawing are applied to the grid control when enabled in Options.
          </p>
          <p>
            Cell selections are handled for the mouse movement depending on grid state values and Options set for the control. No additional actions are performed in the method when gsHeaderClicking or gsButtonColumnClicking are in the grid state for the control. Performs the following for a corresponding mouse movement:
          </p>
          <dl>
            <dt>
              Extend an active selection in the control when needed.
            </dt>
            <dd>
              Calls MoveExtend when the mouse pointer is not in the current selection, not in a fixed header area for the control, and editing is not active or allowed. Occurs when gsSelecting is in the grid state values for the control.
            </dd>
            <dt>
              Move the column under the mouse pointer.
            </dt>
            <dd>
              Occurs when goColMoving is in Options.
            </dd>
            <dt>
              Resize the column under the mouse pointer.
            </dt>
            <dd>
              Occurs when goColSizing is in Options.
            </dd>
            <dt>
              Resize the row under the mouse pointer.
            </dt>
            <dd>
              Occurs when goRowSizing is in Options.
            </dd>
          </dl>
          <p>
            MouseMove sets the Hint displayed for the cell under the mouse pointer when ShowHint is enabled. Values in Hint, CellHintPriority, Options, and the OnGetCellHint event hander are used for the purpose. If the mouse pointer is not over a cell, the Hint for the application is reset to a previous hint or an empty string ('') when saved hint text is not available.
          </p>
          <p>
            Called from WMMouseMove when a LM_MOUSEMOVE window message is handled for the grid control.
          </p>
        </descr>
        <seealso>
          <link id="#lcl.controls.TControl.MouseMove">TControl.MouseMove</link>
          <link id="#lcl.controls.TControl.WMMouseMove">TControl.WMMouseMove</link>
        </seealso>
      </element>
      <element name="TCustomGrid.MouseMove.Shift">
        <short>Ctrl, Alt, or Shift modifier for the mouse event.</short>
      </element>
      <element name="TCustomGrid.MouseMove.X">
        <short>Horizontal coordinate for the mouse pointer.</short>
      </element>
      <element name="TCustomGrid.MouseMove.Y">
        <short>Vertical coordinate for the mouse pointer.</short>
      </element>

      <element name="TCustomGrid.MouseUp">
        <short>
          Handles a mouse up event for the grid control.
        </short>
        <descr>
          <p>
            <var>MouseUp</var> is an overridden method in <var>TCustomGrid</var> used to perform actions needed when a mouse up event has been received for the grid control. It calls the inherited method on entry to signal the OnMouseUp event handler (when assigned). MouseUp performs additional actions based on the grid zone where the mouse up event occurred and the current grid state flags for the control.
          </p>
          <p>
            For example:
          </p>
          <dl>
            <dt>
              Mouse event on a fixed header for the grid.
            </dt>
            <dd>
              Calls HeaderClick for the column header under the mouse pointer. Changes the sort order in the column when enabled. Occurs when gsHeaderClicking is in the grid state flags.
            </dd>
            <dt>
              Mouse event on a column button in the grid header.
            </dt>
            <dd>
              Calls DoEditButton to signal the OnEditButtonClick or OnButtonClick event handlers (when assigned). Occurs when gsButtonColumnClicking is in the grid state flags.
            </dd>
            <dt>
              Mouse event on a non-fixed cell in the grid control.
            </dt>
            <dd>
              Selects and displays an editor for the cell, and calls the CellClick method to apply the mouse event to the cell. If a selection is already active in the control, it is extended to include the range of cells ending at the mouse pointer. Occurs when gsNormal or gsSelecting is in the grid state flags.
            </dd>
            <dt>
              The mouse event occurs when dragging a column header.
            </dt>
            <dd>
              Moves the dragged column to the column position under the mouse pointer. Calls HeaderClick to refresh the sort order for cells in the column. Occurs when gsColMoving is in the grid state flags.
            </dd>
            <dt>
              The mouse event occurs when dragging a row header.
            </dt>
            <dd>
              Moves the dragged row to the row position under the mouse pointer. Calls HeaderClick to refresh the sort order for cells in the row. Occurs when gsRowMoving is in the grid state flags.
            </dd>
            <dt>
              The mouse event occurs when resizing a column header.
            </dt>
            <dd>
              Calls ResizeColumn to apply the new column size, and calls the HeaderSized method for the resized column number. Occurs when gsColSizing is in the grid state flags.
            </dd>
            <dt>
              The mouse event occurs when resizing a row header.
            </dt>
            <dd>
              Calls ResizeRow to apply the new row size, and calls the HeaderSized method for the resized row  number. Occurs when gsRowSizing is in the grid state flags.
            </dd>
          </dl>
          <p>
            Values in GridFlags are updated to remove flag values for the handled actions, and the grid state is set to gsNormal prior to exit.
          </p>
          <p>
            MouseUp is called when window messages are handled in the WMLButtonUp, WMRButtonUp, and WMXButtonUp methods in the ancestor class.
          </p>
        </descr>
        <seealso>
          <link id="TCustomGrid.GridFlags"/>
          <link id="TGridState"/>
          <link id="#lcl.controls.TControl.MouseUp">TControl.MouseUp</link>
          <link id="#lcl.controls.TControl.OnMouseUp">TControl.OnMouseUp</link>
          <link id="#lcl.controls.TControl.WMLButtonUp">TControl.WMLButtonUp</link>
          <link id="#lcl.controls.TControl.WMRButtonUp">TControl.WMRButtonUp</link>
          <link id="#lcl.controls.TControl.WMXButtonUp">TControl.WMXButtonUp</link>
        </seealso>
      </element>
      <element name="TCustomGrid.MouseUp.Button">
        <short>Mouse button for the event notification.</short>
      </element>
      <element name="TCustomGrid.MouseUp.Shift">
        <short>Ctrl, Alt, or Shift modifier for the mouse event.</short>
      </element>
      <element name="TCustomGrid.MouseUp.X">
        <short>Horizontal coordinate for the mouse pointer.</short>
      </element>
      <element name="TCustomGrid.MouseUp.Y">
        <short>Vertical  coordinate for the mouse pointer.</short>
      </element>

      <element name="TCustomGrid.MoveExtend">
        <short>Moves the selected cell or extends a selection using the specified column and row values.</short>
        <descr>
          <p>
            Calls TryMoveSelection to perform the selection change using the specified arguments. No actions are performed in the method when:
          </p>
          <ul>
            <li>
              FixedGrid is True. All cells are fixed and cannot be selected.
            </li>
            <li>
              DCol and DRow are not valid for the Col, Row, ColCount or RowCount for the grid control.
            </li>
          </ul>
        </descr>
        <seealso>
          <link id="TCustomGrid.TryMoveSelection"/>
          <link id="TCustomGrid.SelectCell"/>
          <link id="TCustomGrid.FixedGrid"/>
          <link id="TCustomGrid.Col"/>
          <link id="TCustomGrid.ColCount"/>
          <link id="TCustomGrid.Row"/>
          <link id="TCustomGrid.RowCount"/>
        </seealso>
      </element>
      <element name="TCustomGrid.MoveExtend.Result">
        <short>True if the selection was moved or extended in the method.</short>
      </element>
      <element name="TCustomGrid.MoveExtend.Relative">
        <short>
          True if the selection is extended by the relative number of columns and rows. False to move the selection to the specified cell coordinates.
        </short>
      </element>
      <element name="TCustomGrid.MoveExtend.DCol">
        <short>Column number for the selection, or the delta when a selection is extended.</short>
      </element>
      <element name="TCustomGrid.MoveExtend.DRow">
        <short>Row number for the selection, or the delta when a selection is extended.</short>
      </element>
      <element name="TCustomGrid.MoveExtend.ForceFullyVisible">
        <short>True if the cell in DCol and DRow must be fully visible after the selection change.</short>
      </element>

      <element name="TCustomGrid.MoveNextAuto">
        <short>Moves to the next cell in the auto-advance sequence.</short>
        <descr/>
        <seealso/>
      </element>
      <element name="TCustomGrid.MoveNextAuto.Result">
        <short/>
      </element>
      <element name="TCustomGrid.MoveNextAuto.Inverse">
        <short/>
      </element>

      <element name="TCustomGrid.MoveNextSelectable">
        <short>Moves to the next selectable cell.</short>
        <descr/>
        <seealso/>
      </element>
      <element name="TCustomGrid.MoveNextSelectable.Result">
        <short/>
      </element>
      <element name="TCustomGrid.MoveNextSelectable.Relative">
        <short/>
      </element>
      <element name="TCustomGrid.MoveNextSelectable.DCol">
        <short/>
      </element>
      <element name="TCustomGrid.MoveNextSelectable.DRow">
        <short/>
      </element>

      <element name="TCustomGrid.MoveSelection">
        <short>Signals the OnSelection event handler for a new mouse selection.</short>
        <descr/>
        <seealso/>
      </element>

      <element name="TCustomGrid.Notification">
        <short>
          Performs actions needed when the specified component is added to or removed from the control.
        </short>
        <descr>
          <p>
            Notification is an overridden method in TCustomGrid. It calls the inherited method on entry to handle notifications in ancestor classes and their child components. It ensures that the reference in TitleImageList is set <b>Nil</b> when the component is removed from the control.
          </p>
        </descr>
        <seealso>
          <link id="TCustomGrid.TitleImageList"/>
          <link id="#lcl.controls.TControl.Notification">TControl.Notification</link>
          <link id="#rtl.classes.TComponent">TComponent</link>
        </seealso>
      </element>
      <element name="TCustomGrid.Notification.AComponent">
        <short>Component for the notification.</short>
      </element>
      <element name="TCustomGrid.Notification.Operation">
        <short>Operation performed for the specified component.</short>
      </element>

      <element name="TCustomGrid.OffsetToColRow">
        <short>Moves to a column or row located at the specified offset.</short>
        <descr/>
        <seealso/>
        <version>
          Index and Rest arguments were changed to output parameters in LCL version 2.1 (revision 65087).
        </version>
      </element>
      <element name="TCustomGrid.OffsetToColRow.Result">
        <short>True if a column and row number was identified for the specified offset.</short>
      </element>
      <element name="TCustomGrid.OffsetToColRow.IsCol">
        <short>True if the offset is for a column, False for a row.</short>
      </element>
      <element name="TCustomGrid.OffsetToColRow.Physical">
        <short>True for a physical offset, False for a logical offset.</short>
      </element>
      <element name="TCustomGrid.OffsetToColRow.Offset">
        <short>Offset in pixels for the column or row.</short>
      </element>
      <element name="TCustomGrid.OffsetToColRow.Index">
        <short>Index position for the column or row in the specified offset.</short>
      </element>
      <element name="TCustomGrid.OffsetToColRow.Rest">
        <short>Remaining pixels stating at the value in Index.</short>
      </element>

      <element name="TCustomGrid.Paint">
        <short>Draws the edges, borders, and rows in the grid control.</short>
        <descr>
          <p>
            <var>Paint</var> is an overridden method in <var>TCustomGrid</var> used to update and draw the grid control.
          </p>
          <p>
            Values in <var>GridFlags</var> and <var>GCache</var> are examined to determine if a visual change to the columns or the client area for the control is in progress. For either condition, the <var>ResetSizes</var> method is called to handle the visual change(s) and the flag values are removed from GridFlags.
          </p>
          <p>
            Paint calls the inherited method to signal the <var>OnPaint</var> event handler in the ancestor class.
          </p>
          <p>
            If there are no other active updates for the control, methods are called to draw the edges and all visible rows in the control. If a column move operation is in effect, the <var>Canvas</var> is updated to display a drag cursor with the color defined in the grid. Borders for the control are drawn prior to exiting from the method.
          </p>
        </descr>
        <seealso>
          <link id="#lcl.controls.TCustomControl.Paint">TCustomControl.Paint</link>
        </seealso>
      </element>

      <element name="TCustomGrid.PickListItemSelected">
        <short>Signals the OnPickListSelect event handler when a selection is made in a picklist.</short>
        <descr>
          <p>
            Called from the Select method when the text for the cell value is stored.
          </p>
        </descr>
        <seealso/>
      </element>
      <element name="TCustomGrid.PickListItemSelected.Sender">
        <short>Object for the event notification.</short>
      </element>

      <element name="TCustomGrid.PrepareCanvas">
        <short>Prepares the canvas for drawing the cell at the specified location.</short>
        <descr>
          <p>
            <var>PrepareCanvas</var> ensures that the <var>Canvas</var> for the control is properly configured to draw the cell at ACol and ARow using the drawing state specified in <var>AState</var>. Flags in AState and the values from the <var>Options</var>, <var>Enabled</var>, <var>DefaultDrawing</var> and <var>EditorMode</var>  properties determine the <var>Pen</var>, <var>Brush</var>, <var>Font</var>, and <var>TextStyle</var> settings used in the control <var>Canvas</var>.
          </p>
          <p>
            PrepareCanvas is called from <var>ShowCellHintWIndow</var> when truncated cell hints are enabled in the <var>Options</var> for the grid. It is also called from <var>DrawCell</var> before drawing the filled rectangle and grid lines for the cell.
          </p>
        </descr>
        <seealso/>
      </element>
      <element name="TCustomGrid.PrepareCanvas.aCol">
        <short>Column number for the cell.</short>
      </element>
      <element name="TCustomGrid.PrepareCanvas.aRow">
        <short>Row number for the cell.</short>
      </element>
      <element name="TCustomGrid.PrepareCanvas.aState">
        <short>Drawing state applied to the canvas for the specified cell.</short>
      </element>

      <element name="TCustomGrid.PrepareCellHints">
        <short>Prepares the control to display hints for a cell.</short>
        <descr>
          <p>
            <var>PrepareCellHints</var> has an empty implementation in <var>TCustomGrid</var>, and may be overridden or re-implemented in descendent classes (like TCustomDBGrid / TDBGrid).
          </p>
          <p>
            PrepareCellHints is called from the <var>ShowCellHintWIndow</var> method.
          </p>
        </descr>
        <seealso>
          <link id="TCustomGrid.ShowCellHintWIndow"/>
          <link id="#lcl.dbgrids.TCustomDBGrid.PrepareCellHints">TCustomDBGrid.PrepareCellHints</link>
        </seealso>
      </element>
      <element name="TCustomGrid.PrepareCellHints.ACol">
        <short>Column number for the cell.</short>
      </element>
      <element name="TCustomGrid.PrepareCellHints.ARow">
        <short>Row number for the cell.</short>
      </element>

      <element name="TCustomGrid.ResetDefaultColWidths">
        <short>Restores the default width for columns in the grid.</short>
        <descr>
          <p>
            <var>ResetDefaultColWidths</var> updates an internal member with the list of column widths currently in use for the grid. The width for each column is set to <b>-1</b> to indicate that an explicit value has not been assigned for the column width.
          </p>
          <p>
            ResetDefaultColWidths calls the <var>VisualChange</var> method after resetting the column widths to their default values. No actions are performed in the method when <var>AutoFillColumns</var> contains <b>True</b>.
          </p>
        </descr>
        <seealso>
          <link id="TCustomGrid.VisualChange"/>
          <link id="TCustomGrid.AutoFillColumns"/>
        </seealso>
      </element>

      <element name="TCustomGrid.ResetEditor">
        <short>Resets the value in the cell Editor, and optionally re-displays and selects it content.</short>
        <descr>
          <p>
            <var>ResetEditor</var> is a procedure used to reset the value in the cell Editor to the stored content for  the current cell in the grid control.
          </p>
          <p>
            ResetEditor calls <var>EditorGetValue</var> to retrieve the value for the current cell and to perform validation using the <var>OnValidateEntry</var> event handler (when assigned). If the column allows editing and <var>goAlwaysShowEditor</var> has been included in the <var>Options</var> for the grid, the <var>EditorShow</var> method is called to re-display the cell Editor and re-select all of the cell content.
          </p>
          <p>
            ResetEditor is called from the <var>DoExit</var> method when the grid control receives the <var>CM_EXIT</var> control message.
          </p>
        </descr>
        <seealso/>
      </element>

      <element name="TCustomGrid.ResetLastMove">
        <short>Resets the member used to track the last row or column movement.</short>
        <descr/>
        <seealso/>
      </element>

      <element name="TCustomGrid.ResetOffset">
        <short>Resets the offset, checking columns and rows if needed.</short>
        <descr/>
        <seealso/>
      </element>
      <element name="TCustomGrid.ResetOffset.chkCol">
        <short/>
      </element>
      <element name="TCustomGrid.ResetOffset.ChkRow">
        <short/>
      </element>

      <element name="TCustomGrid.ResetSizes">
        <short>Resets the internal column sizes.</short>
        <descr>
          <p>
            No actions are performed in the method when the internal list of column sizes has not been allocated, during component streaming, or when the handle has not been allocated for the grid control.
          </p>
          <p>
            Calls UpdateCachedSizes to recalculate the cached grid information in GCache. Calls CacheVisibleGrid to cache the current visible grid (excluding fixed cells).
          </p>
          <p>
            Called from the Paint method when the client width or height has changed for the control.
          </p>
        </descr>
        <seealso/>
      </element>

      <element name="TCustomGrid.ResizeColumn">
        <short>Resizes the specified column number to the given width.</short>
        <descr>
          <p>
            <var>ResizeColumn</var> is a method used to set the width for the column number specified in <var>ACol</var> to to the value in <var>AWidth</var>.
          </p>
          <p>
            ResizeColumn ensures that the value in AWidth is at least <b>0</b> (<b>zero</b>). A negative column size is invalid. The value in AWidth is stored to the <var>ColWidths</var> property at the index position in ACol.
          </p>
          <p>
            Use <var>ResizeRow</var> or <var>RowHeights</var> to change the height for a specific row in the grid control.
          </p>
        </descr>
        <seealso/>
      </element>
      <element name="TCustomGrid.ResizeColumn.aCol">
        <short>Column number resized in the method.</short>
      </element>
      <element name="TCustomGrid.ResizeColumn.aWidth">
        <short>New width for the column.</short>
      </element>

      <element name="TCustomGrid.ResizeRow">
        <short>Resizes the specified row number to the given height.</short>
        <descr/>
        <seealso/>
      </element>
      <element name="TCustomGrid.ResizeRow.aRow">
        <short>Row number resized in the method.</short>
      </element>
      <element name="TCustomGrid.ResizeRow.aHeight">
        <short>New height for the row.</short>
      </element>

      <element name="TCustomGrid.RowHeightsChanged">
        <short>Performs actions needed when the values in RowHeights have been changed.</short>
        <descr/>
        <seealso/>
      </element>

      <element name="TCustomGrid.SaveContent">
        <short> Saves design-time configuration, column, and row settings to an XML file.</short>
        <descr/>
        <seealso/>
      </element>
      <element name="TCustomGrid.SaveContent.cfg">
        <short>TXMLConfig instance where the content is stored.</short>
      </element>

      <element name="TCustomGrid.SaveGridOptions">
        <short>Saves grid options to the specified XML configuration file.</short>
        <descr>
          <p>
            Stores <var>TGridOption</var> and <var>TGridOption2</var> enumeration values found in the <var>Options</var> and <var>Options2</var> properties to the XML configuration file specified in <var>cfg</var>. Used in the implementation of the <var>SaveContent</var> method.
          </p>
          <p>
            Use <var>LoadContent</var> to load option settings into the current grid class instance.
          </p>
        </descr>
        <seealso>
          <link id="TGridOption"/>
          <link id="TGridOption2"/>
          <link id="TCustomGrid.Options"/>
          <link id="TCustomGrid.Options2"/>
          <link id="TCustomGrid.SaveContent"/>
          <link id="TCustomGrid.LoadContent"/>
        </seealso>
      </element>
      <element name="TCustomGrid.SaveGridOptions.cfg">
        <short>XML configuration file where values are stored.</short>
      </element>

      <element name="TCustomGrid.ScrollBarRange">
        <short>Sets  the range for the specified scrollbar.</short>
        <descr/>
        <seealso/>
      </element>
      <element name="TCustomGrid.ScrollBarRange.Which">
        <short/>
      </element>
      <element name="TCustomGrid.ScrollBarRange.aRange">
        <short/>
      </element>
      <element name="TCustomGrid.ScrollBarRange.aPage">
        <short/>
      </element>

      <element name="TCustomGrid.ScrollBarPosition">
        <short>Sets the position for the specified scrollbar to the given value.</short>
        <descr>
          <p>
            <var>ScrollBarPosition</var> is a method used to set position for the scrollbar specified in <var>Which</var> to the new <var>Value</var>.
          </p>
          <p>
            Which contains either SB_Horz or SB_Vert, and identifies the scrollbar affected in the method.
          </p>
          <p>
            Value contains the new position for the scrollbar.
          </p>
          <p>
            ScrollBarPosition uses the SetScrollInfo routine to update the scrollbar position. It allocates the TScrollInfo structure and stores Value as the scrollbar position in the structure.
          </p>
          <p>
            ScrollBarPosition calls ScrollBarIsVisible to determine if the scrollbar in Which is visible. The visibility is used when calling SetScrollInfo.
          </p>
          <p>
            No actions are performed in the method if the Handle has not been allocated for the grid control.
          </p>
        </descr>
        <seealso>
          <link id="TCustomGrid.ScrollBarPage"/>
          <link id="TCustomGrid.ScrollBarRange"/>
        </seealso>
      </element>
      <element name="TCustomGrid.ScrollBarPosition.Which">
        <short>Scrollbar updated in the method.</short>
      </element>
      <element name="TCustomGrid.ScrollBarPosition.Value">
        <short>New position for the scrollbar.</short>
      </element>

      <element name="TCustomGrid.ScrollBarIsVisible">
        <short>Returns True if the specified scrollbar is visible.</short>
        <descr/>
        <seealso/>
      </element>
      <element name="TCustomGrid.ScrollBarIsVisible.Result">
        <short/>
      </element>
      <element name="TCustomGrid.ScrollBarIsVisible.Which">
        <short/>
      </element>

      <element name="TCustomGrid.ScrollBarPage">
        <short>Performs a page movement of the specified scrollbar.</short>
        <descr/>
        <seealso/>
      </element>
      <element name="TCustomGrid.ScrollBarPage.Which">
        <short/>
      </element>
      <element name="TCustomGrid.ScrollBarPage.aPage">
        <short/>
      </element>

      <element name="TCustomGrid.ScrollBarShow">
        <short>ScrollBarShow method.</short>
        <descr>
          <p>
            <var>ScrollBarShow</var> is a procedure used to control the visibility of scrollbars in the grid.
          </p>
          <p>
            <var>Which</var> is an <var>Integer</var> argument that specifies the scrollbar(s) affected in the method, and can include the following constant values:
          </p>
          <dl>
            <dt>SB_HORZ</dt>
            <dd>Horizontal scrollbar</dd>
            <dt>SB_VERT</dt>
            <dd>Vertical scrollbar</dd>
            <dt>SB_BOTH</dt>
            <dd>Both horizontal and vertical scrollbars</dd>
          </dl>
          <p>
            <var>aValue</var> is a <var>Boolean</var> argument that indicates if the specified scrollbar(s) are visible or hidden. When aValue contains <b>True</b>, the corresponding scrollbar(s) are displayed. Otherwise, they are hidden.
          </p>
          <p>
            No actions are performed in the method if a handle has not been allocated for the grid  (<var>HandleAllocated</var> returns <b>False</b>). ScrollBarShow ensures that <var>gfUpdatingScrollbar</var> is included in the grid flags prior to calling the <var>ShowScrollBar</var> routine in the LCL interface. The flag value is removed immediately after updating the scrollbar display. Internal members used to track scrollbar visibility are set to the state requested in AValue.
          </p>
        </descr>
        <seealso>
          <link id="TGridFlags"/>
          <link id="TGridFlagsOption"/>
          <link id="#lcl.controls.TWinControl.HandleAllocated">TWinControl.HandleAllocated</link>
          <link id="#lcl.lclintf.ShowScrollBar">ShowScrollBar</link>
        </seealso>
      </element>
      <element name="TCustomGrid.ScrollBarShow.Which">
        <short>Scrollbar(s) affected in the method.</short>
      </element>
      <element name="TCustomGrid.ScrollBarShow.aValue">
        <short>True indicates the scrollbar(s) are visible.</short>
      </element>

      <element name="TCustomGrid.ScrollBarAutomatic">
        <short>
          Indicates whether an automatic scroll bar of the given type is used on the grid control.
        </short>
        <descr>
          <p>
            Translates the value in Which to the automatic equivalent (ssAutoVertical, ssAutoHorizontal, ssAutoBoth), and checks the ScrollBars property for the value(s).
          </p>
        </descr>
        <seealso>
          <link id="TCustomGrid.ScrollBars"/>
          <link id="#lcl.stdctrls.TScrollStyle">TScrollStyle</link>
        </seealso>
      </element>
      <element name="TCustomGrid.ScrollBarAutomatic.Result">
        <short>True if an automatic scroll bar is used for the specified type.</short>
      </element>
      <element name="TCustomGrid.ScrollBarAutomatic.Which">
        <short>Scroll bar type (ssHorizontal or ssVertical) checked in the method.</short>
      </element>

      <element name="TCustomGrid.ScrollBy">
        <short>Scrolls the non-fixed area for the control by the specified delta values.</short>
        <descr>
          <p>
            Calls ScrollWindowEx to perform the scrolling operation for the non-fixed client area in the control. No scrolling is performed when both DeltaX and DeltaY contain 0 (zero).
          </p>
          <p>
            Updates the visible grid area in the cached information for the control, and recalculates the scrollbar ranges.
          </p>
        </descr>
        <seealso>
          <link id="#lcl.controls.TWinControl.ScrollBy">TWinControl.ScrollBy</link>
        </seealso>
      </element>
      <element name="TCustomGrid.ScrollBy.DeltaX">
        <short/>
      </element>
      <element name="TCustomGrid.ScrollBy.DeltaY">
        <short/>
      </element>

      <element name="TCustomGrid.SelectEditor">
        <short>Gets the cell editor for the current cell, and sets its PopupMenu.</short>
        <descr>
          <p>
            Calls <var>GetDefaultEditor</var> to retrieve the default <var>Editor</var> used for the column where the current cell is located (<var>Col</var>).
          </p>
          <p>
            In situations where the current cell is not selectable in the grid, when <var>FixedGrid</var> is <b>True</b> as an example, the default cell Editor is set to <b>Nil</b>. The <var>OnSelectEditor</var> event handler is signalled (when assigned) to determine if a cell Editor (or none) is available for the editable column.
          </p>
          <p>
            If an Editor has been assigned,  but does not have a PopupMenu, the <var>PopupMenu</var> for the grid control is used in the Editor.
          </p>
          <p>
            SelectEditor is called when <var>goEditing</var> is included in the <var>Options</var> for the grid control. It is also called when Options is configured to always display cell editors (<var>goAlwaysShowEditor</var>), and an editable non-fixed cell is selected in the <var>MouseDown</var> method. Similarly, it is called from <var>MouseUp</var> when a mouse click selects a new editable cell in the grid control.
          </p>
        </descr>
        <seealso/>
      </element>

      <element name="TCustomGrid.SelectCell">
        <short>Determines whether the specified cell can be selected in the grid control.</short>
        <descr>
          <p>
            <var>SelectCell</var> is a <var>Boolean</var> function used to determine whether the cell specified in <var>ACol</var> and <var>ARow</var> can be selected in the grid control. The return value is <b>True</b> when both <var>ColWidths</var> and <var>RowHeights</var> have positive non-zero values for the column and row numbers where the cell is located.
          </p>
          <p>
            SelectCell is used in the implementation of methods like <var>TryMoveSelection</var>, <var>CheckPosition</var>, <var>SelectEditor</var>, and <var>GetDeltaMoveNext</var>. It is overridden in <var>TCustomDrawGrid</var> to signal the <var>OnSelectCell</var> event handler (when assigned).
          </p>
          <p>
            Component developers may use the <var>SelectCell</var> method to react to focus changes. The <var>Result</var> is true if the cell can be selected.
          </p>
        </descr>
      </element>
      <element name="TCustomGrid.SelectCell.Result">
        <short>True when the cell can be selected in the grid control.</short>
      </element>
      <element name="TCustomGrid.SelectCell.ACol">
        <short>Column number for the cell.</short>
      </element>
      <element name="TCustomGrid.SelectCell.ARow">
        <short>Row number for the cell.</short>
      </element>

      <element name="TCustomGrid.SetCanvasFont">
        <short>Sets the Canvas font to the specified value.</short>
        <descr>
          <p>
            <var>SetCanvasFont</var> is used to assign the <var>TFont</var> instance in <var>AFont</var> to the <var>Canvas</var> for the grid control.
          </p>
          <p>
            Different fonts can be used to render the title in fixed headers and the data in the cells. The font used determined (and assigned) when the PrepareCanvas method configures the Canvas to draw cells in the grid. SetCanvasFont ensures that new font is stored in an internal member when the font is assigned to the Canvas.
          </p>
        </descr>
        <seealso/>
      </element>
      <element name="TCustomGrid.SetCanvasFont.aFont">
        <short>Font applied to the canvas for the grid.</short>
      </element>

      <element name="TCustomGrid.SetColCount">
        <short>Sets the value in the ColCount property.</short>
        <descr/>
        <seealso>
          <link id="TCustomGrid.ColCount"/>
        </seealso>
      </element>
      <element name="TCustomGrid.SetColCount.AValue">
        <short>New value for the property.</short>
      </element>

      <element name="TCustomGrid.SetColor">
        <short>Sets the value in the Color property.</short>
        <descr/>
        <seealso>
          <link id="#lcl.controls.TControl.Color">TControl.Color</link>
        </seealso>
      </element>
      <element name="TCustomGrid.SetColor.Value">
        <short>New value for the property.</short>
      </element>

      <element name="TCustomGrid.SetColRow">
        <short>Makes the specified column and row the selected cell in the grid.</short>
        <descr/>
        <seealso/>
      </element>
      <element name="TCustomGrid.SetColRow.ACol">
        <short>Column number for the selected cell.</short>
      </element>
      <element name="TCustomGrid.SetColRow.ARow">
        <short>Row number for the selected cell.</short>
      </element>

      <element name="TCustomGrid.SetCursor">
        <short>Changes the cursor shape in the grid to the specified value.</short>
        <descr>
          <p>
            <var>SetCursor</var> is an overridden method in <var>TCustomGrid</var>. SetCursor calls the inherited method to perform the <var>CM_CURSORCHANGED</var> message for the control, and calls <var>ChangeCursor</var> to save the previous Cursor and apply the shape in <var>AShape</var> to the <var>Cursor</var> property.
          </p>
        </descr>
        <seealso>
          <link id="TCustomGrid.CursorState"/>
          <link id="TCustomGrid.ColSizingCursor"/>
          <link id="TCustomGrid.RowSizingCursor"/>
        </seealso>
      </element>
      <element name="TCustomGrid.SetCursor.AValue">
        <short>Cursor shape used for the mouse pointer in the grid.</short>
      </element>

      <element name="TCustomGrid.SetEditText">
        <short>Sets the value used in the cell Editor to the specified text.</short>
        <descr>
          <p>
            Sets the the text displayed in the <var>Editor</var> for the cell at the position specified in <var>ACol</var> and <var>ARow</var> to the given value.
          </p>
          <p>
            <var>SetEditText</var> has an empty implementation in <var>TCustomGrid</var>. It is overridden in <var>TCustomDrawGrid</var> to signal the <var>OnSetEditText</var> event handler (when assigned).
          </p>
          <p>
            SetEditText is used in <var>KeyDown</var> when the <b>Escape</b> key (<b>VK_ESCAPE</b>) is not handled by the grid control. It is called from the <var>EditorGetValue</var> method when a visible cell Editor is updated. It is called from <var>EditorTextChanged</var> method when the value in a cell Editor has been altered using the <var>Change</var> or <var>Select</var> methods in the editor control.
          </p>
        </descr>
        <seealso/>
      </element>
      <element name="TCustomGrid.SetEditText.ACol">
        <short>Column number for the editor value.</short>
      </element>
      <element name="TCustomGrid.SetEditText.ARow">
        <short>Row number for the editor value.</short>
      </element>
      <element name="TCustomGrid.SetEditText.Value">
        <short>New value for the cell Editor.</short>
      </element>

      <element name="TCustomGrid.SetBorderStyle">
        <short>Sets the value for the BorderStyle property.</short>
        <descr/>
        <seealso>
          <link id="TCustomGrid.BorderStyle"/>
        </seealso>
      </element>
      <element name="TCustomGrid.SetBorderStyle.NewStyle">
        <short>New value for the property.</short>
      </element>

      <element name="TCustomGrid.SetFixedColor">
        <short>Sets the value for the FixedColor property.</short>
        <descr/>
        <seealso>
          <link id="TCustomGrid.FixedColor"/>
        </seealso>
      </element>
      <element name="TCustomGrid.SetFixedColor.AValue">
        <short>New value for the property.</short>
      </element>

      <element name="TCustomGrid.SetFixedCols">
        <short>Sets the value for the FixedCols property.</short>
        <descr/>
        <seealso>
          <link id="TCustomGrid.FixedCols"/>
        </seealso>
      </element>
      <element name="TCustomGrid.SetFixedCols.AValue">
        <short>New value for the property.</short>
      </element>

      <element name="TCustomGrid.SetFixedRows">
        <short>Sets the value for the FixedRows property.</short>
        <descr/>
        <seealso>
          <link id="TCustomGrid.FixedRows"/>
        </seealso>
      </element>
      <element name="TCustomGrid.SetFixedRows.AValue">
        <short>New value for the property.</short>
      </element>

      <element name="TCustomGrid.SetRawColWidths">
        <short>Sets the width for the specified column number in the internal list.</short>
        <descr/>
        <seealso/>
      </element>
      <element name="TCustomGrid.SetRawColWidths.ACol">
        <short>Column number for the specified width.</short>
      </element>
      <element name="TCustomGrid.SetRawColWidths.AValue">
        <short>Width in pixels for the specified column.</short>
      </element>

      <element name="TCustomGrid.SetSelectedColor">
        <short>Sets the value for the SelectedColor property.</short>
        <descr/>
        <seealso>
          <link id="TCustomGrid.SelectedColor"/>
        </seealso>
      </element>
      <element name="TCustomGrid.SetSelectedColor.AValue">
        <short>New value for the property.</short>
      </element>

      <element name="TCustomGrid.ShowCellHintWindow">
        <short>Gets and displays the cell hint(s) for the current cell in the grid.</short>
        <descr>
          <p>
            <var>ShowCellHintWindow</var> is a procedure used to gets the value(s) and display cell hint(s) for the cell located at the screen position in <var>APoint</var>. Values in the <var>Options</var> and <var>CellHintPriority</var> properties determine the text available for use as cell hints.
          </p>
          <p>
            <var>GetCellHintText</var> and <var>GetTruncCellHintText</var> are called to get the corresponding hint text for the options and hint priority. <var>AddToHint</var> is called to apply the derived text to the values displayed in the control using its <var>Hint</var> property. <var>Application.ActivateHint</var> is called to display the hint window.
          </p>
          <p>
            No actions are performed in the method when <var>ShowHints</var> contains <b>False</b>,  when the mouse pointer is not positioned over a grid cell, when <var>EditorMode</var> is <b>True</b>, or at design-time.
          </p>
        </descr>
        <seealso>
          <link id="TCustomGrid.Options"/>
          <link id="TCustomGrid.CellHintPriority"/>
          <link id="TCustomGrid.GetCellHintText"/>
          <link id="TCustomGrid.GetTruncCellHintText"/>
          <link id="TCustomGrid.HideCellHintWindow"/>
        </seealso>
      </element>
      <element name="TCustomGrid.ShowCellHintWindow.APoint">
        <short>Screen coordinates for the mouse pointer.</short>
      </element>

      <element name="TCustomGrid.SizeChanged">
        <short>Performs actions needed when the number or columns or rows has been changed.</short>
        <descr>
          <p>
            <var>SizeChanged</var> has an empty implementation in <var>TCustomGrid</var>. It is overridden in <var>TCustomDrawGrid</var> to perform a notification when the column and/or row count has been changed for the control.
          </p>
        </descr>
        <seealso/>
      </element>
      <element name="TCustomGrid.SizeChanged.OldColCount">
        <short>Previous number of columns.</short>
      </element>
      <element name="TCustomGrid.SizeChanged.OldRowCount">
        <short>Previous number of rows.</short>
      </element>

      <element name="TCustomGrid.Sort">
        <short>Sorts rows or columns in the grid.</short>
        <descr>
          <p>
            <var>Sort</var> is a method used to sort items in the grid. When <var>ColSorting</var> is <b>True</b>, it sorts the items in a column. Otherwise, it sorts a row. The three index values specify the items to be sorted.
          </p>
        </descr>
        <seealso/>
      </element>
      <element name="TCustomGrid.Sort.ColSorting">
        <short>Indicates if the sort is performed for a column or a row.</short>
      </element>
      <element name="TCustomGrid.Sort.Index">
        <short/>
      </element>
      <element name="TCustomGrid.Sort.IndxFrom">
        <short/>
      </element>
      <element name="TCustomGrid.Sort.IndxTo">
        <short/>
      </element>

      <element name="TCustomGrid.StartPushCell">
        <short>Starts an operation to render a cell in its "pushed" state.</short>
        <descr>
          <p>
            StartPushCell updates the GridState property to the value gsButtonColumnClicking, and calls the DoPushCell method to cache and redraw the clicked cell.
          </p>
          <p>
            StartPushCell is called from the MouseDown method when a mouse click has occurred over a cell using a button-style Editor in the non-fixed area for the grid control.
          </p>
        </descr>
        <seealso/>
      </element>

      <element name="TCustomGrid.TopLeftChanged">
        <short>Signals the OnTopLeftChanged event handler (when assigned) at run-time.</short>
        <descr>
          <p>
            TopLeftChanged occurs when the origin for the scrollable area in the control has been changed.
          </p>
          <p>
            <var>TopLeftChanged</var> is called from methods like <var>TrySmoothScrollBy</var>, <var>UpdateCachedSizes</var>, and <var>FixPosition</var>. It is also called when the <var>AutoFillColumns</var> property is set to <b>True</b>.
          </p>
        </descr>
        <seealso/>
      </element>

      <element name="TCustomGrid.TryMoveSelection">
        <short>Tries to move the selection by the specified offset; returns True if successful.</short>
        <descr/>
        <seealso/>
      </element>
      <element name="TCustomGrid.TryMoveSelection.Result">
        <short/>
      </element>
      <element name="TCustomGrid.TryMoveSelection.Relative">
        <short/>
      </element>
      <element name="TCustomGrid.TryMoveSelection.DCol">
        <short/>
      </element>
      <element name="TCustomGrid.TryMoveSelection.DRow">
        <short/>
      </element>

      <element name="TCustomGrid.UnLockEditor">
        <short>Decrements the lock count for the cell Editor following a call to LockEditor.</short>
        <descr>
          <p>
            LockEditor and UnlockEditor are used to surround operations where a cell Editor is hidden or the focus is changed as a result of keyboard navigation or a mouse click event.
          </p>
          <p>
            UnlockEditor is called from methods like: MouseDown and EditorHide.
          </p>
        </descr>
        <seealso/>
      </element>

      <element name="TCustomGrid.UnprepareCellHints">
        <short>Re-implemented in descendent classes.</short>
        <descr>
          <p>
            UnprepareCellHints has an empty implementation in TCustomGrid, but it overridden in descendent classes (like TCustomDBGrid / TDBGrid).
          </p>
          <p>
            UnprepareCellHints is called from the ShowCellHintWindow method.
          </p>
        </descr>
        <seealso/>
      </element>

      <element name="TCustomGrid.UpdateHorzScrollBar">
        <short>Updates the horizontal scrollbar to use the specified range, page, and position.</short>
        <descr>
          <p>
            <var>UpdateHorzScrollBar</var> calls <var>ScrollBarShow</var> to updated the scrollbar visibility when it differs from the value in <var>aVisible</var>. The <var>ScrollBarRange</var> is called to apply the values in ARange, APage, and APos to the horizontal scrollbar for the control. No actions are performed if the visibility has not been changed and the scrollbar is not visible.
          </p>
          <p>
            UpdateHorzScrollBar is called from the CalcScrollbarsRange method when the visible area in the grid is scrolled.
          </p>
        </descr>
        <seealso/>
      </element>
      <element name="TCustomGrid.UpdateHorzScrollBar.AVisible">
        <short>True if the scrollbar is already visible.</short>
      </element>
      <element name="TCustomGrid.UpdateHorzScrollBar.ARange">
        <short>Maximum position for the scrollbar.</short>
      </element>
      <element name="TCustomGrid.UpdateHorzScrollBar.APage">
        <short>Page size for a thumb tab in the scrollbar.</short>
      </element>
      <element name="TCustomGrid.UpdateHorzScrollBar.APos">
        <short>Position for the scrollbar.</short>
      </element>

      <element name="TCustomGrid.UpdateSelectionRange">
        <short>Updates the selection range when the grid has changed.</short>
        <descr>
          <p>
            <var>UpdateSelectionRange</var> is a method used to update the <var>Selection</var> property with the cell coordinates for the current cell or row in the grid control. UpdateSelectionRange creates a new <var>TRect</var> instance with the cell coordinates representing the current selection in the grid.
          </p>
          <p>
            UpdateSelectionRange uses values in <var>Options</var> to determine whether the rectangle represents a single cell or the current Row. When <var>goRowSelect</var> has been included in Options, the rectangle contains the non-fixed column and last column numbers in the current Row. Otherwise, the rectangle uses the value in Col and Row to represent both the start and end cells for the Selection.
          </p>
          <p>
            UpdateSelectionRange is called from the <var>ClearSelections</var> and <var>FixPosition</var> methods.
          </p>
        </descr>
        <seealso>
          <link id="TCustomGrid.Col"/>
          <link id="TCustomGrid.ColCount"/>
          <link id="TCustomGrid.FixedCols"/>
          <link id="TCustomGrid.Row"/>
        </seealso>
      </element>

      <element name="TCustomGrid.UpdateVertScrollbar">
        <short>Updates the vertical scrollbar to use the specified visibility, range, and page values.</short>
        <descr/>
        <seealso/>
      </element>
      <element name="TCustomGrid.UpdateVertScrollbar.AVisible">
        <short>True if the scrollbar should be visible.</short>
      </element>
      <element name="TCustomGrid.UpdateVertScrollbar.ARange">
        <short/>
      </element>
      <element name="TCustomGrid.UpdateVertScrollbar.APage">
        <short/>
      </element>

      <element name="TCustomGrid.UpdateBorderStyle">
        <short>Updates the border style used for the control.</short>
        <descr>
          <p>
            <var>UpdateBorderStyle</var> is a method used to apply a <var>BorderStyle</var> for the control that is valid for the value in the <var>Flat</var> property. When Flat is set to <b>False</b>, the value in BorderStyle is used. When Flat is <b>True</b>, the value <var>bsNone</var> is always used as the BorderStyle for the control.
          </p>
          <p>
            UpdateBorderStyle calls the inherited <var>SetBorderStyle</var> method to apply the derived value to the BorderStyle property.
          </p>
          <p>
            UpdateBorderStyle calls <var>VisualChange</var> to refresh the control after the change to the property, and validates the Top and Left for the visual area in the grid. These actions are not performed if the <var>Handle</var> has not been allocated for the control, or during LCL component streaming.
          </p>
          <p>
            UpdateBorderStyle is called when the value for the Flat property has been changed.
          </p>
        </descr>
        <seealso>
          <link id="TCustomGrid.Flat"/>
          <link id="TCustomGrid.BorderStyle"/>
          <link id="TCustomGrid.VisualChange"/>
        </seealso>
      </element>

      <element name="TCustomGrid.ValidateEntry">
        <short>Validates the value for the specified cell.</short>
        <descr>
          <p>
            <var>ValidateEntry</var> is a <var>Boolean</var> function used to a validate the value for the cell at the specified <var>Col</var> and <var>Row</var> position.
          </p>
          <p>
            ValidateEntry signals the <var>OnValidateEntry</var> event handler (when assigned) to perform validation for the cell. The return value is <b>True</b> when <var>OnValidateEntry</var> completes successfully, or when the event handler has not been assigned.
          </p>
        </descr>
        <seealso>
          <link id="TCustomGrid.OnValidateEntry"/>
          <link id="TCustomGrid.Col"/>
          <link id="TCustomGrid.Row"/>
        </seealso>
      </element>
      <element name="TCustomGrid.ValidateEntry.Result">
        <short>True when validation completes successfully.</short>
      </element>
      <element name="TCustomGrid.ValidateEntry.ACol">
        <short>Column number for the operation.</short>
      </element>
      <element name="TCustomGrid.ValidateEntry.ARow">
        <short>Row number for the operation.</short>
      </element>
      <element name="TCustomGrid.ValidateEntry.OldValue">
        <short>Value on entry to the method.</short>
      </element>
      <element name="TCustomGrid.ValidateEntry.NewValue">
        <short>Value on exit from the method.</short>
      </element>

      <element name="TCustomGrid.VisualChange">
        <short>Updates the grid after changes to the visual properties in the control.</short>
        <descr>
          <p>
            <var>VisualChange</var> is a procedure used to update the grid when visual aspects of the control have been changed. VisualChange calls <var>UpdateSizes</var> to refresh the size of cells in the grid, and calls <var>Invalidate</var> to force the control to be redrawn.
          </p>
          <p>
            No actions are performed in the method when <var>BeginUpdate</var> has been called to buffer updates to the grid. VisualChange will resume updates when <var>EndUpdate</var> has been called to disable update buffering.
          </p>
        </descr>
        <seealso>
          <link id="TCustomGrid.Invalidate"/>
          <link id="TCustomGrid.BeginUpdate"/>
          <link id="TCustomGrid.EndUpdate"/>
        </seealso>
      </element>

      <element name="TCustomGrid.WMSize">
        <short>Handles a WM_SIZE window message for the control.</short>
        <descr>
          <p>
            Ignores the message when updating scrollbars (gfUpdatingScrollbar in GridFlags). Otherwise, the inherited method is called to handle the window size message.
          </p>
        </descr>
        <seealso>
          <link id="#lcl.controls.TWinControl.WMSize">TWinControl.WMSize</link>
        </seealso>
      </element>
      <element name="TCustomGrid.WMSize.Message">
        <short>Message handled in the method.</short>
      </element>

      <element name="TCustomGrid.WMHScroll">
        <short>Handle the system message for horizontal scrolling.</short>
        <descr/>
        <seealso/>
      </element>
      <element name="TCustomGrid.WMHScroll.message">
        <short/>
      </element>

      <element name="TCustomGrid.WMVScroll">
        <short>Handles the system message for vertical scrolling.</short>
        <descr/>
        <seealso/>
      </element>
      <element name="TCustomGrid.WMVScroll.message">
        <short/>
      </element>

      <element name="TCustomGrid.WMKillFocus" link="#lcl.controls.TWinControl.WMKillFocus"/>
      <element name="TCustomGrid.WMKillFocus.message">
        <short/>
      </element>

      <element name="TCustomGrid.WMSetFocus" link="#lcl.controls.TWinControl.WMSetFocus"/>
      <element name="TCustomGrid.WMSetFocus.message">
        <short/>
      </element>

      <element name="TCustomGrid.WndProc" link="#lcl.controls.TControl.WndProc"/>
      <element name="TCustomGrid.WndProc.TheMessage">
        <short/>
      </element>

      <element name="TCustomGrid.AllowOutboundEvents">
        <short>Allows a mouse click on an out-of-bounds cell; moves cursor to nearest valid cell.</short>
        <descr>
          <p>
            Normally, when a user clicks on a point over the empty space after cells (for example if grid has three rows but user clicks on imaginary fourth row) the current focused cell will move to the nearest cell to clicked point. We call this an outbound event.
          </p>
          <p>
            The default value or the property is <b>True</b>, as this has been the grid's behavior since the beginning.
          </p>
          <p>
            This was added to mimic Delphi behavior where outbound events are not available; to enable Delphi compatibility, set AllowOutboundEvents to <b>False</b>.
          </p>
        </descr>
        <seealso/>
      </element>

      <element name="TCustomGrid.AlternateColor">
        <short>Color used for the background in alternate rows in the grid.</short>
        <descr>
          The color to be used for the background on alternate rows of the grid. Having alternate rows in different colors can make the grid easier to read
        </descr>
        <seealso/>
      </element>

      <element name="TCustomGrid.AutoAdvance">
        <short>Direction used when automatically moving the selection to the next selectable cell.</short>
        <descr>
          <p>
            <var>AutoAdvance</var> is a <var>TAutoAdvance</var> property which indicates the direction of movement applied when the <b>Enter</b> key is pressed to finish editing in an active cell <var>Editor</var>.
          </p>
          <p>
            The default value for the property is <var>aaRight</var>, and indicates the cell selection advances to the right until it reaches the last column in the grid control. Use <var>aaNone</var> to disable the auto-advance feature.
          </p>
          <p>
            For more information about acceptable values and their usage, please refer to <link id="TAutoAdvance">TAutoAdvance</link>.
          </p>
          <p>
            AutoAdvance is used in methods like <var>MoveNextAuto</var> and <var>CheckPosition</var>.
          </p>
          <p>
            Use <var>TabAdvance</var> to control the direction of movement used when the <b>Tab</b> key is pressed.
          </p>
        </descr>
        <seealso>
          <link id="TCustomGrid.TabAdvance"/>
          <link id="TCustomGrid.MoveNextAuto"/>
          <link id="TCustomGrid.CheckPosition"/>
          <link id="TCustomGrid.Editor"/>
          <link id="TAutoAdvance"/>
        </seealso>
      </element>

      <element name="TCustomGrid.AutoEdit">
        <short>Indicates if edit mode is automatically entered when a cell is selected.</short>
        <descr>
          <p>
            <var>AutoEdit</var> is a <var>Boolean</var> property which indicates if edit mode is automatically entered when a cell is selected in the grid control. The default value for the property is True.
          </p>
          <p>
            When AutoEdit is set to True, the cell Editor is automatically displayed when a non-fixed cell is entered using keyboard navigtation or a mouse click. When AutoEdit is set to False, the cell Editor is not displayed until toggled.  Use the F2 or Enter key to activate a cell Editor. Use a second mouse click in the active cell to display the cell Editor.
          </p>
          <p>
            AutoEdit does not allow a cell to be edited if the column definition in the Columns collection is defined as ReadOnly.
          </p>
          <p>
            Use the Options property to enable or disable editing in the grid control using the value goEditing. Use the value goAlwaysShowEditor to always display the cell Editor.
          </p>
        </descr>
        <seealso/>
      </element>

      <element name="TCustomGrid.AutoFillColumns">
        <short>Automatically resizes columns so they fill all of the visible area in the grid.</short>
        <descr>
          <p>
            When this option is turned on, the grid will resize all columns to fill the grid's client width. The resized columns are determined using the following conditions:
          </p>
          <ol>
            <li><var>Fixed Columns</var> are not resized.</li>
            <li>
              If the grid has <var>Custom Columns</var>, all columns with <var>SizePriority</var> set to 0 are not resized.
            </li>
          </ol>
          <p>
            Note that Custom Columns are initially created with SizePriority set to 1. For TDbGrid, which automatically adds <var>Custom Columns</var>, this means the user will not be able to resize these columns using the mouse.
          </p>
        </descr>
        <notes><note>Need to check whether column resizing is also restricted HERE.</note></notes>
      </element>

      <element name="TCustomGrid.BorderStyle">
        <short>
          Drawing style used for the borders on the control.
        </short>
        <descr>
          <p>
            Only a restricted range of values are available in TCustomGrid: a single border or none.
          </p>
        </descr>
        <seealso>
          <link id="#lcl.controls.TWinControl.BorderStyle">TWinControl.BorderStyle</link>
        </seealso>
      </element>

      <element name="TCustomGrid.BorderColor">
        <short>The color used for the border on the control.</short>
        <descr/>
        <seealso/>
      </element>

      <element name="TCustomGrid.CellHintPriority">
        <short>Identifies how text is combined to form the Hint property.</short>
        <descr>
          <p>
            <var>CellHintPriority</var> is a <var>TCellHintPriority</var> that identifies how text is combined to form the Hint property. The default value for the is <var>chpAllNoDefault</var>. See <link id="TCellHintPriority"/> for a description of the enumeration values and their meanings.
          </p>
          <p>
            CellHintPriority is used in the implementation of the <var>ShowCellHintWindow</var>, <var>MouseMove</var>, and <var>GetTruncCellHintText</var> methods.
          </p>
        </descr>
        <seealso>
          <link id="TCellHintPriority"/>
          <link id="TCustomGrid.ShowCellHintWindow"/>
          <link id="TCustomGrid.MouseMove"/>
          <link id="TCustomGrid.GetTruncCellHintText"/>
        </seealso>
      </element>

      <element name="TCustomGrid.Col">
        <short>Column index for the selected grid cell.</short>
        <descr>
          <p>
            <var>Col</var> is an Integer which holds the column index for the current cell or grid cursor. The current grid column can be changed programmatically by setting a new value in this property.
          </p>
          <p>
            Setting a new value for the property causes the limits for the column index to be checked when AllowOutboundEvents is set to False. An exception is raised in the CheckLimitsWithError method when the property value is not a valid column index for the grid control.
          </p>
          <p>
            MoveExtend is called to move the selection to the cell at the coordinates in Row and Col. The cell editor is also retrieved (when available) and is displayed.
          </p>
          <p>
            MoveExtend is called to move the selection to the cell at the coordinates in Row and Col. The cell editor is also retrieved (when available) and is displayed.
          </p>
        </descr>
      </element>

      <element name="TCustomGrid.ColCount">
        <short>Number of columns in the grid.</short>
        <descr>
          <p>
            <var>ColCount</var> is an Integer that represents the number of columns in the grid, including fixed and normal columns. Changing the value in <var>ColCount</var> after <var>Columns</var> have been created causes an <var>EGridException</var> to be raised. Use the <var>Columns</var> collection to add or delete columns defined in the grid.
          </p>
          <p>
            Use <var>FixedCols</var> for the number of fixed columns in the grid.
          </p>
          <p>
            Use <var>VisibleColCount</var> for the number of non-fixed columns in the grid.
          </p>
          <p>
            Use <var>RowCount</var>, <var>FixedRows</var>, and <var>VisibleRowCount</var> to access the row-oriented equivalents.
          </p>
        </descr>
        <errors>
          Raises an <var>EGridException</var> when the value is changed and <var>Columns</var> already exist in the grid.
        </errors>
        <seealso>
          <link id="TCustomGrid.FixedCols"/>
          <link id="TCustomGrid.FixedRows"/>
          <link id="TCustomGrid.Columns"/>
          <link id="TCustomGrid.RowCount"/>
          <link id="TCustomGrid.VisibleColCount"/>
          <link id="TCustomGrid.VisibleRowCount"/>
          <link id="TGridPropertyBackup"/>
          <link id="EGridException"/>
        </seealso>
      </element>

      <element name="TCustomGrid.ColRow">
        <short>Provides access to current column and row numbers as a TPoint instance.</short>
        <descr>
          <p>
            <var>ColRow</var> is a <var>TPoint</var> property used to provide access to the current values at the position specified in Col and Row. The <var>X</var> member in TPoint is used for the value in the <var>Col</var> property. The <var>Y</var> member in TPoint is used for the value in the <var>Row</var> property.
          </p>
          <p>
            Setting the value for the causes the <var>CheckLimitsWithError</var> method to be called for the X and Y values when <var>AllowOutboundEvents</var> is <b>False</b>. The <var>SetColRow</var> method is called to update the values in the Col and Row properties.
          </p>
        </descr>
        <seealso>
          <link id="TCustomGrid.CheckLimitsWithError"/>
          <link id="TCustomGrid.SetColRow"/>
          <link id="TCustomGrid.AllowOutboundEvents"/>
        </seealso>
      </element>

      <element name="TCustomGrid.ColRowDraggingCursor">
        <short>Cursor shape displayed when a column is dragged.</short>
        <descr/>
        <seealso/>
      </element>

      <element name="TCustomGrid.ColRowDragIndicatorColor">
        <short>Color used to render the drag cursor when a column or row is dragged in the grid.</short>
        <descr/>
        <seealso/>
      </element>

      <element name="TCustomGrid.ColSizingCursor">
        <short>Cursor shape displayed when a column is resized.</short>
        <descr/>
        <seealso/>
      </element>

      <element name="TCustomGrid.ColumnClickSorts">
        <short>Indicates if clicking a column header changes its sort order.</short>
        <descr>
          <p>
            <var>ColumnClickSorts</var> is a <var>Boolean</var> used to indicate if clicking a column header changes its sort order. The default value for the is <b>False</b>.
          </p>
          <p>
            ColumnClickSorts is used in the <var>HeaderClick</var> method to determine if the value in the <var>SortOrder</var> is toggled for a click in the header cell for SortColumn.
          </p>
        </descr>
        <seealso>
          <link id="TCustomGrid.HeaderClick"/>
          <link id="TCustomGrid.SortColumn"/>
          <link id="TCustomGrid.SortOrder"/>
        </seealso>
      </element>

      <element name="TCustomGrid.Columns">
        <short>Definitions for the columns in the grid.</short>
        <descr>
          <p>
            <var>Columns</var> is a <var>TGridColumns</var> used to represent column definitions for the grid control. Columns contains the <var>TGridColumn</var> instances which define the attributes for the column such as its Font, Color, Alignment, Layout, Editor style, auto-sizing priority, et. al. Properties and methods in Columns can be used at run-time to access and maintain the column definitions for the grid.
          </p>
          <p>
            See <link id="TGridColumn">TGridColumn</link> for more information about the items stored in the collection.
          </p>
          <p>
            Columns should not be confused with the <i>COLUMNS</i> construct frequently used in <i>SQL</i> programming, which refer to <var>Fields</var> of data. The contents of Fields can be displayed as Columns in a Grid, but they must be seen as separate and distinct. It is irrelevant to refer to the color, font or width of a data field from a database, but these are all very relevant in specifying the appearance of a column in a grid.
          </p>
        </descr>
        <seealso>
          <link id="TGridColumns"/>
          <link id="TGridColumn"/>
        </seealso>
      </element>

      <element name="TCustomGrid.ColWidths">
        <short>Provides indexed access to the Width of the column in the grid.</short>
        <descr>
          <p>
            The column is specified with the <var>aCol</var> parameter. The <var>aCol</var> parameter must fall within the valid index range of 0 to <link id="TCustomGrid.ColCount">ColCount</link>-1.
          </p>
          <p>
            The property value is the width of the specified column in pixels.
          </p>
          <p>
            The initial width for a newly created column is specified with the <link id="TCustomGrid.DefaultColWidth">DefaultColWidth</link> property.
          </p>
          <p>
            If the <link id="TCustomGrid.Options">Options</link> property includes the value <var>goColSizing</var>, the column width may also be changed by the user at run-time.
          </p>
        </descr>
        <seealso>
          <link id="TCustomGrid.ColCount"/>
          <link id="TCustomGrid.DefaultColWidth"/>
          <link id="TCustomGrid.RowHeights"/>
          <link id="TCustomGrid.Options"/>
          <link id="TGridOption"/>
        </seealso>
      </element>
      <element name="TCustomGrid.ColWidths.aCol">
        <short/>
      </element>

      <element name="TCustomGrid.DefaultColWidth">
        <short>Default width used for newly created grid columns.</short>
        <descr>
          <p>
            If new columns of the grid are created by changing the <link id="TCustomGrid.ColCount">ColCount</link> property, the width of these new columns will be set to the value of the <i>DefaultColWidth</i> property.
          </p>
          <p>
            Use 0 for an auto-sized column width.
          </p>
          <p>
            Use GetRealDefaultColWidth for the real value.
          </p>
        </descr>
        <seealso>
          <link id="TCustomGrid.DefaultRowHeight"/>
        </seealso>
      </element>

      <element name="TCustomGrid.DefaultRowHeight">
        <short>Default row height for newly created grid rows.</short>
        <descr>
          <p>
            If new rows of the grid are created by changing the <link id="TCustomGrid.RowCount">RowCount</link> property, the height of these new rows will be set to the value of the <i>DefaultRowHeight</i>  property.
          </p>
          <p>
            Use 0 for auto-sized row heights.
          </p>
          <p>
            Use GetRealDefaultRowHeight for the real value.
          </p>
        </descr>
        <seealso>
          <link id="TCustomGrid.DefaultColWidth"/>
        </seealso>
      </element>

      <element name="TCustomGrid.DefaultDrawing">
        <short>Indicates if the default drawing mechanism is used to draw the background for cells.</short>
        <descr>
          <p>
            <var>DefaultDrawing</var> is a <var>Boolean</var> property which indicates if the default drawing mechanism is used to draw the background for cells. The default value for the property is <b>True</b>.
          </p>
          <p>
            Normally, the grid prepares its canvas using the properties needed for the kind cell type that is being painted. DefaultDrawing indicates that the grid control handles drawing the background for the cell (including a visible cell <var>Editor</var>) using the relevant properties.
          </p>
          <p>
            Use the <var>OnDrawCell</var> event handler to handle drawing the value for the cell. Set DefaultDrawing to <b>False</b> when the OnDrawCell event handler is responsible for both the background and content in the cell.
          </p>
          <p>
            Changing the value for the property causes the <var>Invalidate</var> method to be called to redraw the control.
          </p>
          <p>
            DefaultDrawing is used in the PrepareCanvas method to configure the control Canvas for a drawing operation.
          </p>
        </descr>
        <seealso/>
      </element>

      <element name="TCustomGrid.DefaultTextStyle">
        <short>Default style used to display text; includes alignment, layout, and wrapping.</short>
        <descr/>
        <seealso/>
      </element>

      <element name="TCustomGrid.DisabledFontColor">
        <short>Color used to draw text in the grid when Enabled is set to False.</short>
        <descr/>
        <seealso/>
      </element>

      <element name="TCustomGrid.DragDx">
        <short>The amount (DeltaX) by which an object should be dragged.</short>
        <descr/>
        <seealso/>
      </element>

      <element name="TCustomGrid.Editor">
        <short>The editor used to modify the value in the current cell.</short>
        <descr>
          <p>
            <var>Editor</var> is a <var>TWinControl</var> descendant which contains the control used to edit the value in the current cell for the grid control.
          </p>
          <p>
            There are several editor styles available for columns in the grid control: String, Button, Composite, and Pick List. Button editors display a button that can be clicked to perform actions which determine the value for the cell. A composite editor uses an editor for the string value and a button for additional actions. A pick list editor allows selection of oneof the predetermined values for the cell. The String editor is essentially a TEdit control, and is the default editor style used in the grid control.
          </p>
          <p>
            The Editor style is determined either by examing values in the column definition stored in the Columns property, or using the OnSelectEditor event handler. OnSelectEditor is signalled  when Columns has not been Enabled in the grid.
          </p>
          <p>
            Editor display behavior is controlled by properties like Options and AutoEdit.
          </p>
          <p>
            Options can be used to enabled / disabled cell editor features using the following:
          </p>
          <dl>
            <dt>goEditing</dt>
            <dd>Cell editing is allowed for the grid control. Omit to disable cell editing.</dd>
            <dt>goAlwaysShowEditor</dt>
            <dd>
              The cell editor for the current cell is always displayed. Omit to disable. The cell editor can be toggled using F2, Enter, or a mouse click in the current cell.
            </dd>
          </dl>
          <p>
            The AutoEdit property determines whether a cell is automatically placed in edit mode as soon as  it is selected. This is basically the same as including goAlwaysShowEditor in the Options property.
          </p>
        </descr>
        <seealso/>
      </element>

      <element name="TCustomGrid.EditorBorderStyle">
        <short>The border style for the Editor control.</short>
        <descr/>
        <seealso/>
      </element>

      <element name="TCustomGrid.EditorMode">
        <short>True when the Editor is ready to modify the value for the current cell.</short>
        <descr>
          <p>
            <var>EditorMode</var> is a <var>Boolean</var> property which indicates whether the cell <var>Editor</var> has been enabled for the grid control. Set EditorMode to <b>True</b> to display the cell Editor for the control. Set it to <b>False</b> to hide the cell Editor.
          </p>
          <p>
            The value in EditorMode is updated when handling key presses and mouse clicks, scrolling the visible area for the control, or changing the configration of the grid.
          </p>
        </descr>
        <seealso>
          <link id="TCustomGrid.EditorMode"/>
          <link id="TCustomGrid.EditorShow"/>
          <link id="TCustomGrid.EditorHide"/>
          <link id="TCustomGrid.ColCount"/>
          <link id="TCustomGrid.RowCount"/>
          <link id="TCustomGrid.FixedCols"/>
          <link id="TCustomGrid.FixedRows"/>
          <link id="TCustomGrid.KeyPress"/>
          <link id="TCustomGrid.ClearCols"/>
          <link id="TCustomGrid.Clear"/>
          <link id="TCustomGrid.ClearRows"/>
          <link id="TCustomGrid.DefaultColWidth"/>
          <link id="TCustomGrid.DefaultRowHeight"/>
          <link id="TCustomGrid.ShowCellHintWindow"/>
          <link id="TCustomGrid.PrepareCanvas"/>
          <link id="TCustomGrid.DrawRow"/>
          <link id="TCustomDrawGrid.OnMouseWheel"/>
        </seealso>
      </element>

      <element name="TCustomGrid.EditorKey">
        <short>Indicates if the last key event was triggered by the cell Editor for the grid control.</short>
        <descr>
          <p>
            <var>EditorKey</var> is a <var>Boolean</var> property which indicates if the last key event was generated by the cell <var>Editor</var> for the grid control. The property value is updated in the OnKeyDown, OnKeyPress, and OnKeyUp event handlers used in the Editor control. Its value is used in method like KeyDown, KeyPress, and KeyUp to determine whether a given key needs to be applied / handled for the grid control.
          </p>
        </descr>
        <seealso>
          <link id="TCustomGrid.Editor"/>
          <link id="TCustomGrid.KeyDown"/>
          <link id="TCustomGrid.KeyPress"/>
          <link id="TCustomGrid.KeyUp"/>
        </seealso>
      </element>

      <element name="TCustomGrid.EditorOptions">
        <short>The option flags sent to the Editor control in the grid.</short>
        <descr>
          <p>
            EO_HOOKKEYDOWN enables the OnKeyDown event handler in the editor control.
            EO_HOOKKEYPRESS enables the OnKeyPress event handler in the editor control.
            EO_HOOKKEYUP enables the OnKeyUp event handler in the editor control.
          </p>
        </descr>
        <seealso/>
      </element>

      <element name="TCustomGrid.EditorShowing">
        <short>True when the cell Editor for the grid control has been displayed.</short>
        <descr>
          <p>
            <var>EditorShowing</var> is a <var>Boolean</var> property which indicates if the cell Editor for the control has been displayed. The property value is updated in methods like EditorShow and EditorHide when the visibility for the Editor control is changed.
          </p>
          <p>
            The property value is used in several methods which handle key events, mouse clicks, and focus changes in the control.
          </p>
        </descr>
        <seealso/>
      </element>

      <element name="TCustomGrid.ExtendedColSizing">
        <short>Indicates if extended column sizing is enabled in the grid.</short>
        <descr/>
        <seealso/>
      </element>

      <element name="TCustomGrid.ExtendedRowSizing">
        <short>Indicates if extended row sizing is enabled for rows in the grid.</short>
        <descr>
          <p>
            ExtendedRowSizing is a Boolean property which indicates if extended row sizing is enabled for the grid control.
          </p>
          <remark>
            ExtendedRowSizing is not maintained in any methods in the class implementation. It is used in DoRowSizing only.
          </remark>
        </descr>
        <seealso/>
      </element>

      <element name="TCustomGrid.ExtendedSelect">
        <short>Indicates whether a selection can extend beyond the visible boundary for he grid.</short>
        <descr/>
        <seealso/>
      </element>

      <element name="TCustomGrid.FastEditing">
        <short>Indicates if "Fast Editing" is enabled in the grid.</short>
        <descr>
          <p>
            <var>FastEditing</var> is a <var>Boolean</var> property which indicates if cell editing initialized by a KeyDown message instead of a navigation key is used in the grid control. The value in FastEditing is used when a TPickListCellEditor handles KeyDown messages.
          </p>
          <p>
            The default value for the property is <b>True</b> as assigned in the <var>Create</var> constructor.
          </p>
        </descr>
        <seealso>
          <link id="TPickListCellEditor.KeyDown"/>
        </seealso>
      </element>

      <element name="TCustomGrid.AltColorStartNormal">
        <short>Indicates if alternate row coloring starts with the normal row color.</short>
        <descr>
          <p>
            <var>AltColorStartNormal</var> - using a second color to display alternate rows, but starting the first row with the normal color.
          </p>
          <p>
            Using a different color for the background of alternate rows often makes the data in a grid much easier to read.
          </p>
        </descr>
        <seealso/>
      </element>

      <element name="TCustomGrid.FixedCols">
        <short>The number of fixed columns in the grid.</short>
        <descr>
          <p>
            Contains the fixed column count for the grid. A fixed row with fixed columns is normally used to display the headings (titles), images, and sort indicators for the columns in the grid control. The fixed row containing the fixed columns is not scrolled along with the visible area for grid.
          </p>
          <p>
            Setting a new value for the property causes several actions to be performed for the grid control.
          </p>
          <ul>
            <li>
              The values in FixedCols and FixedRows are verified by calling CheckFixedCount, which can raise an exception if an error condition is detected.
            </li>
            <li>
              EditorMode is set to False to hide a visible cell Editor for the control.
            </li>
            <li>
              When Columns has been Enabled, UpdateSelectionRange is called to refresh the selection range for  the control. ColumnsChanged is called to apply the visual change in the control. If Columns has not been Enabled, MoveNextSelectable and UpdateSelectionRange are called to refresh the grid control.
            </li>
          </ul>
          <p>
            Use FixedRows to get or set the number of fixed rows displayed for the grid control.
          </p>
        </descr>
        <seealso>
          <link id="TCustomGrid.FixedRows"/>
          <link id="TCustomGrid.ColCount"/>
        </seealso>
      </element>

      <element name="TCustomGrid.FixedRows">
        <short>Number of the fixed rows in the grid.</short>
        <descr>
          <p>
            Contains the fixed row count for the grid control. A fixed row with fixed columns is normally used to display the headings (titles), images, and sort indicators for the columns in the grid control. The fixed row containing the fixed columns is not scrolled along with the visible area for grid.
          </p>
          <p>
            Setting a new value for the property causes several actions to be performed for the grid control.
          </p>
          <ul>
            <li>
              The values in FixedCols and FixedRows are verified by calling CheckFixedCount, which can raise an exception if an error condition is detected.
            </li>
            <li>
              EditorMode is set to False to hide a visible cell Editor for the control.
            </li>
            <li>
              MoveNextSelectable is called to find the first selectable cell in the current column. UpdateSelectionRange is called to refresh the cell selected in the grid control.
            </li>
          </ul>
          <p>
            Use FixedCols to get or set the number of fixed columns displayed for the grid control.
          </p>
        </descr>
        <seealso>
          <link id="TCustomGrid.RowCount"/>
          <link id="TCustomGrid.ColCount"/>
          <link id="TCustomGrid.FixedCols"/>
          <link id="TCustomGrid.FixedRows"/>
          <link id="TCustomGrid.EditorMode"/>
          <link id="TCustomGrid.MoveNextSelectable"/>
          <link id="TCustomGrid.UpdateSelectionRange"/>
        </seealso>
      </element>

      <element name="TCustomGrid.FixedColor">
        <short>The color used for the fixed cells in the grid.</short>
        <descr>
          <p>
            <var>FixedColor</var> is a <var>TColor</var> property with the color used to paint the background for fixed cells in the grid control. The default value for the property is clBtnFace. Changing the value in FixedColor causes the Invalidate method to be called to redraw the control.
          </p>
          <p>
            Use Color to specify the background color for non-fixed cells in the grid control. Use AlternateColor to specify the background color used for alternate rows in the grid control.
          </p>
          <p>
            Use the Color property in Font to specify the color used for text drawn in the cells for the grid. Use DisabledFontColor to specify the color used for text when the control is disabled.
          </p>
          <p>
            Other colors can be supplied using properties including: BorderColor, GridLineColor, FixedGridLineColor FixedHotColor, FocusColor, and SelectedColor.
          </p>
        </descr>
        <seealso>
          <link id="TCustomGrid.FixedColor"/>
          <link id="TCustomGrid.FixedRows"/>
          <link id="TCustomGrid.FixedCols"/>
        </seealso>
      </element>

      <element name="TCustomGrid.FixedGridLineColor">
        <short>Color used to draw lines around fixed grid cells.</short>
        <descr>
          <p>
            The default value for the is cl3DDKShadow as assigned in the constructor. Changing the value in FixedGridLineColor causes the grid to be redrawn. The color is not used when GridLineWidth contains the value 0 (zero).
          </p>
          <p>
            FixedGridLineColor is used in the implementation of the DrawCellGrid method.
          </p>
        </descr>
        <seealso>
          <link id="TCustomGrid.GridLineWidth"/>
          <link id="TCustomGrid.DrawCellGrid"/>
        </seealso>
      </element>

      <element name="TCustomGrid.FixedHotColor">
        <short>The color used for selected, hot-lighted, etc. fixed cells in the grid.</short>
        <descr>
          <var>FixedHotColor</var>
        </descr>
        <seealso/>
      </element>

      <element name="TCustomGrid.Flat">
        <short>Indicates if cells are displayed using a Flat appearance.</short>
        <descr/>
        <seealso/>
      </element>

      <element name="TCustomGrid.FocusColor">
        <short>The color used for a cell when it has focus.</short>
        <descr/>
        <seealso/>
      </element>

      <element name="TCustomGrid.FocusRectVisible">
        <short>Indicates if the focus rectangle is visible for the control.</short>
        <descr/>
        <seealso/>
      </element>

      <element name="TCustomGrid.GCache">
        <short>Contains cached data about the visual layout and state for the grid control.</short>
        <descr/>
        <seealso/>
      </element>

      <element name="TCustomGrid.GridFlags">
        <short>Contains grid-specific state flags active for the control.</short>
        <descr>
          <p>
            <var>GridFlags</var> is a <var>TGridFlags</var> property which contains values that indicate the state or status for the grid control or its editor. It is a set type and may contain zero (0) or more values from the <var>TGridFlagsOption</var> enumeration.
          </p>
          <p>
            Values are included in or excluded from the set as needed during execution of methods in the grid control. See TGridFlagsOption for more information about the values in the enumeration and their meanings.
          </p>
        </descr>
        <seealso>
          <link id="TGridFlags"/>
          <link id="TGridFlagsOption"/>
        </seealso>
      </element>

      <element name="TCustomGrid.GridHeight">
        <short>Total height for all of the rows in the grid control.</short>
        <descr>
          <p>
            <var>GridHeight</var> is a read-only <var>Integer</var> property which contains the calculated height for all of the rows in the grid control. Its value is provided using the cached values stored in GCache when row or column sizes are calculated for the control.
          </p>
        </descr>
        <seealso>
          <link id="TCustomGrid.GridWidth"/>
          <link id="TCustomGrid.GCache"/>
          <link id="TCustomGrid.VisualChange"/>
        </seealso>
      </element>

      <element name="TCustomGrid.GridLineColor">
        <short>Color used for the grid lines on the control.</short>
        <descr>
          <p>
            <var>GridLineColor</var> is a <var>TColor</var> property with the color used to draw the grid lines between rows and columns on the control. The default value for the property is <var>clSilver</var>. Changing the value for the property causes the grid control to be redrawn.
          </p>
          <p>
            GridLineColor is used in the <var>DrawCellGrid</var> method to draw the lines around non-fixed cells when <var>GridLineWidth</var> has a non-zero value.
          </p>
          <p>
            Use <var>FixedGridLineColor</var> to set the color used to draw grid lines around  fixed rows and columns on the control.
          </p>
        </descr>
        <seealso>
          <link id="TCustomGrid.DrawCellGrid"/>
          <link id="TCustomGrid.GridLineWidth"/>
          <link id="TCustomGrid.GridLineStyle"/>
          <link id="TCustomGrid.FixedGridLineColor"/>
        </seealso>
      </element>

      <element name="TCustomGrid.GridLineStyle">
        <short>Style used to draw the grid lines on the control.</short>
        <descr>
          <p>
            <var>GridLineStyle</var> is a <var>TPenStyle</var> property with the pen drawing style used to draw grid lines on the control. The default value for the property is psSolid. Changing the value for the property causes the grid control to be redrawn.
          </p>
          <p>
            GridLineStyle, GridLineWidth, GridLineColor, and FixedGridLineColor are used in the DrawCellGrid method when GridLineWidth is set to a positive non-zero value.
          </p>
        </descr>
        <seealso>
          <link id="TCustomGrid.DrawCellGrid"/>
          <link id="TCustomGrid.FixedGridLineColor"/>
          <link id="TCustomGrid.GridLineColor"/>
          <link id="TCustomGrid.GridLineWidth"/>
          <link id="#lcl.graphics.TCanvas.Pen">TCanvas.Pen</link>
          <link id="#lcl.graphics.TPen.Style">TPen.Style</link>
          <link id="#lcl.graphics.TPenStyle">TPenStyle</link>
        </seealso>
      </element>

      <element name="TCustomGrid.GridLineWidth">
        <short>Width (thickness) for grid lines drawn on the control.</short>
        <descr>
          <p>
            <var>GridLineWidth</var> is an <var>Integer</var> property which contains the thickness for the grid lines drawn on the control.
          </p>
          <p>
            The default value for the property is 1, and causes a single  pixel to be used when drawing grid lines. Changing the value for the property causes the grid control to be redrawn.
          </p>
          <p>
            GridLineWidth is used in the <var>DrawCellGrid</var> method when grid lines are drawn for both fixed and non-fixed cells. Set GridLineWidth to <b>0</b> to suppress drawing of grid lines on the control.
          </p>
        </descr>
        <seealso>
          <link id="TCustomGrid.DrawCellGrid"/>
          <link id="TCustomGrid.GridLineStyle"/>
          <link id="TCustomGrid.GridLineColor"/>
          <link id="TCustomGrid.FixedGridLineColor"/>
        </seealso>
      </element>

      <element name="TCustomGrid.GridWidth">
        <short>Total width for all columns in the Grid including non-visible columns.</short>
        <descr>
          <p>
            <var>GridWidth</var> is a read-only Integer property which contains the calculated width for all of the columns in the grid control, including columns with the visible property set to False. Its value is provided using the cached values stored in GCache when row or column sizes are calculated for the control.
          </p>
        </descr>
        <seealso>
          <link id="TCustomGrid.GridWidth"/>
          <link id="TCustomGrid.GCache"/>
          <link id="TCustomGrid.VisualChange"/>
        </seealso>
      </element>

      <element name="TCustomGrid.HeaderHotZones">
        <short>'Hot' zones for cell headers that can be selected, clicked, or ignored.</short>
        <descr/>
        <seealso/>
      </element>

      <element name="TCustomGrid.HeaderPushZones">
        <short>"Hot" zones for cell headers that have been selected or "pushed" in the grid.</short>
        <descr/>
        <seealso/>
      </element>

      <element name="TCustomGrid.ImageIndexSortAsc">
        <short>Ordinal position for the image used for columns sorted in ascending order.</short>
        <descr/>
        <seealso/>
      </element>

      <element name="TCustomGrid.ImageIndexSortDesc">
        <short>Ordinal position of the image used for columns sorted in descending order.</short>
        <descr/>
        <seealso/>
      </element>

      <element name="TCustomGrid.TabAdvance">
        <short>Controls the behavior for Tab navigation in the grid control.</short>
        <descr>
          <p>
            TabAdvance is a TAutoAdvance used to determine the behavior for Tab navigation is used in the grid control. The default value for the is aaRightDown. See TAutoAdvance for the values and their usage.
          </p>
          <p>
            TabAdvance is used in the implementation of the KeyDown method in TCustomGrid.
          </p>
        </descr>
        <seealso>
          <link id="TAutoAdvance"/>
          <link id="TCustomGrid.KeyDown"/>
        </seealso>
      </element>

      <element name="TCustomGrid.TitleImageList">
        <short>The list with images displayed in column titles.</short>
        <descr>
          <p>
            <var>TitleImageList</var> is a <var>TImageList</var> property which contains the images displayed in the title area for columns in the grid. It can include images used for the non-native column sort indicators.
          </p>
          <p>
            Setting a new value for the property causes the <var>VisualChange</var> method to be called to update the column sizes and redraw the control.
          </p>
          <p>
            TitleImageList is used to get an image resolution using the width specified in <var>TitleImageListWidth</var>. The images are used when rendering the <var>TGridColumn</var> instances in the <var>Columns</var> collection.
          </p>
        </descr>
        <seealso/>
      </element>

      <element name="TCustomGrid.TitleImageListWidth">
        <short>Stores the default width for images used in the title area for fixed cells.</short>
        <descr>
          <p>
            <var>TitleImageListWidth</var> is an <var>Integer</var> which stores the default width for images used in the title area for fixed cells. The default value for the is 0. Changing the value in TitleImageListWidth causes the <var>VisualChange</var> method to be called to update the grid control.
          </p>
          <p>
            The value in TitleImageListWidth is used in methods which draw fixed cells in the grid, such as:
          </p>
          <ul>
            <li>DrawColumnTitleImage</li>
            <li>AutoAdjustColumn</li>
            <li>GetSortTitleImageInfo</li>
          </ul>
        </descr>
        <seealso>
          <link id="TCustomGrid.DrawColumnTitleImage"/>
          <link id="TCustomStringGrid.AutoAdjustColumn"/>
        </seealso>
      </element>

      <element name="TCustomGrid.InplaceEditor">
        <short>Cell editor for the grid control.</short>
        <descr>
          <p>
            <var>InplaceEditor</var> is a read-only <var>TWinControl</var> property that represents the cell <var>Editor</var> for the control. Read access is redirected to the member variable used for the Editor property. It is provided for Delphi code compatibility. Use the Editor property instead.
          </p>
        </descr>
        <seealso>
          <link id="TCustomGrid.Editor"/>
        </seealso>
      </element>

      <element name="TCustomGrid.IsCellSelected">
        <short>Provides indexed access to the selected state for a cell by its column and row number.</short>
        <descr>
          <p>
            <var>IsCellSelected</var> is an indexed <var>Boolean</var> property which provides access to the selected state for a cell using its column and row number. <var>ACol</var> and <var>ARow</var> contain the column and row number for the cell.
          </p>
          <p>
            Compares the cell coordinates in <var>ACol</var> and <var>ARow</var> to the current Selection  in the grid control. The return value is <b>True</b> if the cell is in the cell range in <var>Selection</var>.
          </p>
          <p>
            If <var>RangeSelectMode</var> is set to <var>rsmMulti</var>, all of the existing range selections are examined for the specified cell. The property value  is <b>True</b> when the cell is located in the array of rectangles used for multi-selections in the grid control.
          </p>
          <p>
            Otherwise, the property value is set to <b>False</b>.
          </p>
        </descr>
        <seealso/>
      </element>
      <element name="TCustomGrid.IsCellSelected.Result">
        <short>True when the cell at the specified column and row is selected.</short>
      </element>
      <element name="TCustomGrid.IsCellSelected.aCol">
        <short>Column number for the cell examined in the method.</short>
      </element>
      <element name="TCustomGrid.IsCellSelected.aRow">
        <short>Row number for the cell examined in the method.</short>
     </element>

     <element name="TCustomGrid.LeftCol">
       <short>Column number for the first visible column on the left edge of the grid.</short>
       <descr/>
       <seealso/>
     </element>

      <element name="TCustomGrid.MouseWheelOption">
        <short>Sets the mouse wheel behavior for the grid control.</short>
        <descr>
          <p>
            <var>MouseWheelOption</var> is a <var>TMouseWheelOption</var> used to set the mouse wheel behavior for the grid control. The default value for the is <var>mwCursor</var>, and indicates that mouse wheel movements change the cursor position on the screen. Use <var>mwGrid</var> to cause mouse wheel movements to change the active selection  in the grid control.
          </p>
        </descr>
        <seealso>
          <link id="TMouseWheelOption"/>
          <link id="TCustomGrid.DoMouseWheel"/>
        </seealso>
      </element>

      <element name="TCustomGrid.Options">
        <short>Contains the set of optional features and/or behaviors enabled for the grid.</short>
        <descr>
          <p>
            <var>Options</var> is a <var>TGridOptions</var> used to store the options enabled for the grid control. Values from the <var>TGridOptions</var> enumeration are included in the set type to enable the features or behaviors. For a list of available options and their usage, see<link id="TGridOptions"/>.
          </p>
          <p>
            The default value for the Options is the <var>DefaultGridOptions</var> set.
          </p>
          <p>
            Use <var>Options2</var> to set scrolling behaviors enabled for the grid control.
          </p>
        </descr>
        <seealso>
          <link id="TGridOptions"/>
          <link id="DefaultGridOptions"/>
          <link id="TCustomGrid.Options2"/>
        </seealso>
      </element>

      <element name="TCustomGrid.Options2">
        <short>Contains additional options enabled for the grid control.</short>
        <descr/>
        <seealso/>
      </element>

      <element name="TCustomGrid.RangeSelectMode">
        <short>Controls the range selection mode used for the grid.</short>
        <descr>
          <p>
            <var>RangeSelectMode</var> is a <var>TRangeSelectMode</var> property that controls the range selection mode used for the grid. The default value for the is <var>rsmSingle</var>, and allows selection of a single cell in a range. Use <var>rsmMulti</var> to select multiple cells in a range selection.
          </p>
          <p>
            Changing the value in RangeSelectMode causes the <var>ClearSelections</var> method be called to remove existing selection(s) in the grid control.
          </p>
          <p>
            RangeSelectMode is used in the implementation of methods like:
          </p>
          <ul>
            <li>AddSelectedRange</li>
            <li>GetIsCellSelected</li>
            <li>MouseDown</li>
            <li>InvalidateCell</li>
          </ul>
        </descr>
        <seealso>
          <link id="TRangeSelectMode"/>
          <link id="TCustomGrid.ClearSelections"/>
          <link id="TCustomGrid.AddSelectedRange"/>
          <link id="TCustomGrid.GetIsCellSelected"/>
          <link id="TCustomGrid.MouseDown"/>
          <link id="TCustomGrid.InvalidateCell"/>
        </seealso>
      </element>

      <element name="TCustomGrid.Row">
        <short>Row number for the selected grid cell.</short>
        <descr>
          <p>
            Row is an Integer property which contains the row index for the currently selected cell in the grid control. The value in Row is zero-based, and cannot exceed the value RowCount-1.
          </p>
          <p>
            Setting a new value for the property causes the values in Col and Row to be validated against the ColCount and RowCount for the grid. Error checking is used, and an exception may be raised if the new property value is not in the limits for the control. The selected cell in the control is changed to the new values in the Col and Row properties.
          </p>
          <p>
            Use Col to determine the column number for the currently selected cell in the grid control.
          </p>
        </descr>
        <seealso/>
      </element>

      <element name="TCustomGrid.RowCount">
        <short>Number of rows in the grid.</short>
        <descr>
          <p>
            <var>RowCount</var> is an <var>Integer</var> property which contains the number of rows in the grid control, including fixed and normal rows.
          </p>
          <p>
            Changing the value in RowCount causes a visible Editor in the control to be hidden, and EditorMode is set to False. When the Columns collection is Enabled, the ColumnsChanged method is called. Setting RowCount to 0 (zero) causes the ClearRows method to be called.
          </p>
          <p>
            Use ColCount to access the number of columns for the grid control when Columns has not been enabled.
          </p>
          <p>
            Use Col and Row for the current cell selected in the control.
          </p>
        </descr>
        <seealso>
          <link id="TCustomGrid.Col"/>
          <link id="TCustomGrid.Row"/>
          <link id="TCustomGrid.RowHeights"/>
          <link id="TCustomGrid.RowCount"/>
          <link id="TCustomGrid.Columns"/>
          <link id="TCustomGrid.Editor"/>
          <link id="TCustomGrid.EditorMode"/>
          <link id="TCustomGrid.ColumnsChanged"/>
          <link id="TCustomGrid.ClearRows"/>
        </seealso>
      </element>

      <element name="TCustomGrid.RowSizingCursor">
        <short>Cursor shape displayed when the row height is changed.</short>
        <descr/>
        <seealso/>
      </element>

      <element name="TCustomGrid.RowHeights">
        <short>Provides indexed access to the height for each row in the grid.</short>
        <descr>
          <p>
            The row is specified with the <var>aRow</var> parameter. The <var>aRow</var> parameter must fall within the valid index range of 0 to <link id="TCustomGrid.RowCount">RowCount</link>-1.
          </p>
          <p>
            The return value of the is the height of this row, measured in pixels.
          </p>
          <p>
            The initial height of a newly created row is specified with the <link id="TCustomGrid.DefaultRowHeight">DefaultRowHeight</link> property. After that the user may redefine this value. If the <link id="TCustomGrid.Options">Options</link> includes the appropriate value, the row height may also be changed by the user at run-time.
          </p>
        </descr>
        <seealso>
          <link id="TCustomGrid.RowCount"/>
          <link id="TCustomGrid.DefaultRowHeight"/>
          <link id="TCustomGrid.Options"/>
        </seealso>
      </element>
      <element name="TCustomGrid.RowHeights.aRow">
        <short>Row number affected in the method.</short>
      </element>

      <element name="TCustomGrid.SaveOptions">
        <short>
          Options which control the information saved and loaded for the grid control.
        </short>
        <descr>
          <p>
            SaveOptions is a TSaveOptions property with the set of options enabled when saving values in the grid to a file or stream. The options indicate whether design information, column attributes, cell content and positions are included in the values save for the grid control.  The TSaveOption values included in or excluded from the property affect the following:
          </p>
          <dl>
            <dt>
              soDesign
            </dt>
            <dd>
              Design-time information for the control, including: column count, row count, number of fixed columns and rows, default column width, default row width and height, color, column definitions (when enabled in the control), and row heights with non-default values. Also includes the settings in the Options and Options2 properties for the control.
            </dd>
            <dt>
              soPosition
            </dt>
            <dd>
              Run-time values for the top and left coordinates for the grid, and the current column and row number.
            </dd>
            <dt>
              soRangeSelect
            </dt>
            <dd>
              Requires the soPosition option. Stores the left, top, bottom, and right coordinates for the range in the Selection property.
            </dd>
            <dt>
              soContent
            </dt>
            <dd>
              Stores the UTF-8-encoded text for each of the cells in the grid control.
            </dd>
          </dl>
          <p>
            The default values in SaveOptions are not assigned in TCustomGrid, and must be provided in a descendent class  like TCustomStringGrid.
          </p>
          <p>
            SaveOptions also determines the data available and processed when loading grid information in the LoadFromFile or LoadFromStream methods.
          </p>
        </descr>
        <seealso>
          <link id="TCustomGrid.SaveToFile"/>
          <link id="TCustomGrid.SaveToStream"/>
          <link id="TCustomGrid.LoadFromFile"/>
          <link id="TCustomGrid.LoadFromStream"/>
        </seealso>
      </element>

      <element name="TCustomGrid.SelectActive">
        <short>Indicates if a Selection is active in the grid control.</short>
        <descr>
          <p>
            <var>SelectActive</var> is a <var>Boolean</var> property which indicates if a <var>Selection</var> range is active in the grid control. It is set to <b>True</b> when a cell or range of cells is selected using the keyboard or mouse navigation, or by assigning a value to the Selection property. It is set to <b>False</b> in methods like <var>CancelSelection</var>, <var>DoExit</var>, and <var>DoMouseWheel</var>.
          </p>
        </descr>
        <seealso/>
      </element>

      <element name="TCustomGrid.SelectedColor">
        <short>Color used for selected cells in the grid.</short>
        <descr>
          <p>
            <var>SelectedColor</var> is a <var>TColor</var> property which contains the color used for the background in selected cell(s). SelectedColor is used in <var>PrepareCanvas</var> to set the brush color for the control <var>Canvas</var> when <var>IsSelected</var> is <b>True</b>. The default value for the property is <var>clHighlight</var> as assigned in the constructor for the class instance.
          </p>
          <p>
            Changing the value in SelectedColor causes the <var>Invalidate</var> method to be called to redraw the control.
          </p>
        </descr>
        <seealso/>
      </element>

      <element name="TCustomGrid.SelectedColumn">
        <short>The column instance for the currently selected cell in the grid control.</short>
        <descr>
          <p>
            <var>SelectedColumn</var> is a read-only <var>TGridColumn</var> property which contains the column instance for the current column. <var>Col</var> contains the column number for the selected cell in the grid control, and is used to located the column instance by calling <var>ColumnFromGridColumn</var>. The property may contain <b>Nil</b> if <var>Columns</var> has not been enabled in the control, or when a valid column definition is not found for the current column number.
          </p>
        </descr>
        <seealso/>
      </element>

      <element name="TCustomGrid.Selection">
        <short>Rectangle with the current cell selections in the grid control.</short>
        <descr>
          <p>
            <var>Selection</var> is a <var>TGridRect</var> property with the column and row numbers for the current cell selection in the grid control. The Left and Right members in the property value are column numbers for the cells in the selection. The Top and Bottom members in the property value are row numbers for the cells in the selection.
          </p>
          <p>
            Selection is used when <var>goRangeSelect</var> has been included in the <var>Options</var> for the grid.
          </p>
          <p>
            When a new grid rectangle is assigned for the property, the member values in the rectangle are normalized to ensure they are in the acceptable range of values for the grid control. If all four members have negative values, the current Selection is cleared by calling <var>ClearSelection</var>.
          </p>
          <p>
            Column or row numbers in the rectangle are adjusted to exclude <var>FixedCols</var> and <var>FixedRows</var>.When <var>goSelectionActive</var> has been included in the grid Options, the current selection is extended to include the new selection range. The <var>Invalidate</var> method is called to redraw the grid control with the new Selection value.
          </p>
          <p>
            A value assigned to Selection is ignored when <var>goRangeSelect</var> has <b>not</b> been included in the <var>Options</var> for the grid.
          </p>
        </descr>
        <seealso/>
      </element>

      <element name="TCustomGrid.ScrollBars">
        <short>Scrollbars displayed for the grid control.</short>
        <descr>
          <p>
            <var>ScrollBars</var> is a <var>TScrollStyle</var> property which indicates the scrollbars displayed for the grid control. The default value for the property is <var>ssAutoBoth</var> and causes vertical and horizontal scrollbars to be displayed when needed.
          </p>
          <p>
            See <var>TScrollStyle</var> for more information about values in the enumeration and their meanings.
          </p>
        </descr>
        <seealso>
          <link id="#lcl.stdctrls.TScrollStyle">TScrollStyle</link>
        </seealso>
      </element>

      <element name="TCustomGrid.StrictSort">
        <short>Indicates if strict sorting is used.</short>
        <descr/>
        <seealso/>
      </element>

      <element name="TCustomGrid.TitleFont">
        <short>The font used for text in a column title.</short>
        <descr>
          <p>
            TitleFont is a TFont property with the font used for the text in a fixed column title. By default, TitleFont uses the same Font assigned to the grid control.
          </p>
          <p>
            The OnTitleFontChanged event handler is used as the OnChange event handler for TitleFont, and  ensures that updates to TitleFont are also applied to TGridColumn instances in the Columns collection (when enabled). In addition, the font in TitleFont is ignored when Columns has been Enabled; the Font assigned to the Title property for the TGridColumn instance is used instead.
          </p>
          <p>
            GetColumnFont is called from PrepareCanvas to determine whether TitleFont or a font defined in the Columns collection is used to render the text in fixed cells.
          </p>
          <p>
            Assigning a new value to TitleFont causes the VisualChange method to be called to recalculate column sizes in the grid control.
          </p>
          <p>
            Font sizes (in both Font, TitleFont, and TGridColumn instances) may be scaled at run-time to provide support for high density displays. See ScaleFontsPPI for more information.
          </p>
        </descr>
        <seealso/>
      </element>

      <element name="TCustomGrid.TitleStyle">
        <short>The drawing style used for the fixed column titles.</short>
        <descr>
          <p>
            TitleStyle is a TTitleStyle property which contains the drawing style used when rendering the fixed cells with the column titles. Changing the value in TitleStyle cause the Invalidate method to be called to redraw the grid control.
          </p>
          <p>
            TitleStyle is used in the DrawCellGrid and DefaultDrawCell methods when Flat is set to False, and controls the 3D appearance of the fixed cell.
          </p>
          <dl>
            <dt>tsLazarus</dt>
            <dd>Uses the default appearance common to the supported platforms in Lazarus.</dd>
            <dt>tsNative</dt>
            <dd>Uses the drawing style for the current widgetset or theme.</dd>
            <dt>tsStandard</dt>
            <dd>Uses a more contrasted look similar to Delphi grids.</dd>
          </dl>
          <p>
            Use TitleFont (or the definitions in the Columns collection) to control the font used in fixed cells.
          </p>
        </descr>
        <seealso/>
      </element>

      <element name="TCustomGrid.TopRow">
        <short>The first visible row in the grid.</short>
        <descr/>
        <seealso/>
      </element>

      <element name="TCustomGrid.UseXORFeatures">
        <short>When True, the dotted focus rectangle is painted using an XOR raster operation.</short>
        <descr>
          <p>
            This controls how the dotted focus rectangle appears in the grid. When <b>True</b>, the rectangle is painted using an XOR raster operation. This allows the focus rectangle to be seen regardless of the cell background color. When <b>False</b>, the user can control the color of the dotted focus rectangle using the <var>FocusColor</var> property.
          </p>
          <p>
            It also controls the look of column/row resizing operations. When <b>True</b>, a line shows visually the size that the the column or row will have if the user ends the operation. When <b>False</b>, the column or row resizing takes effect  as the user drags the mouse.
          </p>
        </descr>
        <seealso/>
      </element>

      <element name="TCustomGrid.ValidateOnSetSelection">
        <short>Controls validation when the text for the selected cell is changed.</short>
        <descr>
          <p>
            <var>ValidateOnSetSelection</var> is a <var>Boolean</var> property used to control validation performed when the text for the selected cell is changed in the grid. The default value for ValidateOnSetSelection is <b>False</b>, as assigned in the constructor for the class.
          </p>
          <p>
            ValidateOnSetSelection is used in the <var>SelectionSetText</var> method to determine if the <var>ValidateEntry</var> method is called to validate the content in the cell.
          </p>
        </descr>
        <seealso>
          <link id="TCustomGrid.ValidateEntry"/>
          <link id="TCustomGrid.OnValidateEntry"/>
        </seealso>
      </element>

      <element name="TCustomGrid.VisibleColCount">
        <short>The number of visible columns in the grid control.</short>
        <descr>
          <p>
            <var>VisibleColCount</var> is a read-only <var>Integer</var> property with the number of columns displayed in the visible area for the control. The property value is derived using the cached VisibleGrid information in the GCache property. It is not included in the LCL streaming mechanism, and is an artifact from older LCL versions.
          </p>
        </descr>
        <seealso/>
      </element>

      <element name="TCustomGrid.VisibleRowCount">
        <short>The number of visible rows in the grid control.</short>
        <descr>
          <p>
            VisibleRowCount is a read-only Integer property with the number of rows displayed in the visible area for the control.
          </p>
        </descr>
        <seealso/>
      </element>

      <element name="TCustomGrid.OnAfterSelection">
        <short>Event handler signalled after a new Selection is made in the grid.</short>
        <descr>
          <p>
            <var>OnAfterSelection</var> is a <var>TOnSelectEvent</var> property that is the event handler signalled when the Selection for the control has been moved.
          </p>
          <p>
            An application can implement and assign an object procedure using the event signature to perform any action needed for the notification. The arguments passed to the event handler include the column and row numbers <b>prior</b> to moving the Selection .
          </p>
        </descr>
        <seealso/>
      </element>

      <element name="TCustomGrid.OnBeforeSelection">
        <short>Event handler signalled before changing the Selection in the grid control.</short>
        <descr>
          <p>
            OnBeforeSelection is a TOnSelectEvent property with the event handler signalled prior to changing the Selection for the grid control. OnBeforeSelection can be used to perform actions needed before the Selection is moved and an Editor is displayed for the newly selected cell.
          </p>
          <p>
            OnBeforeSelection is triggered (when assigned) from the MoveExtend method, and occurs when a new column or row is selected in the grid using keyboard navigation, using the mouse, or by assigning values to the Col or Row properties. It is also triggered when an explicit value is assigned to the Selection property.
          </p>
          <p>
            Use OnAfterSelection to performs actions needed after the Selection has been changed and the Editor has been displayed.
          </p>
        </descr>
        <seealso/>
      </element>

      <element name="TCustomGrid.OnCheckboxToggled">
        <short>Event handler signalled when the value for a Checkbox cell is toggled.</short>
        <descr>
          <p>
            <var>OnCheckboxToggled</var> is a <var>TToggledCheckboxEvent</var> property with the event handler signalled when the value for a check box-style cell is toggled. OnCheckboxToggled is triggered (when assigned) after the cell value has been changed and stored. OnCheckboxToggled is used descendent classes which implement a Toggle method, like TCustomDrawGrid.
          </p>
        </descr>
        <seealso>
          <link id="TCustomDrawGrid.ToggleCheckbox"/>
          <link id="TToggledCheckboxEvent"/>
        </seealso>
      </element>

      <element name="TCustomGrid.OnCompareCells">
        <short>Event handler signalled to compare the content in grid cells.</short>
        <descr>
          <p>
            OnCompareCells is a TOnCompareCells property with the event handler signalled to compare two cell values in the grid control. OnCompareCells is signalled (when assigned) by the DoCompareCells method, and occurs when column or row values are examined in the Sort method. The Result parameter contains the relative sort order for the compared cell values.
          </p>
        </descr>
        <seealso/>
      </element>

      <element name="TCustomGrid.OnPrepareCanvas">
        <short>Event handler signalled to prepare the Canvas for drawing.</short>
        <descr>
          <p>
            <var>OnPrepareCanvas</var> is a <var>TOnPrepareCanvasEvent</var> property with the event handler signalled to configure the control <var>Canvas</var> to draw a cell using a specific state. OnPrepareCanvas is signalled (when assigned) from the <var>PrepareCanvas</var> method. It allows the Pen, Brush, Font, and Color defaults assigned in PrepareCanvas to be overridden for a specified column, row, or TGridDrawState value.
          </p>
        </descr>
        <seealso>
          <link id="TCustomGrid.PrepareCanvas"/>
          <link id="TOnPrepareCanvasEvent"/>
          <link id="TGridDrawState"/>
        </seealso>
      </element>

      <element name="TCustomGrid.OnDrawCell">
        <short>Event handler signalled to draw a cell in the grid control.</short>
        <descr>
          <p>
            <var>OnDrawCell</var> is a <var>TOnDrawCell</var> property with the event handler signalled to render a cell in the grid control. Parameters passed to the event handler identify the column and row numbers for the cell, and the drawing state.
          </p>
          <p>
            OnDrawCell can be used along with the default drawing mechanism for the grid control. Set the <var>DefaultDrawing</var> property to <b>True</b> to allow the grid to render the cell background, state, and focus. Use OnDrawCell to handle the text which appears in the specified cell.
          </p>
          <p>
            OnDrawCell can be used to render all aspects of a cell by setting DefaultDrawing to <b>False</b>. In this situation, the event handler must handle rendering the background, state, focus, and text for the cell.
          </p>
          <p>
            OnDrawCell is signalled (when assigned) from the <var>DrawCell</var> method at run-time. It is not signalled at design-time. OnDrawCell occurs after the canvas has been configured using <var>PrepareCanvas</var>, and after <var>DefaultDrawCell</var> when DefaultDrawing is <b>True</b>.
          </p>
        </descr>
        <seealso>
          <link id="TCustomGrid.DrawCell"/>
          <link id="TCustomGrid.DefaultDrawing"/>
          <link id="TCustomGrid.PrepareCanvas"/>
          <link id="TOnDrawCell"/>
        </seealso>
      </element>

      <element name="TCustomGrid.OnEditButtonClick">
        <short>Event handler signalled when the button in an Editor is clicked.</short>
        <descr/>
        <seealso/>
      </element>

      <element name="TCustomGrid.OnButtonClick">
        <short>Event handler signalled when a button in a column header is clicked.</short>
        <descr/>
        <seealso/>
      </element>

      <element name="TCustomGrid.OnPickListSelect">
        <short>Event handler signalled when an item is selected from a pick list.</short>
        <descr/>
        <seealso/>
      </element>

      <element name="TCustomGrid.OnSelection">
        <short>Event handler signalled when an area is selected in the grid control.</short>
        <descr>
          <p>
            The <var>Col</var> and <var>Row</var> parameters contain the column and the row of the highlighted cell.
          </p>
          <p>
            Application developers can use the <var>OnSelection</var> and <var>OnBeforeSelection</var> events to react to focus changes. Component developers should use the ??? method instead.
          </p>
        </descr>
      </element>

      <element name="TCustomGrid.OnSelectEditor">
        <short>Event handler signalled to select a cell Editor for the current cell.</short>
        <descr/>
        <seealso/>
      </element>

      <element name="TCustomGrid.OnTopLeftChanged">
        <short>Event handler signalled when the top left cell is changed.</short>
        <descr/>
        <seealso/>
      </element>

      <element name="TCustomGrid.OnUserCheckboxBitmap">
        <short>Event handler signalled to get the user-defined bitmap used for a checkbox cell.</short>
        <descr/>
        <seealso/>
      </element>

      <element name="TCustomGrid.OnUserCheckboxImage">
        <short>Event handler signalled to get the user-defined image used for a checkbox cell.</short>
        <descr>
        </descr>
        <seealso/>
      </element>

      <element name="TCustomGrid.OnValidateEntry">
        <short>Event handler signalled to perform validation for a cell value.</short>
        <descr>
          <p>
            <var>OnValidateEntry</var> is a <var>TValidateEntryEvent</var> which implements the event handler signalled to perform validation for cells in the <var>ValidateEntry</var> method.
          </p>
        </descr>
        <seealso>
          <link id="TCustomGrid.ValidateEntry"/>
        </seealso>
      </element>

     <element name="TCustomGrid.FlipRect">
       <short>Flips coordinates in the cell rectangle when BiDi mode or RTL alignment is used.</short>
       <descr/>
       <seealso/>
     </element>
     <element name="TCustomGrid.FlipRect.Result">
       <short/>
     </element>
     <element name="TCustomGrid.FlipRect.ARect">
       <short/>
     </element>

     <element name="TCustomGrid.FlipPoint">
       <short>Flips cell coordinates in the specified point when BiDi mode or RTL alignment is used.</short>
       <descr/>
       <seealso/>
     </element>
     <element name="TCustomGrid.FlipPoint.Result">
       <short/>
     </element>
     <element name="TCustomGrid.FlipPoint.P">
       <short/>
     </element>

     <element name="TCustomGrid.FlipX">
       <short>Flips the horizontal position in the client when BiDi mode or RTL alignment is used.</short>
       <descr/>
       <seealso/>
     </element>
     <element name="TCustomGrid.FlipX.Result">
       <short/>
     </element>
     <element name="TCustomGrid.FlipX.X">
       <short/>
     </element>

     <element name="TCustomGrid.OnGetCellHint">
       <short>Gets the hint text for a cell.</short>
       <descr>
         <p>
           <var>OnGetCellHint</var> is a <var>TGetCellHintEvent</var> with the event handler signalled to get the hint text for a cell in the grid control. OnGetCellHint is signalled when  <var>goCellHints</var> or <var>goTruncCellHints</var> enumeration values are included in the <var>Options</var> property.
         </p>
         <p>
           OnGetCellHint is signalled (when assigned) from the <var>GetCellHintText</var> and <var>GetTruncCellHintText</var> methods called when <var>ShowCellHintWindow</var> applies the <var>CellHintPriority</var> for the grid control.
         </p>
       </descr>
       <seealso>
         <link id="TGridOption"/>
         <link id="TCustomGrid.Options"/>
         <link id="TCustomGrid.CellHintPriority"/>
         <link id="TCustomGrid.GetCellHintText"/>
         <link id="TCustomGrid.GetTruncCellHintText"/>
       </seealso>
     </element>

     <element name="TCustomGrid.OnSaveColumn">
       <short>Event handler signalled when a column is saved in the SaveColumns method.</short>
       <descr/>
       <seealso>
         <link id="TCustomGrid.SaveToFile"/>
         <link id="TCustomGrid.SaveToStream"/>
       </seealso>
     </element>

     <element name="TCustomGrid.OnLoadColumn">
       <short>Event handler signalled when a column is loaded in the LoadColumns method.</short>
       <descr/>
       <seealso>
         <link id="TCustomGrid.LoadFromFile"/>
         <link id="TCustomGrid.LoadFromStream"/>
       </seealso>
     </element>

      <element name="TCustomGrid.Create">
        <short>Constructor for the class instance.</short>
        <descr>
          <p>
            <var>Create</var> is the constructor for <var>TCustomGrid</var>. Create calls the inherited <var>Create</var> method, allocates the lists with columns and rows, initializes many visual properties and options, creates the various cell editors, and loads any bitmaps required for the control.
          </p>
          <remark>
            The inherited method calls SetBounds and VisualChange, so the grid needs to be fully instantiated it is called.
          </remark>
        </descr>
        <seealso>
          <link id="#LCL.Controls.TCustomControl.Create">TCustomControl.Create</link>
        </seealso>
      </element>
      <element name="TCustomGrid.Create.AOwner">
        <short/>
      </element>

      <element name="TCustomGrid.Destroy">
        <short>Destructor for the class instance.</short>
        <descr>
          <p>
            <var>Destroy</var> is the destructor for <var>TCustomGrid</var>. Destroy frees various resources including editors, columns, rows, and fonts. It calls the inherited <var>Destroy</var> method.
          </p>
        </descr>
        <seealso>
          <link id="#LCL.Controls.TCustomControl.Destroy">TCustomControl.Destroy</link>
        </seealso>
      </element>

      <element name="TCustomGrid.Invalidate" link="#lcl.controls.TControl.Invalidate"/>
      <element name="TCustomGrid.EditingDone" link="#lcl.controls.TControl.EditingDone"/>

      <element name="TCustomGrid.AdjustInnerCellRect">
        <short>Adjusts the cell rectangle to account for grid lines drawn around a cell.</short>
        <descr/>
        <seealso/>
      </element>
      <element name="TCustomGrid.AdjustInnerCellRect.ARect">
        <short>Cell rectangle adjusted in the method.</short>
      </element>

      <element name="TCustomGrid.AutoAdjustColumns">
        <short>Automatically adjusts columns sizes to the width of their content.</short>
        <descr/>
        <seealso/>
      </element>

      <element name="TCustomGrid.BeginUpdate">
        <short>Begins an update to the grid control.</short>
        <descr>
          <p>
            <var>BeginUpdate</var> is a procedure used to start an update to the layout or content in a grid control. BeginUpdate increments an internal member used to prevent nested calls to the method. The protection remains in effect until the <var>EndUpdate</var> method is called. BeginUpdate is used in the implementation of methods that alter the physical appearance of the grid.
          </p>
        </descr>
        <seealso>
          <link id="TCustomGrid.EndUpdate"/>
          <link id="TCustomGrid.VisualChange"/>
        </seealso>
      </element>

      <element name="TCustomGrid.CellRect">
        <short> The coordinates for the specified cell (ACol, ARow) as a standard rectangle (TRect).</short>
        <descr/>
        <seealso/>
      </element>
      <element name="TCustomGrid.CellRect.Result">
        <short>TRect instance with the coordinates for the cell.</short>
      </element>
      <element name="TCustomGrid.CellRect.ACol">
        <short>Column number for the cell.</short>
      </element>
      <element name="TCustomGrid.CellRect.ARow">
        <short>Row number for the cell.</short>
      </element>

      <element name="TCustomGrid.CellToGridZone">
        <short>Determines the grid zone for the specified cell.</short>
        <descr>
          <p>
            <var>CellToGridZone</var> is a <var>TGridZone</var> function used to get the grid zone where the specified cell is located. It is similar in nature to the MouseToGridZone method, but uses grid coordinates instead of mouse coordinates. The return value is one of the TGridZone enumeration values.
          </p>
          <dl>
            <dt>gzInvalid</dt>
            <dd>Returned when ACol or ARow contain a negative number.</dd>
            <dt>gzFixedCells</dt>
            <dd>Returned when both ACol and ARow are in the FixedCols and FixedRows for the grid.</dd>
            <dt>gzFixedCol</dt>
            <dd>Returned when ACol is one of the FixedCols for the grid.</dd>
            <dt>gzFixedRow</dt>
            <dd>Returned when ARow is one of the FixedRows for the grid.</dd>
            <dt>gzNormal</dt>
            <dd>Default value returned for a cell that is neither a fixed column nor a fixed row.</dd>
          </dl>
          <p>
            CellToGridZone is used in the implementation of methods like MouseUp, CacheMouseDown, Clean, and LoadContent.
          </p>
        </descr>
        <seealso/>
      </element>
      <element name="TCustomGrid.CellToGridZone.Result">
        <short>TGridZone enumeration value for the cell.</short>
      </element>
      <element name="TCustomGrid.CellToGridZone.aCol">
        <short>Column number examined in the method.</short>
      </element>
      <element name="TCustomGrid.CellToGridZone.aRow">
        <short>Row number examined in the method.</short>
      </element>

      <element name="TCustomGrid.CheckPosition">
        <short>Determines if the cell can be selected, or gets a suitable position using auto-advance.</short>
        <descr/>
        <seealso/>
      </element>

      <element name="TCustomGrid.ClearCols">
        <short>Clears the values in the FixedCols and Cols properties.</short>
        <descr/>
        <seealso>
          <link id="TCustomGrid.Clear"/>
        </seealso>
      </element>
      <element name="TCustomGrid.ClearCols.Result">
        <short>True if the columns are cleared in the method.</short>
      </element>

      <element name="TCustomGrid.ClearRows">
        <short>Clears the cached fixed rows and row count values for the grid control.</short>
        <descr>
          <p>
            ClearRows is a Boolean function used to all rows in the grid control. This includes the fixed row for the control. The return value is True if rows are successfully cleared in the method. It is False if the grid is already empty.
          </p>
          <p>
            Sets EditorMode to False if a cell editor is visible on the grid control. Sets values in the FixedRows and and RowCount properties to 0 (zero).
          </p>
          <p>
            It does not change values in the FixedCols or ColCount properties.
          </p>
        </descr>
        <seealso>
          <link id="TCustomGrid.Clear"/>
        </seealso>
      </element>
      <element name="TCustomGrid.ClearRows.Result">
        <short>True if the rows are cleared in the method.</short>
      </element>

      <element name="TCustomGrid.Clear">
        <short>Clear all cells in the grid.</short>
        <descr>
          <p>
            Resets the column and row counts to 0 (zero). The content in the Grid is emptied.
          </p>
          <p>
            Compatibility: This applies to Lazarus grids only; under Delphi/Kylix a grid can't be completely emptied.
          </p>
        </descr>
      </element>

      <element name="TCustomGrid.ClearSelections">
        <short>Clears the current range selection(s) and redraws the grid control.</short>
        <descr/>
        <seealso>
          <link id="TCustomGrid.MouseDown"/>
        </seealso>
      </element>

      <element name="TCustomGrid.EditorByStyle">
        <short>Select a cell editor control with the specified style.</short>
        <descr/>
        <seealso/>
      </element>
      <element name="TCustomGrid.EditorByStyle.Result">
        <short>Cell editor for the specified style.</short>
      </element>
      <element name="TCustomGrid.EditorByStyle.Style">
        <short>Editor style selected in the method.</short>
      </element>

      <element name="TCustomGrid.EditorKeyDown">
        <short>Implements the OnKeyDown event handler for the cell editor.</short>
        <descr/>
        <seealso/>
      </element>
      <element name="TCustomGrid.EditorKeyDown.Sender">
        <short>Object for the event notification.</short>
      </element>
      <element name="TCustomGrid.EditorKeyDown.Key">
        <short>Key examined in the method.</short>
      </element>
      <element name="TCustomGrid.EditorKeyDown.Shift">
        <short>Shift / Ctrl / Alt modifier for the Key.</short>
      </element>

      <element name="TCustomGrid.EditorKeyPress">
        <short>Implements the OnKeyPress event handler for the cell editor.</short>
        <descr/>
        <seealso/>
      </element>
      <element name="TCustomGrid.EditorKeyPress.Sender">
        <short>Object for the event notification.</short>
      </element>
      <element name="TCustomGrid.EditorKeyPress.Key">
        <short>Key press examined in the method.</short>
      </element>

      <element name="TCustomGrid.EditorUTF8KeyPress">
        <short>
          Implements the UTF-8 key press handler for the editor in the grid control.
        </short>
        <descr>
          <p>
            <var>EditorUTF8KeyPress</var> is assigned as the <var>OnUTF8KeyPress</var> event handler for the <var>Editor</var> in the grid control. It calls the inherited <var>UTF8KeyPress</var> method, indicating that the value in <var>UTF8Key</var> is targeted at the Editor control for the grid.
          </p>
        </descr>
        <seealso>
          <link id="TCustomGrid.Editor"/>
          <link id="TWinControl.UTF8KeyPress"/>
        </seealso>
      </element>
      <element name="TCustomGrid.EditorUTF8KeyPress.Sender">
        <short>Control for the event notification.</short>
      </element>
      <element name="TCustomGrid.EditorUTF8KeyPress.UTF8Key">
        <short>UTF-8-encoded code point handled in the method.</short>
      </element>

      <element name="TCustomGrid.EditorKeyUp">
        <short>Implements the OnKeyUp event handler for the cell editor.</short>
        <descr/>
        <seealso/>
      </element>
      <element name="TCustomGrid.EditorKeyUp.Sender">
        <short>Object for the event notification.</short>
      </element>
      <element name="TCustomGrid.EditorKeyUp.key">
        <short>Key examined in the method.</short>
      </element>
      <element name="TCustomGrid.EditorKeyUp.shift">
        <short>Shift / Ctrl / Alt modifier for the Key.</short>
      </element>

      <element name="TCustomGrid.EditorTextChanged">
        <short>Updates the grid control when the value in a cell Editor is changed.</short>
        <descr/>
        <seealso>
          <link id="TCustomGrid.EditorTextChanged"/>
          <link id="TStringCellEditor"/>
          <link id="TPickListCellEditor"/>
        </seealso>
      </element>
      <element name="TCustomGrid.EditorTextChanged.aCol">
        <short>Column number for the modified cell.</short>
      </element>
      <element name="TCustomGrid.EditorTextChanged.aRow">
        <short>Row number for the modified cell.</short>
      </element>
      <element name="TCustomGrid.EditorTextChanged.aText">
        <short>New value for the cell.</short>
      </element>

      <element name="TCustomGrid.EndUpdate">
        <short>Finishes an update to the grid control.</short>
        <descr/>
        <seealso/>
      </element>
      <element name="TCustomGrid.EndUpdate.aRefresh">
        <short>True when the grid control needs to be redrawn in the method.</short>
      </element>

      <element name="TCustomGrid.EraseBackground">
        <short>Clears the background for the grid control.</short>
        <descr>
          <p>
            EraseBackground is overridden in TCustomGrid, and has an empty implementation.
          </p>
        </descr>
        <seealso/>
      </element>
      <element name="TCustomGrid.EraseBackground.DC">
        <short>Device context for the drawing operation.</short>
      </element>

      <element name="TCustomGrid.FixDesignFontsPPI">
        <short>Adjusts fonts in the control to the specified design-time PixelsPerInch.</short>
        <descr>
          <p>
            <var>FixDesignFontsPPI</var> is an overridden  procedure used to adjust the assigned font size for grid columns and their titles to the specified design-time Pixels Per Inch (PPI). This is needed because the display density (PPI) used for fonts is not stored in Form resource (.LFM) files. When the design-time PPI is different than the run-time setting, font scaling issues can occur.
          </p>
          <p>
            FixDesignFontsPPI restores the design-time font PPI so it can be used in the LCL Scaling mechanism. FixDesignFontsPPI calls the inherited method on entry, and sets the value for the <var>PixelsPerInch</var> property in <var>TitleFont</var> when needed. Column definitions stored in the <var>Columns</var> property are also adjusted (when needed) by calling the FixDesignFontsPPI method for each of the <var>TGridColumn</var> instances in the container.
          </p>
          <p>
            FixDesignFontsPPI is called when scaling is enabled, and the Form which hosts the control calls its <var>Loaded</var> method during LCL streaming.
          </p>
        </descr>
        <seealso>
          <link id="TCustomGrid.ScaleFontsPPI"/>
          <link id="TStringGrid.Columns"/>
          <link id="TGridColumns"/>
          <link id="TGridColumn.FixDesignFontsPPI"/>
          <link id="TControl.FixDesignFontsPPI"/>
        </seealso>
      </element>
      <element name="TCustomGrid.FixDesignFontsPPI.ADesignTime">
        <short>Design-time PixelsPerInch needed for fonts in the control.</short>
      </element>

      <element name="TCustomGrid.Focused">
        <short>Indicates if the grid is focused or has an active focused cell Editor.</short>
        <descr>
          <var>Focused</var> in an overridden method in <var>TCustomGrid</var>. It re-implements the method from the ancestor class, and return <b>True</b> if the control or an assigned cell editor for the control has input focus. It does not call the inherited method.
        </descr>
        <seealso>
          <link id="TCustomGrid.Editor"/>
          <link id="TWinControl.CanTab"/>
          <link id="TWinControl.HandleAllocated"/>
          <link id="TWinControl.Focused"/>
          <link id="TControl.Visible"/>
        </seealso>
      </element>
      <element name="TCustomGrid.Focused.Result">
        <short>True when the grid or the cell Editor has focus.</short>
      </element>

      <element name="TCustomGrid.HasMultiSelection">
        <short>Indicates if multi-select range selection mode is enabled and in use for the grid.</short>
        <descr>
          <p>
            <var>HasMultiSelection</var> is a <var>Boolean</var> function used to determine if multi-select range selection mode is enabled and in use for the grid. The return value is <b>True</b> when <var>Options</var> includes the value <var>goRangeSelect</var>, <var>RangeSelectMode</var> contains <var>rsmMulti</var>, and <var>Selections</var> contains selection cell rectangles.
          </p>
        </descr>
        <seealso>
          <link id="TCustomGrid.Options"/>
          <link id="TCustomGrid.RangeSelectMode"/>
          <link id="TRangeSelectMode"/>
          <link id="TGridOptions"/>
          <link id="TGridOption"/>
        </seealso>
      </element>
      <element name="TCustomGrid.HasMultiSelection.Result">
        <short>True when multi-select range selection mode is enabled and in use for the grid.</short>
      </element>

      <element name="TCustomGrid.HideSortArrow">
        <short> Hides the arrow drawn as the sort indicator for a column.</short>
        <descr>
          <p>
            <var>HideSortArrow</var> is a procedure used to hide the arrow drawn for the sort indicator defined in <var>SortColumn</var>. HideSortArrow sets the value in SortColumn to <b>-1</b> to indicate that the sort column is not defined, and calls <var>InvalidateGrid</var> to redraw the contents in the grid control.
          </p>
        </descr>
        <seealso>
          <link id="TCustomGrid.SortColumn"/>
          <link id="TCustomGrid.InvalidateGrid"/>
          <link id="TCustomGrid.Sort"/>
        </seealso>
      </element>

      <element name="TCustomGrid.InvalidateCol">
        <short>
          Invalidates all cells in the specified column, and causes them to be redrawn.
        </short>
        <descr/>
        <seealso/>
      </element>
      <element name="TCustomGrid.InvalidateCol.ACol">
        <short>Column number for the cells invalidated in the method.</short>
      </element>

      <element name="TCustomGrid.InvalidateCell">
        <short>Renders a cell invalid, and redraws the cell if required.</short>
        <descr>
          <p>
            InvalidateCell is an overloaded method in TCustomGrid used to invalidate the cell at the column and row numbers in ACol and ARow. The Redraw argument is optional, and forces the cell to be re-drawn as soon as it is invalidated. The default value for Redraw is False, and defers the draw operation until the next time the control is updated.
          </p>
        </descr>
        <seealso/>
      </element>
      <element name="TCustomGrid.InvalidateCell.ACol">
        <short>Column number for the cell.</short>
      </element>
      <element name="TCustomGrid.InvalidateCell.aRow">
        <short>Row number for the cell.</short>
      </element>
      <element name="TCustomGrid.InvalidateCell.Redraw">
        <short>True to redraw the cell immediately, False to defer until the next update for the control.</short>
      </element>

      <element name="TCustomGrid.InvalidateFromCol">
        <short>
          Invalidates cells starting at the specified column number; all rows from the start position are affected.
        </short>
        <descr>
          <p>
            Calls the InvalidateRect routine to force the cells to be re-drawn. No actions are performed in the method if a Handle has not been allocated for the control.
          </p>
        </descr>
        <seealso/>
      </element>
      <element name="TCustomGrid.InvalidateFromCol.ACol">
        <short>Initial column number updated in the method.</short>
      </element>

      <element name="TCustomGrid.InvalidateGrid">
        <short>Invalidates the client area for the grid control.</short>
        <descr>
          <p>
            Calls the Invalidate method when no other updates are active for the control.
          </p>
        </descr>
        <seealso>
          <link id="TCustomGrid.Invalidate"/>
          <link id="TCustomGrid.BeginUpdate"/>
          <link id="TCustomGrid.EndUpdate"/>
        </seealso>
      </element>

      <element name="TCustomGrid.InvalidateFocused">
        <short>Invalidates a focused or highlighted cell or row.</short>
        <descr>
          <p>
            InvalidateFocused uses cached grid data in <var>GCache</var> to determine whether the grid control has valid columns and rows. No actions are performed in the method when columns and rows are not present in the cached grid information.
          </p>
          <p>
            The values in <var>Options</var> are used to determine whether row select or row highlighting are enabled for the control. If either is present in Options, the <var>InvalidateRow</var> method is called for the current <var>Row</var> number. If neither option is used, the <var>InvalidateCell</var> method is called for the current cell in <var>Col</var> and <var>Row</var>.
          </p>
          <p>
            InvalidateFocused is called from methods that respond to focus changes involving the grid control, including: <var>WMKillFocus</var>, <var>WMSetFocus</var>, <var>DoEnter</var>, and <var>DoExit</var>.
          </p>
        </descr>
        <seealso/>
      </element>

      <element name="TCustomGrid.InvalidateRange">
        <short>Invalidates a cell range in the grid invalid, and causes it to be redrawn.</short>
        <descr/>
        <seealso/>
      </element>
      <element name="TCustomGrid.InvalidateRange.ARange">
        <short>TRect with the range of cells affected in the method.</short>
      </element>

      <element name="TCustomGrid.InvalidateRow">
        <short>Invalidates the drawing rectangle for the specified row number.</short>
        <descr/>
        <seealso/>
      </element>
      <element name="TCustomGrid.InvalidateRow.ARow">
        <short>Row number affected in the method.</short>
      </element>

      <element name="TCustomGrid.IsCellVisible">
        <short>Determines whether the specified cell is visible.</short>
        <descr>
          <p>
            <var>IsCellVisible</var> is a <var>Boolean</var> function which indicates whether the cell specified by <var>ACol</var> and <var>ARow</var> is in the visible area for the grid control. IsCellVisible uses the internal cached grid information to determine if the cell is within the cached visible coordinates for the control.
          </p>
          <p>
            IsCellVisible is used in methods like <var>DrawRow</var>, <var>DoEnter</var>, and <var>InvalidateCell</var>.
          </p>
          <p>
            Use <var>IsFixedCellVisible</var> to determine whether a specific fixed cell is within the visible area for the control.
          </p>
        </descr>
        <seealso>
          <link id="TCustomGrid.IsFixedCellVisible"/>
          <link id="TCustomGrid.DrawRow"/>
          <link id="TCustomGrid.InvalidateCell"/>
          <link id="TGridDataCache"/>
        </seealso>
      </element>
      <element name="TCustomGrid.IsCellVisible.Result">
        <short>True if the cell is in the visible area for the grid control.</short>
      </element>
      <element name="TCustomGrid.IsCellVisible.aCol">
        <short>Column number for the cell.</short>
      </element>
      <element name="TCustomGrid.IsCellVisible.aRow">
        <short>Row number for the cell.</short>
      </element>

      <element name="TCustomGrid.IsFixedCellVisible">
        <short>Determines if the specified cell is a visible fixed cell in the grid.</short>
        <descr/>
        <seealso/>
      </element>
      <element name="TCustomGrid.IsFixedCellVisible.Result">
        <short>True if the specified cell is both fixed and visible in the control.</short>
      </element>
      <element name="TCustomGrid.IsFixedCellVisible.ACol">
        <short>Column number for the cell.</short>
      </element>
      <element name="TCustomGrid.IsFixedCellVisible.ARow">
        <short>Row number for the cell.</short>
      </element>

      <element name="TCustomGrid.LoadFromFile">
        <short>Loads grid data from a file with the specified file name.</short>
        <descr>
          <p>
            FileName contains name of the file with the content loaded in the method, and may included a fully qualified path for the given file name. An Exception is raised with the message in rsGridFileDoesNotExist if a file with the specified path and name is not found.
          </p>
          <p>
            LoadFromFile creates a temporary TXMLConfig instance that is used load the content from the specified file.  The private LoadSub method is called using the configuration file instance to read the content in the file, and may raise an exception if the XML content does not have a valid version element.
          </p>
          <p>
            LoadFromFile reverses the actions performed in the SaveToFile method. Please note that the SaveOptions property determines the information available to be loaded from the file.
          </p>
          <p>
            Use LoadFromStream to read the content in the grid from a TStream instance.
          </p>
        </descr>
        <seealso>
          <link id="TCustomGrid.LoadFromStream"/>
          <link id="TCustomGrid.SaveToFile"/>
          <link id="TCustomGrid.SaveOptions"/>
          <link id="#lazutils.laz2_xmlcfg.TXMLConfig">TXMLConfig</link>
        </seealso>
      </element>
      <element name="TCustomGrid.LoadFromFile.FileName">
        <short>Name of the file with the content loaded in the method.</short>
      </element>

      <element name="TCustomGrid.LoadFromStream">
        <short>Loads grid data from the specified stream.</short>
        <descr>
          <p>
            AStream is the TStream instance with the content loaded in the method. The stream must be positioned at the location where the information for the grid begins. The stream position is not changed after its content has been loaded.
          </p>
          <p>
            LoadFromStream creates a temporary TXMLConfig instance that is used load the content from the specified stream.  The private LoadSub method is called using the configuration file instance to read the content in the file, and may raise an exception if the XML content does not have a valid version element.
          </p>
          <p>
            LoadFromStream reverses the actions performed in the SaveToStream method. Please note that the SaveOptions property determines the information available to be loaded from the stream.
          </p>
            <p>
              Use LoadFromFile to read the content in the grid from a file on the local file system.
            </p>
        </descr>
        <seealso>
          <link id="TCustomGrid.LoadFromFile"/>
          <link id="TCustomGrid.SaveToStream"/>
          <link id="TCustomGrid.SaveOptions"/>
          <link id="#lazutils.laz2_xmlcfg.TXMLConfig">TXMLConfig</link>
        </seealso>
      </element>
      <element name="TCustomGrid.LoadFromStream.AStream">
        <short>TStream instance with values loaded in the method.</short>
      </element>

      <element name="TCustomGrid.MouseCoord">
        <short>Finds the mouse coordinates relative to the grid origin.</short>
        <descr/>
        <seealso/>
      </element>
      <element name="TCustomGrid.MouseCoord.Result">
        <short/>
      </element>
      <element name="TCustomGrid.MouseCoord.X">
        <short/>
      </element>
      <element name="TCustomGrid.MouseCoord.Y">
        <short/>
      </element>

      <element name="TCustomGrid.MouseToCell">
        <short>Converts mouse coordinates to the grid coordinates for a cell in the grid.</short>
        <descr/>
        <seealso/>
        <version>
          ACol and ARow arguments were changed to output parameters in LCL version 2.1 (revision 65087).
        </version>
      </element>
      <element name="TCustomGrid.MouseToCell.Result">
        <short>TPoint instance with the grid coordinates for the cell.</short>
      </element>
      <element name="TCustomGrid.MouseToCell.Mouse">
        <short>TPoint instance with the mouse coordinates converted in the method.</short>
      </element>
      <element name="TCustomGrid.MouseToCell.X">
        <short>Horizontal coordinate for the mouse.</short>
      </element>
      <element name="TCustomGrid.MouseToCell.Y">
        <short>Vertical coordinate for the mouse.</short>
      </element>
      <element name="TCustomGrid.MouseToCell.ACol">
        <short>Column number for the mouse position.</short>
      </element>
      <element name="TCustomGrid.MouseToCell.ARow">
        <short>Row number for the mouse position.</short>
      </element>

      <element name="TCustomGrid.MouseToLogCell">
        <short>Converts mouse coordinates to the position for a logical cell in the grid.</short>
        <descr/>
        <seealso/>
      </element>
      <element name="TCustomGrid.MouseToLogCell.Result">
        <short/>
      </element>
      <element name="TCustomGrid.MouseToLogCell.Mouse">
        <short/>
      </element>

      <element name="TCustomGrid.MouseToGridZone">
        <short>Converts mouse position and cell coordinates to a grid zone.</short>
        <descr/>
        <seealso/>
      </element>
      <element name="TCustomGrid.MouseToGridZone.Result">
        <short/>
      </element>
      <element name="TCustomGrid.MouseToGridZone.X">
        <short/>
      </element>
      <element name="TCustomGrid.MouseToGridZone.Y">
        <short/>
      </element>
      <element name="TCustomGrid.MouseToGridZone.CellCoords">
        <short/>
      </element>

      <element name="TCustomGrid.SaveToFile">
        <short>Saves grid information to a file with the specified name.</short>
        <descr>
          <p>
            SaveToFile is a method used to store information from a grid control the file name specified in the FileName argument. FileName can include a fully-qualified path to the file. If the file aready exists on the local file system, it is deleted and re-created before writing values.
          </p>
          <p>
            SaveToFile creates a temporary TXMLConfig instance that is used to write XML values to the specified file, and may include information about the text, layout, cell display settings, grid options, and range selections for the control.
          </p>
          <p>
            SaveToFile calls the SaveContent method to write the needed values to the XML configuration file.
            Please note that the SaveOptions property determines the information stored in the method.
          </p>
          <p>
            Use LoadFromFile to load settings and content from the XML file into the grid control.
          </p>
        </descr>
        <seealso>
          <link id="TCustomGrid.SaveToStream"/>
          <link id="TCustomGrid.SaveContent"/>
          <link id="TCustomGrid.SaveOptions"/>
          <link id="TCustomGrid.LoadFromFile"/>
          <link id="#lazutils.laz2_xmlcfg.TXmlConfig">TXmlConfig</link>
        </seealso>
      </element>
      <element name="TCustomGrid.SaveToFile.FileName">
        <short>File name where the grid information is stored.</short>
      </element>

      <element name="TCustomGrid.SaveToStream">
        <short>Saves grid information to the specified stream.</short>
        <descr>
          <p>
            <var>SaveToStream</var> is a method used to store information from the grid control to the <var>TStream</var> instance specified in <var>AStream</var>. SaveToStream creates a <var>TXMLConfig</var> class instance that is used to capture the layout, cell display settings, grid options, and range selections for the control.
          </p>
          <p>
            SaveToStream calls the <var>SaveContent</var> method to generate the XML content for the grid control. The XML content is written to <var>AStream</var> using the <var>WriteToStream</var> method in <var>TXMLConfig</var>.
          </p>
          <p>
            Use <var>LoadFromStream</var> to read the grid information stored in the stream.
          </p>
        </descr>
        <seealso>
          <link id="TCustomGrid.SaveContent"/>
          <link id="TCustomGrid.SaveGridOptions"/>
          <link id="TCustomGrid.LoadFromStream"/>
          <link id="#lazutils.laz2_xmlcfg.TXMLConfig.WriteToStream">TXMLConfig.WriteToStream</link>
        </seealso>
      </element>
      <element name="TCustomGrid.SaveToStream.AStream">
        <short>TStream instance where grid information is stored.</short>
      </element>

      <element name="TCustomGrid.ScaleFontsPPI">
        <short>Resizes fonts using a target PPI and a scaling factor.</short>
        <descr>
          <p>
            <var>ScaleFontsPPI</var> is an overridden procedure used to resize fonts in the control to the specified display density (Pixels per Inch) using the scaling factor in <var>AProportion</var>. This occurs when the run-time PPI setting for a font differs from the design-time value stored in the component resource.
          </p>
          <p>
            ScaleFontsPPI is overridden to apply the scaling factor to the <var>Font</var> and <var>TitleFont</var> for the control, and any fonts assignments in the <var>Columns</var> collection. The inherited <var>DoScaleFontsPPI</var> method is called to apply the scaling factor to the TFont instance passed as an argument.
          </p>
        </descr>
        <seealso>
          <link id="TCustomGrid.TitleFont"/>
          <link id="TCustomGrid.Columns"/>
          <link id="TGridColumns"/>
          <link id="TGridColumn"/>
          <link id="#lcl.controls.TControl.Font"/>
          <link id="#lcl.controls.TControl.ScaleFontsPPI">TControl.ScaleFontsPPI</link>
        </seealso>
      </element>
      <element name="TCustomGrid.ScaleFontsPPI.AToPPI">
        <short>New PPI setting for the scaled font sizes.</short>
      </element>
      <element name="TCustomGrid.ScaleFontsPPI.AProportion">
        <short>Scaling factor applied to the font sizes.</short>
      </element>

      <element name="TCustomGrid.SetFocus">
        <short>Gives focus to the grid control.</short>
        <descr>
          <p>
            <var>SetFocus</var> is an overridden procedure used to make the grid control the currently focused control. SetFocus ensures that pending <b>Tab</b> key navigation for an active cell editor is handled properly. If an Editor is both available and visible, it calls its SetFocus method. Otherwise, the grid control becomes the focused control.
         </p>
        </descr>
        <seealso/>
      </element>

      <element name="TCustomGrid.CursorState">
        <short>Current cursor state for the grid control.</short>
        <descr>
          <p>
            <var>CursorState</var> is a read-only <var>TGridCursorState</var> property which contains the current cursor state for the grid control. The value in CursorState is updated when methods are called which perform resizing or moving/dragging for columns and rows.
          </p>
          <p>
            Use the <var>ColRowDraggingCursor</var>, <var>ColSizingCursor</var>, or  <var>RowSizingCursor</var> properties to read or write the cursor shapes used for the corresponding actions.
          </p>
          <p>
            Use <var>RestoreCursor</var> to set the cursor state to its default value (gcsDefault).
          </p>
        </descr>
        <seealso>
          <link id="TGridCursorState"/>
        </seealso>
      </element>

      <element name="TCustomGrid.SelectedRange">
        <short>Provides indexed access to TGridRect values in the currently selected range.</short>
        <descr>
          <p>
            <var>SelectedRange</var> is a read-only indexed <var>TGridRect</var> property used to get the cell rectangles in <var>Selections</var> for the grid control. SelectedRange is applicable when multi-select range mode has been enabled in the <var>RangeSelectMode</var> property. Otherwise, the current cell selection at <var>Col</var> and <var>Row</var> is returned as the selected range value.
          </p>
          <p>
            Use <var>SelectedRangeCount</var> to get the number <var>TGridRect</var> instances in <var>SelectedRange</var>.
          </p>
          <p>
            Use <var>AddSelectedRange</var> to add the current cell selection to the multi-select range in <var>Selections</var>.
          </p>
          <p>
            Use <var>ClearSelections</var> to remove the cell rectangles stored in <var>Selections</var>.
          </p>
        </descr>
        <seealso>
          <link id="TCustomGrid.RangeSelectMode"/>
          <link id="TCustomGrid.AddSelectedRange"/>
          <link id="TCustomGrid.ClearSelections"/>
          <link id="TCustomGrid.Col"/>
          <link id="TCustomGrid.Row"/>
        </seealso>
      </element>

      <element name="TCustomGrid.SelectedRangeCount">
        <short>Number of cell rectangles in the selected range for the grid.</short>
        <descr/>
        <seealso>
          <link id="TCustomGrid.SelectedRange"/>
          <link id="TCustomGrid.RangeSelectMode"/>
          <link id="TCustomGrid.AddSelectedRange"/>
          <link id="TCustomGrid.ClearSelections"/>
          <link id="TRangeSelectMode"/>
          <link id="TGridRectArray"/>
        </seealso>
      </element>

      <element name="TCustomGrid.SortOrder">
        <short>Controls the order used for the sort column (ascending or descending).</short>
        <descr>
          <p>
            <var>SortOrder</var> is a <var>TSortOrder</var> property which indicates the sort order used for the column specified in <var>SortColumn</var>. It is used in the <var>DoCompareCells</var> method to determine the order for values during the comparison.
          </p>
          <p>
            SortOrder is used in the <var>HeaderClick</var> method to set or invert the ordering when column header for is clicked. It is also used to determine the image displayed in the column heading for the sort column.
          </p>
          <p>
            The default value for the property is <var>soAscending</var>.
          </p>
        </descr>
        <seealso>
          <link id="TSortOrder"/>
        </seealso>
      </element>

      <element name="TCustomGrid.SortColumn">
        <short>Column number used to sort the rows in the grid.</short>
        <descr>
          <p>
            <var>SortColumn</var> is a read-only <var>Integer</var> that contains the column position used to sort content rows in the grid. SortColumn is used in the <var>HeaderClick</var> method to determine if the click occurred on the fixed header cell represented by the property. It is also used in the <var>DrawColumnTitleImage</var> method if the header cell needs to render an image representing the current sort order.
          </p>
        </descr>
        <seealso>
          <link id="TCustomGrid.HeaderClick"/>
          <link id="TCustomGrid.DrawColumnTitleImage"/>
        </seealso>
      </element>

      <element name="TCustomGrid.TabStop">
        <short>Allows the user to navigate to this control, by pressing the Tab key.</short>
        <descr>
          <p>
            The default value for TabStop is True in TCustomGrid.
          </p>
        </descr>
        <seealso>
          <link id="#lcl.controls.TWinControl.TabStop">TWinControl.TabStop</link>
        </seealso>
      </element>

      <element name="TCustomGrid.IMEStartComposition">
        <short>Handles IME Composition start messages.</short>
        <descr>Defined for Windows platforms only.</descr>
        <seealso/>
      </element>
      <element name="TCustomGrid.IMEStartComposition.Message">
        <short/>
      </element>

      <element name="TCustomGrid.IMEComposition">
        <short>Handles IME Composition messages.</short>
        <descr>
          Defined for Windows platforms only.
        </descr>
        <seealso/>
      </element>
      <element name="TCustomGrid.IMEComposition.Msg">
        <short/>
      </element>

      <element name="TCustomGrid.IMEEndComposition">
        <short>Handles the WM_IME_ENDCOMPOSITION message.</short>
        <descr>
          <p>
            Handles the Input Method Editor API WM_IME_ENDCOMPOSITION message.
          </p>
          <p>
            Dispatches the message specified in <var>Msg</var> in the current visible and active <var>Editor</var> for the control. Defined for the Windows platform only.
          </p>
        </descr>
        <seealso/>
      </element>
      <element name="TCustomGrid.IMEEndComposition.Msg">
        <short>Message handled in the method.</short>
      </element>

      <element name="TGetEditEvent">
        <short>Specifies an event handler used to get edit values or masks in a grid.</short>
        <descr>
          <var>TGetEditEvent</var> is an object procedure type used for event handlers which  get edit values or masks in a grid control. TGetEditEvent is the type used for the <var>OnGetEditMask</var> and <var>OnGetEditText</var> event handlers in <var>TCustomDrawGrid</var>.
        </descr>
        <seealso>
          <link id="TCustomDrawGrid.OnGetEditMask"/>
          <link id="TCustomDrawGrid.OnGetEditText"/>
        </seealso>
      </element>
      <element name="TGetEditEvent.Sender">
        <short>Object for the event notification.</short>
      </element>
      <element name="TGetEditEvent.ACol">
        <short>Column number for the notification.</short>
      </element>
      <element name="TGetEditEvent.ARow">
        <short>Row number for the notification.</short>
      </element>
      <element name="TGetEditEvent.Value">
        <short>Value returned from the event handler.</short>
      </element>

      <element name="TSetEditEvent">
        <short>Specifies an event handler used to set the value for edit text in a grid.</short>
        <descr>
          <p>
            <var>TSetEditEvent</var> is an object procedure type used to implement event handlers which set the edit value for a cell in a grid control. TSetEditEvent is the type used for the <var>OnSetEditText</var> property in <var>TCustomDrawGrid</var>.
          </p>
        </descr>
        <seealso>
          <link id="TCustomDrawGrid.OnSetEditText"/>
        </seealso>
      </element>
      <element name="TSetEditEvent.Sender">
        <short>Object for the event notification.</short>
      </element>
      <element name="TSetEditEvent.ACol">
        <short>Column number for the notification.</short>
      </element>
      <element name="TSetEditEvent.ARow">
        <short>Row number for the notification.</short>
      </element>
      <element name="TSetEditEvent.Value">
        <short>Value applied to the specified cell in the event handler.</short>
      </element>

      <element name="TGetCheckboxStateEvent">
        <short>Specifies an event handler signalled to get the state for a Checkbox cell in a grid.</short>
        <descr/>
        <seealso/>
      </element>
      <element name="TGetCheckboxStateEvent.Sender">
        <short>Object for the event notification.</short>
      </element>
      <element name="TGetCheckboxStateEvent.ACol">
        <short>Column number for the cell.</short>
      </element>
      <element name="TGetCheckboxStateEvent.ARow">
        <short>Row number for the cell.</short>
      </element>
      <element name="TGetCheckboxStateEvent.Value">
        <short>Checkbox state retrieved for the cell.</short>
      </element>

      <element name="TSetCheckboxStateEvent">
        <short>Specifies an event handler signalled to set the state for a Checkbox cell in a grid.</short>
        <descr>
          <p>
            <var>TSetCheckboxStateEvent</var> is an object procedure type which specifies an event handler signalled to set the state for a Checkbox cell in a grid control. TSetCheckboxStateEvent is the type used to implement the <var>OnSetCheckboxState</var> property in <var>TCustomDrawGrid</var>.
          </p>
          <p>
            See <var>TGetCheckboxStateEvent</var> for the event handler signalled to get the value for a checkbox cell in a grid control.
          </p>
        </descr>
        <seealso>
          <link id="TCustomDrawGrid.OnSetCheckboxState"/>
          <link id="TGetCheckboxStateEvent"/>
        </seealso>
      </element>
      <element name="TSetCheckboxStateEvent.Sender">
        <short>Object for the event notification.</short>
      </element>
      <element name="TSetCheckboxStateEvent.ACol">
        <short>Column number for the modified cell.</short>
      </element>
      <element name="TSetCheckboxStateEvent.ARow">
        <short>Row number for the modified cell.</short>
      </element>
      <element name="TSetCheckboxStateEvent.Value">
        <short>New checkbox state for the cell.</short>
      </element>

      <element name="TCustomDrawGrid">
        <short>The base class for a custom-drawn grid control.</short>
        <descr>
          <p>
            <var>TCustomDrawGrid</var> is a <var>TCustomGrid</var> descendant used as the base class for custom-drawn grids including <var>TDrawGrid</var> and <var>TStringGrid</var>. Applications should not create instance of TCustomDrawGrid; use one of the descendent classes like <var>TDrawGrid</var> or <var>TStringGrid</var>.
          </p>
          <p>
            TCustomDrawGrid provides overridden methods needed to work with cells using the TVirtualGrid class instance in the Grid property. It displays information as a matrix of rows and columns, and is oriented towards rendering both graphical information and textual content.
          </p>
          <p>
            The OnDrawCell event handler is provided to render the cell content in the grid, and can be used to render images or directly access the Canvas for the control. Default cell drawing logic is also implemented using the properties and methods from the ancestor class, and may be accessed from within the OnDrawCell event handler.
          </p>
        </descr>
        <seealso>
          <link id="TCustomGrid"/>
          <link id="TDrawGrid"/>
          <link id="TStringGrid"/>
          <link id="TOnDrawCell"/>
          <link id="HowToUseGrids"/>
        </seealso>
      </element>

      <element name="TCustomDrawGrid.FEditorRow"/>
      <element name="TCustomDrawGrid.FEditorCol"/>
      <element name="TCustomDrawGrid.FOnColRowDeleted"/>
      <element name="TCustomDrawGrid.FOnColRowExchanged"/>
      <element name="TCustomDrawGrid.FOnColRowInserted"/>
      <element name="TCustomDrawGrid.FOnColRowMoved"/>
      <element name="TCustomDrawGrid.FOnGetCheckboxState"/>
      <element name="TCustomDrawGrid.FOnGetEditMask"/>
      <element name="TCustomDrawGrid.FOnGetEditText"/>
      <element name="TCustomDrawGrid.FOnHeaderClick"/>
      <element name="TCustomDrawGrid.FOnHeaderSizing"/>
      <element name="TCustomDrawGrid.FOnSelectCell"/>
      <element name="TCustomDrawGrid.FOnSetCheckboxState"/>
      <element name="TCustomDrawGrid.FOnSetEditText"/>

      <element name="TCustomDrawGrid.CellNeedsCheckboxBitmaps">
        <short>Determines if the cell is valid and enabled, and uses the CheckBox button style.</short>
        <descr/>
        <seealso/>
      </element>
      <element name="TCustomDrawGrid.CellNeedsCheckboxBitmaps.Result">
        <short>True when the specified cell is valid, enabled, and uses the CheckBox button style.</short>
      </element>
      <element name="TCustomDrawGrid.CellNeedsCheckboxBitmaps.ACol">
        <short>Column number for the cell.</short>
      </element>
      <element name="TCustomDrawGrid.CellNeedsCheckboxBitmaps.ARow">
        <short>Row number for the cell.</short>
      </element>

      <element name="TCustomDrawGrid.DrawCellCheckboxBitmaps">
        <short>Draws a cell value using the bitmaps for the CheckBox button style.</short>
        <descr/>
        <seealso/>
      </element>
      <element name="TCustomDrawGrid.DrawCellCheckboxBitmaps.ACol">
        <short>Column number for the cell.</short>
      </element>
      <element name="TCustomDrawGrid.DrawCellCheckboxBitmaps.ARow">
        <short>Row number for the cell.</short>
      </element>
      <element name="TCustomDrawGrid.DrawCellCheckboxBitmaps.ARect">
        <short>Rectangle with the bounds for the cell.</short>
      </element>

      <element name="TCustomDrawGrid.GetEditorValue">
        <short>Posts a grid message to get the value from the Editor control in a cell.</short>
        <descr/>
        <seealso/>
      </element>
      <element name="TCustomDrawGrid.GetEditorValue.Result">
        <short>Value from the Editor control.</short>
      </element>
      <element name="TCustomDrawGrid.GetEditorValue.ACol">
        <short>Column number for the cell.</short>
      </element>
      <element name="TCustomDrawGrid.GetEditorValue.ARow">
        <short>Row number for the cell.</short>
      </element>

      <element name="TCustomDrawGrid.FGrid">
        <short>Contains the virtual grid for the control.</short>
      </element>

      <element name="TCustomDrawGrid.CellClick">
        <short>Performs actions to handle a mouse click in the specified cell.</short>
        <descr>
          <p>
            <var>CellClick</var> is an overridden method used to handle a mouse click in the cell specified by the values in <var>ACol</var> and <var>ARow</var>. <var>Button</var> indicates the mouse button pressed for the click notification.
          </p>
          <p>
            CellClick ensures that a left mouse button click causes the cell value in a column using the CheckBox button style to be toggled. When Button contains <var>mbLeft</var>, the column is examined to determine if it uses the CheckBox button style. When both conditions are met, the <var>ToggleCheckbox</var> method is called to update the cell value and display the correct bitmap for the CheckBox state.
          </p>
          <p>
            CellClick does not occur for a cell that is a fixed header for the column or the row.
          </p>
          <p>
            CellClick is called from the <var>MouseUp</var> method when a mouse click occurs in a cell that has already been selected, or when AutoEdit has been enabled in the grid Options.
          </p>
        </descr>
        <seealso>
          <link id="TCustomGrid.CellClick"/>
        </seealso>
      </element>
      <element name="TCustomDrawGrid.CellClick.ACol">
        <short>Column number for the cell.</short>
      </element>
      <element name="TCustomDrawGrid.CellClick.ARow">
        <short>Row number for the cell.</short>
      </element>
      <element name="TCustomDrawGrid.CellClick.Button">
        <short>Mouse button for the click notification.</short>
      </element>

      <element name="TCustomDrawGrid.ColRowDeleted">
        <short>Performs actions when a column or a row is deleted from the control.</short>
        <descr>
          <p>
            <var>ColRowDeleted</var> is an overridden method used to remove the specified column or row, and perform a notification for the change.
          </p>
          <p>
            <var>IsColumn</var> indicates whether a column or a row is affected in the method. When set to True, a column is removed. Othewise, a row is removed.
          </p>
          <p>
            <var>Index</var> contains the column or row number removed in the method.
          </p>
          <p>
            ColRowDeleted calls the <var>DeleteColRow</var> method in <var>Grid</var> to remove the pointers in the virtual grid for the column or row. <var>NotifyColRowChange</var> is called to perform a notification for the action by signalling the <var>OnColRowDeleted</var> event handler (when assigned).
          </p>
          <p>
            ColRowDeleted in called from the <var>DoOPDeleteColRow</var> method (in the ancestor class) after removing the column or row in Index from the internal list of column widths, and updating the cached grid information in <var>GCache</var>.
          </p>
        </descr>
        <seealso>
          <link id="TCustomGrid.ColRowDeleted"/>
        </seealso>
      </element>
      <element name="TCustomDrawGrid.ColRowDeleted.IsColumn">
        <short/>
      </element>
      <element name="TCustomDrawGrid.ColRowDeleted.Index">
        <short/>
      </element>

      <element name="TCustomDrawGrid.ColRowExchanged" link="#lcl.grids.TCustomGrid.ColRowExchanged"/>
      <element name="TCustomDrawGrid.ColRowExchanged.IsColumn">
        <short/>
      </element>
      <element name="TCustomDrawGrid.ColRowExchanged.Index">
        <short/>
      </element>
      <element name="TCustomDrawGrid.ColRowExchanged.WithIndex">
        <short/>
      </element>

      <element name="TCustomDrawGrid.ColRowInserted" link="#lcl.grids.TCustomGrid.ColRowInserted"/>
      <element name="TCustomDrawGrid.ColRowInserted.IsColumn">
        <short/>
      </element>
      <element name="TCustomDrawGrid.ColRowInserted.Index">
        <short/>
      </element>

      <element name="TCustomDrawGrid.ColRowMoved" link="#lcl.grids.TCustomGrid.ColRowMoved"/>
      <element name="TCustomDrawGrid.ColRowMoved.IsColumn">
        <short/>
      </element>
      <element name="TCustomDrawGrid.ColRowMoved.FromIndex">
        <short/>
      </element>
      <element name="TCustomDrawGrid.ColRowMoved.ToIndex">
        <short/>
      </element>

      <element name="TCustomDrawGrid.CreateVirtualGrid">
        <short>Creates and returns a virtual grid for the control.</short>
        <descr/>
        <seealso/>
      </element>
      <element name="TCustomDrawGrid.CreateVirtualGrid.Result">
        <short/>
      </element>

      <element name="TCustomDrawGrid.DrawCell" link="#lcl.grids.TCustomGrid.DrawCell"/>
      <element name="TCustomDrawGrid.DrawCell.aCol">
        <short/>
      </element>
      <element name="TCustomDrawGrid.DrawCell.aRow">
        <short/>
      </element>
      <element name="TCustomDrawGrid.DrawCell.aRect">
        <short/>
      </element>
      <element name="TCustomDrawGrid.DrawCell.aState">
        <short/>
      </element>

      <element name="TCustomDrawGrid.DrawCellAutonumbering">
        <short>Draws a cell with auto-numbering.</short>
        <descr>
          <p>
            <var>DrawCellAutonumbering</var> is a method used to draw the text in <var>AValue</var> for the auto-numbered cell at the position in <var>ACol</var> and <var>aRow</var>. DrawCellAutonumbering calls <var>DrawCellText</var> to render the text using the parameter values.
          </p>
          <p>
            DrawCellAutonumbering is called from the <var>DefaultDrawCell</var> method using the relative non-fixed row number as the text for the cell.
          </p>
        </descr>
        <seealso/>
      </element>
      <element name="TCustomDrawGrid.DrawCellAutonumbering.ACol">
        <short>Column number for the cell.</short>
      </element>
      <element name="TCustomDrawGrid.DrawCellAutonumbering.ARow">
        <short>Row number for the cell.</short>
      </element>
      <element name="TCustomDrawGrid.DrawCellAutonumbering.ARect">
        <short>Rectangle with the bounds for the cell.</short>
      </element>
      <element name="TCustomDrawGrid.DrawCellAutonumbering.AValue">
        <short>Text drawn in the cell.</short>
      </element>

      <element name="TCustomDrawGrid.DrawFocusRect">
        <short>Draws the focus rectangle for the control.</short>
        <descr>
          <p>
            <var>DrawFocusRect</var> is an overridden method used to draw the focus rectangle for the specified cell when the grid control or its cell <var>Editor</var> is focused. No actions are performed in the method if <var>DefaultDrawing</var> is set to <b>False</b>, or the grid is not <var>Focused</var>. In addition, the focus rectangle cannot be displayed if <var>goAlwaysShowEditor</var> has been enabled in <var>Options</var> and the Editor is either unassigned (<b>Nil</b>) or not focused.
          </p>
          <p>
            DrawFocusRect calls <var>CalcFocusRect</var> to apply the cached visual information in <var>GCache</var> for the focused cell or row. This includes adjustments for grid lines when enabled for the control.
          </p>
          <p>
            When <var>UseXORFeatures</var> is <b>True</b>, the Pen mode in the <var>Canvas</var> is updated to used the XOR drawing operator and the color needed for the control.  The Canvas state is restored prior to exiting from the method.
          </p>
          <p>
            <var>DrawRubberRect</var> is called to draw the rubber band rectangle with the appropriate borders using the <var>FocusColor</var> in the control.
          </p>
          <p>
            DrawFocusRect is called from the <var>DrawRow</var> method.
          </p>
        </descr>
        <seealso>
          <link id="TCustomGrid.DrawFocusRect"/>
          <link id="TCustomGrid.DrawRow"/>
        </seealso>
      </element>
      <element name="TCustomDrawGrid.DrawFocusRect.ACol">
        <short>Column number for the cell with the focus rectangle.</short>
      </element>
      <element name="TCustomDrawGrid.DrawFocusRect.ARow">
        <short>Row number for the cell with the focus rectangle.</short>
      </element>
      <element name="TCustomDrawGrid.DrawFocusRect.ARect">
        <short>TRect instance with the bounds for the cell with the focus rectangle.</short>
      </element>

      <element name="TCustomDrawGrid.GetCells">
        <short>Gets the value for the specified cell.</short>
        <descr/>
        <seealso>
          <link id="TCustomGrid.GetCells"/>
          <link id="TCustomGrid.Editor"/>
        </seealso>
      </element>
      <element name="TCustomDrawGrid.GetCells.Result">
        <short>Value for the cell.</short>
      </element>
      <element name="TCustomDrawGrid.GetCells.ACol">
        <short>Column number for the cell value.</short>
      </element>
      <element name="TCustomDrawGrid.GetCells.ARow">
        <short>Row number for the cell value.</short>
      </element>

      <element name="TCustomDrawGrid.GetCheckBoxState">
        <short>Gets the check box state for the cell at the specified coordinates.</short>
        <descr>
          <p>
            Signals the <var>OnGetCheckboxState</var> event handler (when assigned) to get the value in <var>AState</var>. Called from <var>ToggleCheckbox</var> and the private <var>DrawCellCheckboxBitmaps</var> method.
          </p>
        </descr>
        <seealso>
          <link id="TCustomDrawGrid.OnGetCheckboxState"/>
          <link id="TCustomDrawGrid.ToggleCheckbox"/>
        </seealso>
      </element>
      <element name="TCustomDrawGrid.GetCheckBoxState.ACol">
        <short>Column number for the cell.</short>
      </element>
      <element name="TCustomDrawGrid.GetCheckBoxState.ARow">
        <short>Row number for the cell.</short>
      </element>
      <element name="TCustomDrawGrid.GetCheckBoxState.AState">
        <short>Check box state for the cell.</short>
      </element>

      <element name="TCustomDrawGrid.GetEditMask" link="#lcl.grids.TCustomGrid.GetEditMask"/>
      <element name="TCustomDrawGrid.GetEditMask.Result">
        <short/>
      </element>
      <element name="TCustomDrawGrid.GetEditMask.aCol">
        <short/>
      </element>
      <element name="TCustomDrawGrid.GetEditMask.aRow">
        <short/>
      </element>

      <element name="TCustomDrawGrid.GetEditText">
        <short>Gets the text displayed in the Editor for the specified cell.</short>
        <descr>
          <p>
            GetEditText is an overridden method used to get the text displayed in the Editor for the specified cell. GetEditText signals the <var>OnGetEditText</var> event handler (when assigned) to get the text displayed in the Editor. The return value can be an empty string ('') when:
          </p>
          <ul>
            <li>OnGetEditText is not assigned.</li>
            <li>The cell at ACol and ARow is empty.</li>
            <li>Or, a value in ACol or ARow is not valid for the grid.</li>
          </ul>
          <p>
            GetEditText is called from the <var>EditorDoSetValue</var> method when <var>TGridMessages</var> are dispatched to the <var>Editor</var> to set the edit mask and value used in the control.
          </p>
        </descr>
        <seealso>
          <link id="TCustomGrid.GetEditText"/>
        </seealso>
      </element>
      <element name="TCustomDrawGrid.GetEditText.Result">
        <short>Text used as the value in the Editor control.</short>
      </element>
      <element name="TCustomDrawGrid.GetEditText.ACol">
        <short>Column number for the cell.</short>
      </element>
      <element name="TCustomDrawGrid.GetEditText.ARow">
        <short>Row number for the cell.</short>
      </element>

      <element name="TCustomDrawGrid.GridMouseWheel">
        <short>Performs actions when the mouse wheel is scrolled in the grid control.</short>
        <descr>
          <p>
            <var>GridMouseWheel</var> is an overridden method in TCustomDrawGrid used to perform actions when the mouse wheel is scrolled while the grid control has focus. Mouse wheel behavior is determined by the <var>MouseWheelOption</var> property.
          </p>
          <p>
            When set to <var>mwCursor</var>, the mouse wheel controls the selected row or column in the grid. It increases or decreases the selected row number in the grid by default. Press <b>Ctrl + Mouse Wheel</b> to change the selected column number in the grid.
          </p>
          <p>
            When set to <var>mwGrid</var>, the mouse wheel scrolls the visible non-fixed columns and rows in the grid control. It scrolls the visible rows up or down by default. Press <b>Ctrl + MouseWheel</b> to scroll the visible columns in the grid control. Mouse wheel movement has no affect when the number of visible columns or rows is not larger than the non-fixed display area for the grid control.
          </p>
        </descr>
        <seealso/>
      </element>
      <element name="TCustomDrawGrid.GridMouseWheel.shift">
        <short>Shift state modifier in effect for the action.</short>
      </element>
      <element name="TCustomDrawGrid.GridMouseWheel.Delta">
        <short>Relative change in the current mouse wheel position for the action.</short>
      </element>

      <element name="TCustomDrawGrid.HeaderClick">
        <short>
          Performs actions when a mouse click occurs in a header for a grid column.
        </short>
        <descr>
          <p>
            <var>HeaderClick</var> is an overridden method ensures that the <var>SortOrder</var> for the grid is toggled when <var>Index</var> contains the <var>SortColumn</var> defined for the grid control. HeaderClick calls the inherited method in TCustomGrid to Sort the non-fixed rows in the grid control.
          </p>
          <p>
            HeaderClick signals the <var>OnHeaderClick</var> event handler (when assigned) to performed any actions needed after the data has been sorted in the method.
          </p>
        </descr>
        <seealso>
          <link id="TCustomGrid.HeaderClick"/>
          <link id="TCustomGrid.SortColumn"/>
          <link id="TCustomGrid.SortOrder"/>
          <link id="TCustomGrid.Sort"/>
        </seealso>
      </element>
      <element name="TCustomDrawGrid.HeaderClick.IsColumn">
        <short>True when a column has been clicked instead of a row.</short>
      </element>
      <element name="TCustomDrawGrid.HeaderClick.Index">
        <short>Column or row number for the click notification.</short>
      </element>

      <element name="TCustomDrawGrid.HeaderSized">
        <short>Performs actions needed when a column or a row has been resized.</short>
        <descr>
          <p>
            <var>HeaderSized</var> is used to perform actions needed when the header for a column or row has been resized in the grid control.
          </p>
          <p>
            <var>IsColumn</var> indicates whether the sizing action applies to a column or a row. When set to <b>True</b>, the column header has been resized. When set to <b>False</b>, the row header was resized.
          </p>
          <p>
            <var>Index</var> indicates the column or row number in the grid where the resizing action occurred.
          </p>
          <p>
            Calls the inherited method on entry. Signals the <var>OnHeaderSized</var> event handler (when assigned).
          </p>
          <p>
            HeaderSized is called from methods like <var>MouseUp</var> (when column or row sizing is completed) and <var>DblClick</var> (when column sizing is enabled in the grid <var>Options</var>).
          </p>
        </descr>
        <seealso>
          <link id="TCustomDrawGrid.OnHeaderSized"/>
          <link id="TCustomGrid.HeaderSized"/>
        </seealso>
      </element>
      <element name="TCustomDrawGrid.HeaderSized.IsColumn">
        <short>True if a column was resized, False if a Row was resize.</short>
      </element>
      <element name="TCustomDrawGrid.HeaderSized.Index">
        <short>Column or row number for the resize operation.</short>
      </element>

      <element name="TCustomDrawGrid.HeaderSizing">
        <short>Performs actions when resizing a column or row to the specified size.</short>
        <descr>
          <p>
            <var>HeaderSizing</var> is an overridden method used to perform actions when a column or a row is being resized using the mouse. HeaderSizing calls the inherited method on entry, and signals the <var>OnHeaderSizing</var> event handler when assigned.
          </p>
          <p>
            HeaderSizing is called from the <var>DoColSizing</var> and <var>DoRowSizing</var> methods when <var>GridState</var> has the value <var>gsColSizing</var> or <var>gsRowSizing</var>.
          </p>
        </descr>
        <seealso>
          <link id="TCustomGrid.HeaderSizing"/>
        </seealso>
      </element>
      <element name="TCustomDrawGrid.HeaderSizing.IsColumn">
        <short>True when the resize action is for a column, or False for a row.</short>
      </element>
      <element name="TCustomDrawGrid.HeaderSizing.AIndex">
        <short>Column or row index resized in the method.</short>
      </element>
      <element name="TCustomDrawGrid.HeaderSizing.ASize">
        <short>New size for the column or row.</short>
      </element>

      <element name="TCustomDrawGrid.KeyDown">
        <short>Handles key down events for the grid control.</short>
        <descr>
          <p>
            <var>KeyDown</var> is an overridden method in <var>TCustomDrawGrid</var>, and calls the inherited method on entry. KeyDown ensures that the Space (VK_SPACE) key code is properly applied to the control for a cell using the CheckBox button style.
          </p>
          <dl>
            <dt>VK_SPACE (Space)</dt>
            <dd>
              Calls the ToggleCheckbox method to toggle the checked state for the cell at Col and Row. Key is set to 0 (zero) to indicate that is has been handled in the method.
            </dd>
          </dl>
          <p>
            Called from <var>EditorKeyDown</var> when key down events are enabled in the <var>EditorOptions</var> for the control.
          </p>
        </descr>
        <seealso>
          <link id="TCustomGrid.KeyDown"/>
          <link id="TCustomGrid.EditorKeyDown"/>
          <link id="TCustomGrid.EditorOptions"/>
        </seealso>
      </element>
      <element name="TCustomDrawGrid.KeyDown.Key">
        <short>Key code examined in the method.</short>
      </element>
      <element name="TCustomDrawGrid.KeyDown.Shift">
        <short>Shift / Alt / Ctrl modifier for the key code.</short>
      </element>

      <element name="TCustomDrawGrid.NotifyColRowChange">
        <short>Performs a notification when a column or row has been changed.</short>
        <descr>
          <p>
            <var>NotifyColRowChange</var> is a method used to signal an event handler when a column or a row in the grid has been changed.
          </p>
          <p>
            <var>WasInsert</var> determines the event handler signalled in the method. When WasInsert is set to <b>True</b>, the <var>OnColRowInserted</var> event handler is signalled (when assigned). When set to <b>False</b>, the <var>OnColRowDeleted</var> event handler is signalled (when assigned).
          </p>
          <p>
            <var>FromIndex</var> and <var>ToIndex</var> indicate the column(s) or row(s) affected by the change. FromIndex has the column or row number where the action was performed. When a column or row was inserted, ToIndex has the same value as FromIndex. For changes to <var>ColCout</var> or <var>RowCount</var>, FromIndex and ToIndex contain the column or row count prior to and following the change.
          </p>
          <p>
            NotifyColRowChange is called from methods like <var>ColRowInserted</var>, <var>ColRowDeleted</var>, and <var>SizeChanged</var>.
          </p>
        </descr>
        <seealso/>
      </element>
      <element name="TCustomDrawGrid.NotifyColRowChange.WasInsert">
        <short>True if an insert triggered the notification.</short>
      </element>
      <element name="TCustomDrawGrid.NotifyColRowChange.IsColumn">
        <short>True if a column was affected by the change.</short>
      </element>
      <element name="TCustomDrawGrid.NotifyColRowChange.FromIndex">
        <short>Column or row number affected by the change.</short>
      </element>
      <element name="TCustomDrawGrid.NotifyColRowChange.ToIndex">
        <short>Column or row number affected by the change.</short>
      </element>

      <element name="TCustomDrawGrid.SelectCell">
        <short>Determines whether the specified cell can be selected in the grid control.</short>
        <descr>
          <p>
            <var>SelectCell</var> is an overridden <var>Boolean</var> function used to determine whether the cell specified in <var>ACol</var> and <var>ARow</var> can be selected in the grid control. It is used to respond to focus changes for the control.
          </p>
          <p>
            SelectCell calls the inherited method on entry to get the return value for the method. The return value is <b>True</b> when both <var>ColWidths</var> and <var>RowHeights</var> have positive non-zero values for the column and row numbers where the cell is located.
          </p>
          <p>
            SelectCell signals the <var>OnSelectCell</var> event handler (when assigned). The event handler can be used to override the return value based on the column and / or row number.
          </p>
          <p>
            SelectCell is used in the implementation of methods like <var>TryMoveSelection</var>, <var>CheckPosition</var>, <var>SelectEditor</var>, and <var>GetDeltaMoveNext</var>.
          </p>
        </descr>
        <seealso>
          <link id="TCustomGrid.SelectCell"/>
          <link id="TCustomDrawGrid.OnSelectCell"/>
        </seealso>
      </element>
      <element name="TCustomDrawGrid.SelectCell.Result">
        <short>True when the specified cell can be selected in the grid.</short>
      </element>
      <element name="TCustomDrawGrid.SelectCell.ACol">
        <short>Column number for the cell.</short>
      </element>
      <element name="TCustomDrawGrid.SelectCell.ARow">
        <short>Row number for the cell.</short>
      </element>

      <element name="TCustomDrawGrid.SetColor">
        <short>Sets the value for the Color property.</short>
        <descr>
          <p>
            Calls Invalidate to force the grid control to be redrawn.
          </p>
        </descr>
        <seealso>
          <link id="TCustomGrid.SetColor"/>
        </seealso>
      </element>
      <element name="TCustomDrawGrid.SetColor.Value">
        <short>New value for the property.</short>
      </element>

      <element name="TCustomDrawGrid.SetCheckboxState">
        <short>Sets the value for a CheckBox in the specified cell to a given state.</short>
        <descr>
          <p>
            <var>SetCheckboxState</var> is a method used to set the checked, unchecked, or grayed state for a CheckBox in the cell specified by <var>ACol</var> and <var>ARow</var>.<var> AState</var> contains the state value applied to the cell.
          </p>
          <p>
            SetCheckboxState signals the <var>OnSetCheckboxState</var> event handler (when assigned) to perform the actions needed to change the value in the cell. If <var>DefaultDrawing</var> is enabled for the control, the <var>InvalidateCell</var> method is called to force the cell to be redrawn.
          </p>
          <p>
            No actions are performed in the method when OnSetCheckboxState has not been assigned.
          </p>
          <p>
            SetCheckboxState is called from the <var>ToggleCheckbox</var> method to apply the new state value for the CheckBox.
          </p>
        </descr>
        <seealso>
          <link id="TCustomDrawGrid.ToggleCheckbox"/>
          <link id="TCustomDrawGrid.OnSetCheckboxState"/>
          <link id="TCustomDrawGrid.DefaultDrawing"/>
          <link id="TCheckboxState"/>
        </seealso>
      </element>
      <element name="TCustomDrawGrid.SetCheckboxState.ACol">
        <short>Column number for the cell with the CheckBox.</short>
      </element>
      <element name="TCustomDrawGrid.SetCheckboxState.ARow">
        <short>Row number for the cell with the CheckBox.</short>
      </element>
      <element name="TCustomDrawGrid.SetCheckboxState.AState">
        <short>State value for the CheckBox.</short>
      </element>

      <element name="TCustomDrawGrid.SetEditText">
        <short>Sets the value used in the cell Editor to the specified text.</short>
        <descr>
          <p>
            <var>SetEditText</var> is an overridden method used to set the the text displayed in the <var>Editor</var> for the cell specified in <var>ACol</var> and <var>ARow</var>.
          </p>
          <p>
            SetEditText signals the OnSetEditText event handler (when assigned) to get the <var>Value</var> provided to the cell Editor. The inherited method is called to apply the cell value to the editor control.
          </p>
          <p>
            SetEditText is used in <var>KeyDown</var> when the <b>Escape</b> key (<b>VK_ESCAPE</b>) is not handled by the grid control. It is called from the <var>EditorGetValue</var> method when a visible cell Editor is updated. It is called from <var>EditorTextChanged</var> method when the value in a cell Editor has been altered using the <var>Change</var> or <var>Select</var> methods in the editor control.
          </p>
        </descr>
        <seealso>
          <link id="TCustomDrawGrid.OnSetEditText"/>
          <link id="TCustomGrid.SetEditText"/>
        </seealso>
      </element>
      <element name="TCustomDrawGrid.SetEditText.ACol">
        <short>Column number for the cell.</short>
      </element>
      <element name="TCustomDrawGrid.SetEditText.ARow">
        <short>Row number for the cell.</short>
      </element>
      <element name="TCustomDrawGrid.SetEditText.Value">
        <short>New value for the cell Editor.</short>
      </element>

      <element name="TCustomDrawGrid.SizeChanged">
        <short>Performs actions needed when the number or columns or rows has been changed.</short>
        <descr>
          <p>
            <var>SizeChanged</var> is an overridden method in <var>TCustomDrawGrid</var> used to perform actions needed when the number or columns or rows has been changed for the grid control. SizeChanged ensures that the changed values are recorded in the internal virtual grid for the control, and performs a notification for the change.
          </p>
          <p>
            When <var>OldColCount</var> differs from the value in <var>ColCount</var>, the current ColCount is stored in the virtual grid. <var>NotifyColRowChange</var> is called to generate an insert or a delete notification for the change in ColCount.
          </p>
          <p>
            When <var>OldRowCount</var> differs from the value in RowCount, the current <var>RowCount</var> is stored in the virtual grid. <var>NotifyColRowChange</var> is called to generate an insert or a delete notification for the change in RowCount.
          </p>
          <p>
            SizeChanged is called from the <var>AdjustCount</var> and <var>Clear</var> methods.
          </p>
        </descr>
        <seealso>
          <link id="TCustomGrid.SizeChanged"/>
        </seealso>
      </element>
      <element name="TCustomDrawGrid.SizeChanged.OldColCount">
        <short>Previous number of columns.</short>
      </element>
      <element name="TCustomDrawGrid.SizeChanged.OldRowCount">
        <short>Previous number of rows.</short>
      </element>

      <element name="TCustomDrawGrid.ToggleCheckbox">
        <short>Toggles the state for a checkbox cell between the checked and unchecked values.</short>
        <descr>
          <p>
            <var>ToggleCheckbox</var> is a method used to toggle the state for a checkbox located in the cell at <var>Col</var> and <var>Row</var> in the grid control.
          </p>
          <p>
            No actions are performed in the method when Col is not an editable column in the grid. This can occur when <var>goEditing</var> has <b>not</b> been included in the <var>Options</var> for the control. It can also occur if the column definition in <var>Columns</var> has its <var>ReadOnly</var> property set to <b>True</b>.
          </p>
          <p>
            ToggleCheckbox determines the <var>TCheckboxState</var> value for the cell. The default state  is <var>cbGrayed</var>. <var>GetCheckboxState</var> is called to get the current state using the <var>OnGetCheckboxState</var> event handler (when assigned). The value is toggled (<var>cbChecked</var> becomes <var>cbUnchecked</var>, and vice versa). <var>SetCheckboxState</var> is called to apply the toggled value using the <var>OnSetCheckboxState</var> event handler (when assigned), and to redraw the cell.
          </p>
          <p>
            The <var>OnCheckboxToggled</var> event handler is signalled (when assigned) prior to exiting from the method.
          </p>
          <p>
            ToggleCheckbox is called from the <var>CellClick</var> method when a left mouse button click occurs in the cell. It is also called from the <var>KeyDown</var> method when the <b>Space (VK_SPACE)</b> key is applied for the cell.
          </p>
        </descr>
        <seealso/>
      </element>

      <element name="TCustomDrawGrid.OnGetCheckboxState">
        <short>Event handler signalled to get the state for a checkbox cell.</short>
        <descr>
          <p>
            <var>OnGetCheckboxState</var> is a <var>TGetCheckboxStateEvent</var> property with the event handler signalled to get the state for a checkbox cell. The <var>ACol</var> and <var>ARow</var> parameters contain the position for the cell. <var>Value</var> contains the <var>TCheckBoxState</var> value for the cell as assigned in the event handler.
          </p>
          <p>
            OnGetCheckboxState provides the only mechanism to get the state value for a Checkbox cell in <var>TCustomDrawGrid</var> / <var>TDrawGrid</var>. This differs from <var>TCustomStringGrid</var> / <var>TStringGrid</var>, where the <var>TGridColumn</var> instance in Columns can is used (when enabled) to get the checked or unchecked value and determine the state for the cell. This approach can be implemented in the event handler; it is not provided by default.
          </p>
          <p>
            OnGetCheckboxState is signalled (when assigned) from the GetCheckBoxState method.
          </p>
          <p>
            Use <var>OnSetCheckboxState</var> to set the state for the CheckBox cell.
          </p>
        </descr>
        <seealso/>
      </element>

      <element name="TCustomDrawGrid.OnSetCheckboxState">
        <short>Event handler signalled to set the state for a checkbox cell.</short>
        <descr>
          <p>
            <var>OnSetCheckboxState</var> is a <var>TSetCheckboxStateEvent</var> property with the event handler signalled to set the state for a checkbox cell. The <var>ACol</var> and <var>ARow</var> parameters contain the position for the cell. <var>Value</var> contains the <var>TCheckBoxState</var> value stored in the cell.
          </p>
          <p>
            OnSetCheckboxState provides the only mechanism to set the state value for a Checkbox cell in <var>TCustomDrawGrid</var> / <var>TDrawGrid</var>. This differs from <var>TCustomStringGrid</var> / <var>TStringGrid</var>, where the <var>TGridColumn</var> instance in Columns can is used (when enabled) to get the checked or unchecked value and determine the state value stored in the cell. This approach can be implemented in the event handler; it is not provided by default.
          </p>
          <p>
            OnSetCheckboxState is signalled (when assigned) from the SetCheckBoxState method.
          </p>
          <p>
            Use <var>OnGetCheckboxState</var> to get the state for the CheckBox cell.
          </p>
        </descr>
        <seealso/>
        <seealso/>
      </element>

      <element name="TCustomDrawGrid.Create">
        <short>Constructor for the class instance.</short>
        <descr>
          <p>
            <var>Create</var> is the overridden constructor for <var>TCustomDrawGrid</var>. Creates the  virtual grid used in the control, and calls the inherited constructor prior to exiting from the method.
          </p>
        </descr>
        <seealso>
          <link id="TCustomGrid.Create"/>
        </seealso>
      </element>
      <element name="TCustomDrawGrid.Create.AOwner">
        <short>Owner of the grid control.</short>
      </element>

      <element name="TCustomDrawGrid.Destroy">
        <short>Destructor for the class instance.</short>
        <descr>
          <p>
            <var>Destroy</var> is the overridden destructor for the class instance. Destroy frees resources allocated to the member used for the internal virtual grid in the control. Destroy calls the inherited destructor prior to exiting from the method.
          </p>
        </descr>
        <seealso>
          <link id="TCustomGrid.Destroy"/>
        </seealso>
      </element>

      <element name="TCustomDrawGrid.DeleteColRow">
        <short>Deletes a column or a row at the specified position.</short>
        <descr>
          <p>
            DeleteColRow is a method used to delete the column or row at the specified position.
          </p>
          <p>
            IsColumn determines whether a column or a row is affected in the operation. When set to True, a column is deleted. Otherwise, a row is deleted.
          </p>
          <p>
            Index contains the column or row number deleted in the method. An exception will be raised if Index contains an invalid value for the ColCount or RowCount in the grid control.
          </p>
          <p>
            DeleteColRow calls DoOPDeleteColRow with the parameter values to perform the delete operation.
          </p>
          <p>
            DeleteColRow is used in the implementation of the <var>DeleteCol</var> and <var>DeleteRow</var> methods.
          </p>
          <p>
            Use <var>InsertColRow</var> to insert a column or row at a given position in the grid. Use <var>MoveColRow</var> to move a column or row to a new position in the grid. Use <var>ExchangeColRow</var> to swap column or row values at the specified positions in the grid.
          </p>
        </descr>
        <seealso/>
      </element>
      <element name="TCustomDrawGrid.DeleteColRow.IsColumn">
        <short>True to delete a column in the method, False for a row.</short>
      </element>
      <element name="TCustomDrawGrid.DeleteColRow.Index">
        <short>Column or row number deleted in the method.</short>
      </element>

      <element name="TCustomDrawGrid.DeleteCol">
        <short>Deletes the column at the specified position.</short>
        <descr>
          <p>
            Calls <var>DeleteColRow</var> to delete the column number specified in <var>Index</var>.
          </p>
        </descr>
        <seealso>
          <link id="TCustomDrawGrid.DeleteColRow"/>
        </seealso>
      </element>
      <element name="TCustomDrawGrid.DeleteCol.Index">
        <short>Position for the column removed in the method.</short>
      </element>

      <element name="TCustomDrawGrid.DeleteRow">
        <short>Deletes the row at the specified position.</short>
        <descr>
          <p>
            Calls <var>DeleteColRow</var> to delete the row number specified in <var>Index</var>.
          </p>
        </descr>
        <seealso>
          <link id="TCustomDrawGrid.DeleteColRow"/>
        </seealso>
      </element>
      <element name="TCustomDrawGrid.DeleteRow.Index">
        <short>Position for the row removed in the method.</short>
      </element>

      <element name="TCustomDrawGrid.ExchangeColRow">
        <short>Exchanges column or row values at the specified positions.</short>
        <descr/>
        <seealso/>
      </element>
      <element name="TCustomDrawGrid.ExchangeColRow.IsColumn">
        <short>True when the index positions refer to columns.</short>
      </element>
      <element name="TCustomDrawGrid.ExchangeColRow.Index">
        <short>Position for the first column in the exchange.</short>
      </element>
      <element name="TCustomDrawGrid.ExchangeColRow.WithIndex">
        <short>Position for the second column in the exchange.</short>
      </element>

      <element name="TCustomDrawGrid.InsertColRow">
        <short>Inserts a column or a row at the specified position.</short>
        <descr/>
        <seealso/>
      </element>
      <element name="TCustomDrawGrid.InsertColRow.IsColumn">
        <short>True when a column should be inserted in the method.</short>
      </element>
      <element name="TCustomDrawGrid.InsertColRow.Index">
        <short>Position where the column or row is inserted in the grid.</short>
      </element>

      <element name="TCustomDrawGrid.MoveColRow">
        <short>
          Moves a column or a row from a specified position to a new position in the grid.
        </short>
        <descr>
          <p>
            Implemented using the DoOPMoveColRow method.
          </p>
          <p>
            Values in FromIndex and ToIndex must be valid column or row numbers for the control. An EGridException is raised if either value is not valid.
          </p>
          <p>
            No actions are performed in the method if FromIndex and ToIndex have the same value.
          </p>
          <p>
            No actions are performed in the method if IsColumn is <b>True</b> and columns are locked using the GridFlags. This occurs when a column index is being updated in the control.
          </p>
          <p>
            Calls ColRowMoved to perform a notification when the column or row has been moved.
          </p>
          <p>
            Calls VisualChange if the Columns collection has not been enabled in the control, or when IsColumn is <b>False</b>.
          </p>
          <p>
            Updates the bounds for the cell editor when it is located in a column or row affected in the method.
          </p>
          <p>
            Updates the value in SortColumn if it is affected in the method.
          </p>
        </descr>
        <seealso/>
      </element>
      <element name="TCustomDrawGrid.MoveColRow.IsColumn">
        <short>True when a column is moved in the method.</short>
      </element>
      <element name="TCustomDrawGrid.MoveColRow.FromIndex">
        <short>Position for the column or row moved in the moved.</short>
      </element>
      <element name="TCustomDrawGrid.MoveColRow.ToIndex">
        <short>New position where the column or row is stored.</short>
      </element>

      <element name="TCustomDrawGrid.SortColRow">
        <short>Sorts the data in a column or row using the specified positions.</short>
        <descr/>
        <seealso/>
      </element>
      <element name="TCustomDrawGrid.SortColRow.IsColumn">
        <short>True when values in a column are sorted, False to sort values in a row.</short>
      </element>
      <element name="TCustomDrawGrid.SortColRow.Index">
        <short>Column or row number sorted in the method.</short>
      </element>
      <element name="TCustomDrawGrid.SortColRow.FromIndex">
        <short>Starting position sorted in the column or row.</short>
      </element>
      <element name="TCustomDrawGrid.SortColRow.ToIndex">
        <short>Ending position sorted in the column or row.</short>
      </element>

      <element name="TCustomDrawGrid.DefaultDrawCell">
        <short>The default method used to draw the cell at the given position using a specific state.</short>
        <descr>
          <p>
            <var>DefaultDrawCell</var> is a method which provides the default drawing routine for the cell at the position specified in <var>ACol</var> and <var>ARow</var>. The bounds for the cell are provided in the <var>ARect</var> parameter. <var>AState</var> contains the drawing state for the cell.
          </p>
          <p>
            DefaultDrawCell handles the following drawing tasks when needed for the specified cell:
          </p>
          <ul>
            <li>
              Draws fixed cells using the TitleStyle for the control. Calls DrawThemedCell when TitleStyle is set to tsNative. Otherwise, DrawFillRect is used.
            </li>
            <li>
              Draws the bitmap needed for a cell using the CheckBox button style. Calls DrawCellCheckboxBitmaps to render the bitmap for the checkbox control.
            </li>
            <li>
              Draws a cell using the Button style. Calls DrawButtonCell to render the button in the required state.
            </li>
            <li>
              Draws auto-numbered fixed row headers when enabled in the Options for the control. Calls DrawCellAutonumbering to render the relative non-fixed row number.
            </li>
            <li>
              Draws the text displayed in the cell. Calls DrawColumnText when the cell is a fixed column header. Otherwise, the DrawTextInCell method is used.
            </li>
          </ul>
          <p>
            DefaultDrawCell is called from the DrawCell method. It is used when the DefaultDrawing property is set to True, and occurs prior to signalling the OnDrawCell event handler (when assigned). It is always called when OnDrawCell has not been assigned.
          </p>
        </descr>
        <seealso>
          <link id="TCustomDrawGrid.DrawCell"/>
          <link id="TCustomDrawGrid.DefaultDrawing"/>
          <link id="TCustomDrawGrid.OnDrawCell"/>
          <link id="TCustomGrid.TitleStyle"/>
        </seealso>
      </element>
      <element name="TCustomDrawGrid.DefaultDrawCell.ACol">
        <short>Column number for the cell.</short>
      </element>
      <element name="TCustomDrawGrid.DefaultDrawCell.ARow">
        <short>Row number for the cell.</short>
      </element>
      <element name="TCustomDrawGrid.DefaultDrawCell.ARect">
        <short>Rectangle with the bounds for the cell.</short>
      </element>
      <element name="TCustomDrawGrid.DefaultDrawCell.AState">
        <short>Drawing state for the cell.</short>
      </element>

      <element name="TCustomDrawGrid.AllowOutboundEvents" link="#lcl.grids.TCustomGrid.AllowOutboundEvents"/>
      <element name="TCustomDrawGrid.BorderColor" link="#lcl.grids.TCustomGrid.BorderColor"/>
      <element name="TCustomDrawGrid.Canvas" link="#lcl.controls.TCustomControl.Canvas"/>
      <element name="TCustomDrawGrid.Col" link="#lcl.grids.TCustomGrid.Col"/>
      <element name="TCustomDrawGrid.ColWidths" link="#lcl.grids.TCustomGrid.ColWidths"/>
      <element name="TCustomDrawGrid.ColRow" link="#lcl.grids.TCustomGrid.ColRow"/>
      <element name="TCustomDrawGrid.DisabledFontColor" link="#lcl.grids.TCustomGrid.DisabledFontColor"/>
      <element name="TCustomDrawGrid.Editor" link="#lcl.grids.TCustomGrid.Editor"/>
      <element name="TCustomDrawGrid.EditorBorderStyle" link="#lcl.grids.TCustomGrid.EditorBorderStyle"/>
      <element name="TCustomDrawGrid.EditorMode" link="#lcl.grids.TCustomGrid.EditorMode"/>
      <element name="TCustomDrawGrid.ExtendedColSizing" link="#lcl.grids.TCustomGrid.ExtendedColSizing"/>
      <element name="TCustomDrawGrid.AltColorStartNormal" link="#lcl.grids.TCustomGrid.AltColorStartNormal"/>
      <element name="TCustomDrawGrid.FastEditing" link="#lcl.grids.TCustomGrid.FastEditing"/>
      <element name="TCustomDrawGrid.FixedGridLineColor" link="#lcl.grids.TCustomGrid.FixedGridLineColor"/>
      <element name="TCustomDrawGrid.FocusColor" link="#lcl.grids.TCustomGrid.FocusColor"/>
      <element name="TCustomDrawGrid.FocusRectVisible" link="#lcl.grids.TCustomGrid.FocusRectVisible"/>
      <element name="TCustomDrawGrid.GridHeight" link="#lcl.grids.TCustomGrid.GridHeight"/>
      <element name="TCustomDrawGrid.GridWidth" link="#lcl.grids.TCustomGrid.GridWidth"/>
      <element name="TCustomDrawGrid.IsCellSelected" link="#lcl.grids.TCustomGrid.IsCellSelected"/>
      <element name="TCustomDrawGrid.LeftCol" link="#lcl.grids.TCustomGrid.LeftCol"/>
      <element name="TCustomDrawGrid.Row" link="#lcl.grids.TCustomGrid.Row"/>
      <element name="TCustomDrawGrid.RowHeights" link="#lcl.grids.TCustomGrid.RowHeights"/>
      <element name="TCustomDrawGrid.SaveOptions" link="#lcl.grids.TCustomGrid.SaveOptions"/>
      <element name="TCustomDrawGrid.SelectedColor" link="#lcl.grids.TCustomGrid.SelectedColor"/>
      <element name="TCustomDrawGrid.SelectedColumn" link="#lcl.grids.TCustomGrid.SelectedColumn"/>
      <element name="TCustomDrawGrid.Selection" link="#lcl.grids.TCustomGrid.Selection"/>
      <element name="TCustomDrawGrid.StrictSort" link="#lcl.grids.TCustomGrid.StrictSort"/>
      <element name="TCustomDrawGrid.TopRow" link="#lcl.grids.TCustomGrid.TopRow"/>
      <element name="TCustomDrawGrid.UseXORFeatures" link="#lcl.grids.TCustomGrid.UseXORFeatures"/>
      <element name="TCustomDrawGrid.Align" link="#lcl.controls.TControl.Align"/>
      <element name="TCustomDrawGrid.Anchors" link="#lcl.controls.TControl.Anchors"/>
      <element name="TCustomDrawGrid.AutoAdvance" link="#lcl.grids.TCustomGrid.AutoAdvance" />
      <element name="TCustomDrawGrid.AutoFillColumns" link="#lcl.grids.TCustomGrid.AutoFillColumns"/>
      <element name="TCustomDrawGrid.BorderSpacing" link="#lcl.controls.TControl.BorderSpacing"/>
      <element name="TCustomDrawGrid.BorderStyle" link="#lcl.controls.TWinControl.BorderStyle"/>
      <element name="TCustomDrawGrid.Color" link="#lcl.controls.TControl.Color"/>
      <element name="TCustomDrawGrid.ColCount" link="#lcl.grids.TCustomGrid.ColCount" />
      <element name="TCustomDrawGrid.Columns" link="#lcl.grids.TCustomGrid.Columns"/>
      <element name="TCustomDrawGrid.Constraints" link="#lcl.controls.TControl.Constraints"/>
      <element name="TCustomDrawGrid.DefaultColWidth" link="#lcl.grids.TCustomGrid.DefaultColWidth"/>
      <element name="TCustomDrawGrid.DefaultDrawing" link="#lcl.grids.TCustomGrid.DefaultDrawing"/>
      <element name="TCustomDrawGrid.DefaultRowHeight" link="#lcl.grids.TCustomGrid.DefaultRowHeight"/>
      <element name="TCustomDrawGrid.Enabled" link="#lcl.controls.TControl.Enabled"/>
      <element name="TCustomDrawGrid.FixedColor" link="#lcl.grids.TCustomGrid.FixedColor"/>
      <element name="TCustomDrawGrid.FixedCols" link="#lcl.grids.TCustomGrid.FixedCols"/>
      <element name="TCustomDrawGrid.FixedHotColor" link="#lcl.grids.TCustomGrid.FixedHotColor"/>
      <element name="TCustomDrawGrid.FixedRows" link="#lcl.grids.TCustomGrid.FixedRows"/>
      <element name="TCustomDrawGrid.Flat" link="#lcl.grids.TCustomGrid.Flat"/>
      <element name="TCustomDrawGrid.Font" link="#lcl.controls.TControl.Font"/>
      <element name="TCustomDrawGrid.GridLineColor" link="#lcl.grids.TCustomGrid.GridLineColor"/>
      <element name="TCustomDrawGrid.GridLineStyle" link="#lcl.grids.TCustomGrid.GridLineStyle"/>
      <element name="TCustomDrawGrid.GridLineWidth" link="#lcl.grids.TCustomGrid.GridLineWidth" />
      <element name="TCustomDrawGrid.Options" link="#lcl.grids.TCustomGrid.Options"/>
      <element name="TCustomDrawGrid.Options2" link="#lcl.grids.TCustomGrid.Options2"/>
      <element name="TCustomDrawGrid.ParentShowHint" link="#lcl.controls.TControl.ParentShowHint"/>
      <element name="TCustomDrawGrid.PopupMenu" link="#lcl.controls.TControl.PopupMenu"/>
      <element name="TCustomDrawGrid.RowCount" link="#lcl.grids.TCustomGrid.RowCount"/>
      <element name="TCustomDrawGrid.ScrollBars" link="#lcl.grids.TCustomGrid.ScrollBars"/>
      <element name="TCustomDrawGrid.ShowHint" link="#lcl.controls.TControl.ShowHint"/>
      <element name="TCustomDrawGrid.TabAdvance" link="#lcl.grids.TCustomGrid.TabAdvance"/>
      <element name="TCustomDrawGrid.TabOrder" link="#lcl.controls.TWinControl.TabOrder"/>
      <element name="TCustomDrawGrid.TabStop" link="#lcl.controls.TWinControl.TabStop"/>
      <element name="TCustomDrawGrid.Visible" link="#lcl.controls.TControl.Visible"/>
      <element name="TCustomDrawGrid.VisibleColCount" link="#lcl.grids.TCustomGrid.VisibleColCount"/>
      <element name="TCustomDrawGrid.VisibleRowCount" link="#lcl.grids.TCustomGrid.VisibleRowCount"/>
      <element name="TCustomDrawGrid.OnAfterSelection" link="#lcl.grids.TCustomGrid.OnAfterSelection"/>
      <element name="TCustomDrawGrid.OnBeforeSelection" link="#lcl.grids.TCustomGrid.OnBeforeSelection" />
      <element name="TCustomDrawGrid.OnClick" link="#lcl.controls.TControl.OnClick"/>

      <element name="TCustomDrawGrid.OnColRowDeleted">
        <short>Event handler signalled when a grid column or row is deleted.</short>
        <descr/>
        <seealso/>
      </element>

      <element name="TCustomDrawGrid.OnColRowExchanged">
        <short>Event handler signalled when a column or row has been exchanged with another.</short>
        <descr/>
        <seealso/>
      </element>

      <element name="TCustomDrawGrid.OnColRowInserted">
        <short>Event handler signalled when a column or row is inserted into the grid.</short>
        <descr/>
        <seealso/>
      </element>

      <element name="TCustomDrawGrid.OnColRowMoved">
        <short>Event handler signalled when a column or row in the grid is moved.</short>
        <descr/>
        <seealso/>
      </element>

      <element name="TCustomDrawGrid.OnCompareCells">
        <short>Event handler signalled to compare the content in cells </short>
        <descr/>
        <seealso/>
      </element>

      <element name="TCustomDrawGrid.OnContextPopup" link="#lcl.controls.TControl.OnContextPopup"/>
      <element name="TCustomDrawGrid.OnDblClick" link="#lcl.controls.TControl.OnDblClick"/>
      <element name="TCustomDrawGrid.OnDragDrop" link="#lcl.controls.TControl.OnDragDrop"/>
      <element name="TCustomDrawGrid.OnDragOver" link="#lcl.controls.TControl.OnDragOver"/>
      <element name="TCustomDrawGrid.OnDrawCell" link="#lcl.grids.TCustomGrid.OnDrawCell"/>
      <element name="TCustomDrawGrid.OnEditButtonClick" link="#lcl.grids.TCustomGrid.OnEditButtonClick"/>
      <element name="TCustomDrawGrid.OnButtonClick" link="#lcl.grids.TCustomGrid.OnButtonClick"/>
      <element name="TCustomDrawGrid.OnEndDock" link="#lcl.controls.TControl.OnEndDock"/>
      <element name="TCustomDrawGrid.OnEndDrag" link="#lcl.controls.TControl.OnEndDrag"/>
      <element name="TCustomDrawGrid.OnEnter" link="#lcl.controls.TWinControl.OnEnter"/>
      <element name="TCustomDrawGrid.OnExit" link="#lcl.controls.TWinControl.OnExit"/>

      <element name="TCustomDrawGrid.OnGetEditMask">
        <short>Event handler signalled to get the edit mask used for a grid cell.</short>
        <descr/>
        <seealso/>
      </element>

      <element name="TCustomDrawGrid.OnGetEditText">
        <short>Event handler signalled to get the value for a cell editor in the grid.</short>
        <descr/>
        <seealso/>
      </element>

      <element name="TCustomDrawGrid.OnHeaderClick">
        <short>Event handler signalled when the fixed header for a column or row is clicked.</short>
        <descr/>
        <seealso/>
      </element>

      <element name="TCustomDrawGrid.OnHeaderSized">
        <short>Event handler signalled when a column or row header has been re-sized.</short>
        <descr/>
        <seealso/>
      </element>

      <element name="TCustomDrawGrid.OnHeaderSizing">
        <short>Event handler signalled when a column or row header sizing action is performed.</short>
        <descr/>
        <seealso>
          <link id="TCustomDrawGrid.OnHeaderSized"/>
          <link id="THeaderSizingEvent"/>
        </seealso>
      </element>

      <element name="TCustomDrawGrid.OnKeyDown" link="#lcl.controls.TWinControl.OnKeyDown"/>
      <element name="TCustomDrawGrid.OnKeyPress" link="#lcl.controls.TWinControl.OnKeyPress"/>
      <element name="TCustomDrawGrid.OnKeyUp" link="#lcl.controls.TWinControl.OnKeyUp"/>
      <element name="TCustomDrawGrid.OnMouseDown" link="#lcl.controls.TControl.OnMouseDown"/>
      <element name="TCustomDrawGrid.OnMouseEnter" link="#lcl.controls.TControl.OnMouseEnter"/>
      <element name="TCustomDrawGrid.OnMouseLeave" link="#lcl.controls.TControl.OnMouseLeave"/>
      <element name="TCustomDrawGrid.OnMouseMove" link="#lcl.controls.TControl.OnMouseMove"/>
      <element name="TCustomDrawGrid.OnMouseUp" link="#lcl.controls.TControl.OnMouseUp"/>
      <element name="TCustomDrawGrid.OnMouseWheel" link="#lcl.controls.TControl.OnMouseWheel"/>
      <element name="TCustomDrawGrid.OnMouseWheelDown" link="#lcl.controls.TControl.OnMouseWheelDown"/>
      <element name="TCustomDrawGrid.OnMouseWheelUp" link="#lcl.controls.TControl.OnMouseWheelUp"/>
      <element name="TCustomDrawGrid.OnPickListSelect" link="#lcl.grids.TCustomGrid.OnPickListSelect"/>
      <element name="TCustomDrawGrid.OnPrepareCanvas" link="#lcl.grids.TCustomGrid.OnPrepareCanvas"/>
      <element name="TCustomDrawGrid.OnSelectEditor" link="#lcl.grids.TCustomGrid.OnSelectEditor"/>
      <element name="TCustomDrawGrid.OnSelection" link="#lcl.grids.TCustomGrid.OnSelection"/>

      <element name="TCustomDrawGrid.OnSelectCell">
        <short>Event handler signalled when a grid cell is selected.</short>
        <descr>
          <p>
            <var>OnSelectCell</var> is a <var>TOnSelectCellEvent</var> property with the event handler signalled when a cell is selected in the grid control. OnSelectCell is signalled from the <var>SelectCell</var> method. It occurs when a change in the current cell selection has been or is about to be performed, or when a cell editor is selected for the grid control. The <var>CanSelect</var> argument allows the event handler to control whether the cell at <var>ACol</var> and <var>ARow</var> can be selected.
          </p>
        </descr>
        <seealso>
          <link id="TCustomDrawGrid.SelectCell"/>
          <link id="TCustomGrid.CheckPosition"/>
          <link id="TCustomGrid.SelectEditor"/>
          <link id="TOnSelectCellEvent"/>
        </seealso>
      </element>

      <element name="TCustomDrawGrid.OnSetEditText">
        <short>Event handler signalled when the text in the cell Editor is assigned.</short>
        <descr>
          <p>
            <var>OnSetEditText</var> is a <var>TSetEditEvent</var> property with the event handler signalled when the text in the cell Editor is assigned. OnSetEditText is signalled from the <var>SetEditText</var> method immediately before calling the inherited SetEditText method. The <var>Sender</var> argument is the current grid instance for the notification.
          </p>
        </descr>
        <seealso>
          <link id="TCustomDrawGrid.SetEditText"/>
          <link id="TCustomGrid.EditorTextChanged"/>
          <link id="TStringCellEditor.KeyDown"/>
          <link id="TSetEditEvent"/>
        </seealso>
      </element>

      <element name="TCustomDrawGrid.OnStartDock" link="#lcl.controls.TControl.OnStartDock"/>
      <element name="TCustomDrawGrid.OnStartDrag" link="#lcl.controls.TControl.OnStartDrag"/>
      <element name="TCustomDrawGrid.OnTopLeftChanged" link="#lcl.grids.TCustomGrid.OnTopLeftChanged"/>
      <element name="TCustomDrawGrid.OnUTF8KeyPress" link="#lcl.controls.TWinControl.OnUTF8KeyPress"/>
      <element name="TCustomDrawGrid.OnValidateEntry" link="#lcl.grids.TCustomGrid.OnValidateEntry"/>

      <element name="TDrawGrid">
        <short>Implements a custom-drawn grid control.</short>
        <descr>
          <p>
            <var>TDrawGrid</var> is a <var>TCustomDrawGrid</var> descendant which implements a custom-drawn grid control. The control represents it information as a matrix of rows and columns, and is oriented towards rendering both graphical information and textual content.
          </p>
          <p>
            The <var>OnDrawCell</var> event handler is used to render the cell content in the grid, and can be used to render images or directly access the <var>Canvas</var> for the control. Default cell drawing logic is also implemented using the properties and methods from the ancestor class.
          </p>
          <p>
            TDrawGrid sets the visibility for properties introduced in the <var>TCustomDrawGrid</var> ancestor, and does not provide any new functionality.
          </p>
        </descr>
        <seealso>
          <link id="HowToUseGrids"/>
          <link id="TCustomGrid"/>
          <link id="TCustomDrawGrid"/>
          <link id="TOnDrawCell"/>
        </seealso>
      </element>

      <element name="TDrawGrid.InplaceEditor" link="#lcl.grids.TCustomGrid.InplaceEditor"/>
      <element name="TDrawGrid.Align" link="#lcl.controls.TControl.Align"/>
      <element name="TDrawGrid.AlternateColor" link="#lcl.grids.TCustomGrid.AlternateColor"/>
      <element name="TDrawGrid.Anchors" link="#lcl.controls.TControl.Anchors"/>
      <element name="TDrawGrid.AutoAdvance" link="#lcl.grids.TCustomGrid.AutoAdvance"/>
      <element name="TDrawGrid.AutoEdit" link="#lcl.grids.TCustomGrid.AutoEdit"/>
      <element name="TDrawGrid.AutoFillColumns" link="#lcl.grids.TCustomGrid.AutoFillColumns"/>
      <element name="TDrawGrid.BorderSpacing" link="#lcl.controls.TControl.BorderSpacing"/>
      <element name="TDrawGrid.BorderStyle" link="#lcl.controls.TWinControl.BorderStyle"/>
      <element name="TDrawGrid.Color" link="#lcl.controls.TControl.Color"/>
      <element name="TDrawGrid.ColCount" link="#lcl.grids.TCustomGrid.ColCount"/>
      <element name="TDrawGrid.ColRowDraggingCursor" link="#lcl.grids.TCustomGrid.ColRowDraggingCursor"/>
      <element name="TDrawGrid.ColRowDragIndicatorColor" link="#lcl.grids.TCustomGrid.ColRowDragIndicatorColor"/>
      <element name="TDrawGrid.ColSizingCursor" link="#lcl.grids.TCustomGrid.ColSizingCursor"/>
      <element name="TDrawGrid.ColumnClickSorts" link="#lcl.grids.TCustomGrid.ColumnClickSorts"/>
      <element name="TDrawGrid.Columns" link="#lcl.grids.TCustomGrid.Columns"/>
      <element name="TDrawGrid.Constraints" link="#lcl.controls.TControl.Constraints"/>
      <element name="TDrawGrid.DefaultColWidth" link="#lcl.grids.TCustomGrid.DefaultColWidth"/>
      <element name="TDrawGrid.DefaultDrawing" link="#lcl.grids.TCustomGrid.DefaultDrawing"/>
      <element name="TDrawGrid.DefaultRowHeight" link="#lcl.grids.TCustomGrid.DefaultRowHeight"/>
      <element name="TDrawGrid.DoubleBuffered" link="#lcl.controls.TWinControl.DoubleBuffered"/>
      <element name="TDrawGrid.DragCursor" link="#lcl.controls.TControl.DragCursor"/>
      <element name="TDrawGrid.DragKind" link="#lcl.controls.TControl.DragKind"/>
      <element name="TDrawGrid.DragMode" link="#lcl.controls.TControl.DragMode"/>
      <element name="TDrawGrid.Enabled" link="#lcl.controls.TControl.Enabled"/>
      <element name="TDrawGrid.ExtendedSelect" link="#lcl.grids.TCustomGrid.ExtendedSelect"/>
      <element name="TDrawGrid.FixedColor" link="#lcl.grids.TCustomGrid.FixedColor"/>
      <element name="TDrawGrid.FixedCols" link="#lcl.grids.TCustomGrid.FixedCols"/>
      <element name="TDrawGrid.FixedRows" link="#lcl.grids.TCustomGrid.FixedRows"/>
      <element name="TDrawGrid.Flat" link="#lcl.grids.TCustomGrid.Flat"/>
      <element name="TDrawGrid.Font" link="#lcl.controls.TControl.Font"/>
      <element name="TDrawGrid.GridLineColor" link="#lcl.grids.TCustomGrid.GridLineColor"/>
      <element name="TDrawGrid.GridLineStyle" link="#lcl.grids.TCustomGrid.GridLineStyle"/>
      <element name="TDrawGrid.GridLineWidth" link="#lcl.grids.TCustomGrid.GridLineWidth"/>
      <element name="TDrawGrid.HeaderHotZones" link="#lcl.grids.TCustomGrid.HeaderHotZones"/>
      <element name="TDrawGrid.HeaderPushZones" link="#lcl.grids.TCustomGrid.HeaderPushZones"/>
      <element name="TDrawGrid.ImageIndexSortAsc" link="#lcl.grids.TCustomGrid.ImageIndexSortAsc"/>
      <element name="TDrawGrid.ImageIndexSortDesc" link="#lcl.grids.TCustomGrid.ImageIndexSortDesc"/>
      <element name="TDrawGrid.MouseWheelOption" link="#lcl.grids.TCustomGrid.MouseWheelOption"/>
      <element name="TDrawGrid.Options" link="#lcl.grids.TCustomGrid.Options"/>
      <element name="TDrawGrid.Options2" link="#lcl.grids.TCustomGrid.Options2"/>

      <element name="TDrawGrid.ParentColor">
        <short>
          Uses the Color from the Parent control, when enabled.
        </short>
        <descr>
          <p>
            ParentColor determines if the control should use the Color from the Parent control, when enabled. The default value for the property is False in TDrawGrid.
          </p>
          <p>
            When this property is True, all changes to the Color of the parent will also be applied to the Color of the control, ensuring that they both contain same value. If the Color of the control is changed by the application, then ParentColor will be automatically set to False.
          </p>
         <p>
           Using ParentColor when the Color value is clDefault can cause problems in resolving the actual color value. To obtain the Color property of a control while taking into account clDefault and ParentColor, use the GetColorResolvingParent method. This method might return a non-RGB color, but will never return clDefault. To obtain a purely RGB result use the GetRGBColorResolvingParent method.
         </p>
        </descr>
        <seealso>
          <link id="#lcl.controls.TControl.ParentColor">TControl.ParentColor</link>
          <link id="#lcl.controls.TControl.Color">TControl.Color</link>
          <link id="#lcl.controls.TControl.GetColorResolvingParent">TControl.GetColorResolvingParent</link>
          <link id="#lcl.controls.TControl.GetRGBColorResolvingParent">TControl.GetRGBColorResolvingParent</link>
        </seealso>
      </element>

      <element name="TDrawGrid.ParentDoubleBuffered" link="#lcl.controls.TWinControl.ParentDoubleBuffered"/>
      <element name="TDrawGrid.ParentFont" link="#lcl.controls.TControl.ParentFont"/>
      <element name="TDrawGrid.ParentShowHint" link="#lcl.controls.TControl.ParentShowHint"/>
      <element name="TDrawGrid.PopupMenu" link="#lcl.controls.TControl.PopupMenu"/>
      <element name="TDrawGrid.RangeSelectMode" link="#lcl.grids.TCustomGrid.RangeSelectMode"/>
      <element name="TDrawGrid.RowCount" link="#lcl.grids.TCustomGrid.RowCount"/>
      <element name="TDrawGrid.RowSizingCursor" link="#lcl.grids.TCustomGrid.RowSizingCursor"/>
      <element name="TDrawGrid.ScrollBars" link="#lcl.grids.TCustomGrid.ScrollBars"/>
      <element name="TDrawGrid.ShowHint" link="#lcl.controls.TControl.ShowHint"/>
      <element name="TDrawGrid.TabAdvance" link="#lcl.grids.TCustomGrid.TabAdvance"/>
      <element name="TDrawGrid.TabOrder" link="#lcl.controls.TWinControl.TabOrder"/>
      <element name="TDrawGrid.TabStop" link="#lcl.controls.TWinControl.TabStop"/>
      <element name="TDrawGrid.TitleFont" link="#lcl.grids.TCustomGrid.TitleFont"/>
      <element name="TDrawGrid.TitleImageList" link="#lcl.grids.TCustomGrid.TitleImageList"/>
      <element name="TDrawGrid.TitleImageListWidth" link="#lcl.grids.TCustomGrid.TitleImageListWidth"/>
      <element name="TDrawGrid.TitleStyle" link="#lcl.grids.TCustomGrid.TitleStyle"/>
      <element name="TDrawGrid.UseXORFeatures" link="#lcl.grids.TCustomGrid.UseXORFeatures"/>
      <element name="TDrawGrid.Visible" link="#lcl.controls.TControl.Visible"/>
      <element name="TDrawGrid.VisibleColCount" link="#lcl.grids.TCustomGrid.VisibleColCount"/>
      <element name="TDrawGrid.VisibleRowCount" link="#lcl.grids.TCustomGrid.VisibleRowCount"/>
      <element name="TDrawGrid.OnAfterSelection" link="#lcl.grids.TCustomGrid.OnAfterSelection"/>
      <element name="TDrawGrid.OnBeforeSelection" link="#lcl.grids.TCustomGrid.OnBeforeSelection"/>
      <element name="TDrawGrid.OnCheckboxToggled" link="#lcl.grids.TCustomGrid.OnCheckboxToggled"/>
      <element name="TDrawGrid.OnClick" link="#lcl.controls.TControl.OnClick"/>
      <element name="TDrawGrid.OnColRowDeleted" link="#lcl.grids.TCustomDrawGrid.OnColRowDeleted"/>
      <element name="TDrawGrid.OnColRowExchanged" link="#lcl.grids.TCustomDrawGrid.OnColRowExchanged"/>
      <element name="TDrawGrid.OnColRowInserted" link="#lcl.grids.TCustomDrawGrid.OnColRowInserted"/>
      <element name="TDrawGrid.OnColRowMoved" link="#lcl.grids.TCustomDrawGrid.OnColRowMoved"/>
      <element name="TDrawGrid.OnCompareCells" link="#lcl.grids.TCustomGrid.OnCompareCells"/>
      <element name="TDrawGrid.OnContextPopup" link="#lcl.controls.TControl.OnContextPopup"/>
      <element name="TDrawGrid.OnDblClick" link="#lcl.controls.TControl.OnDblClick"/>
      <element name="TDrawGrid.OnDragDrop" link="#lcl.controls.TControl.OnDragDrop"/>
      <element name="TDrawGrid.OnDragOver" link="#lcl.controls.TControl.OnDragOver"/>
      <element name="TDrawGrid.OnDrawCell" link="#lcl.grids.TCustomGrid.OnDrawCell"/>
      <element name="TDrawGrid.OnEditButtonClick" link="#lcl.grids.TCustomGrid.OnEditButtonClick"/>
      <element name="TDrawGrid.OnButtonClick" link="#lcl.grids.TCustomGrid.OnButtonClick"/>
      <element name="TDrawGrid.OnEditingDone" link="#lcl.controls.TControl.OnEditingDone"/>
      <element name="TDrawGrid.OnEndDock" link="#lcl.controls.TControl.OnEndDock"/>
      <element name="TDrawGrid.OnEndDrag" link="#lcl.controls.TControl.OnEndDrag"/>
      <element name="TDrawGrid.OnEnter" link="#lcl.controls.TWinControl.OnEnter"/>
      <element name="TDrawGrid.OnExit" link="#lcl.controls.TWinControl.OnExit"/>
      <element name="TDrawGrid.OnGetCellHint" link="#lcl.grids.TCustomGrid.OnGetCellHint"/>
      <element name="TDrawGrid.OnGetCheckboxState" link="#lcl.grids.TCustomDrawGrid.OnGetCheckboxState"/>
      <element name="TDrawGrid.OnGetEditMask" link="#lcl.grids.TCustomDrawGrid.OnGetEditMask"/>
      <element name="TDrawGrid.OnGetEditText" link="#lcl.grids.TCustomDrawGrid.OnGetEditText"/>
      <element name="TDrawGrid.OnHeaderClick" link="#lcl.grids.TCustomDrawGrid.OnHeaderClick"/>
      <element name="TDrawGrid.OnHeaderSized" link="#lcl.grids.TCustomDrawGrid.OnHeaderSized"/>
      <element name="TDrawGrid.OnHeaderSizing" link="#lcl.grids.TCustomDrawGrid.OnHeaderSizing"/>
      <element name="TDrawGrid.OnKeyDown" link="#lcl.controls.TWinControl.OnKeyDown"/>
      <element name="TDrawGrid.OnKeyPress" link="#lcl.controls.TWinControl.OnKeyPress"/>
      <element name="TDrawGrid.OnKeyUp" link="#lcl.controls.TWinControl.OnKeyUp"/>
      <element name="TDrawGrid.OnMouseDown" link="#lcl.controls.TControl.OnMouseDown"/>
      <element name="TDrawGrid.OnMouseEnter" link="#lcl.controls.TControl.OnMouseEnter"/>
      <element name="TDrawGrid.OnMouseLeave" link="#lcl.controls.TControl.OnMouseLeave"/>
      <element name="TDrawGrid.OnMouseMove" link="#lcl.controls.TControl.OnMouseMove"/>
      <element name="TDrawGrid.OnMouseUp" link="#lcl.controls.TControl.OnMouseUp"/>
      <element name="TDrawGrid.OnMouseWheel" link="#lcl.controls.TControl.OnMouseWheel"/>
      <element name="TDrawGrid.OnMouseWheelDown"  link="#lcl.controls.TControl.OnMouseWheelDown"/>
      <element name="TDrawGrid.OnMouseWheelUp"  link="#lcl.controls.TControl.OnMouseWheelUp"/>
      <element name="TDrawGrid.OnMouseWheelHorz"  link="#lcl.controls.TControl.OnMouseWheelHorz"/>
      <element name="TDrawGrid.OnMouseWheelLeft"  link="#lcl.controls.TControl.OnMouseWheelLeft"/>
      <element name="TDrawGrid.OnMouseWheelRight"  link="#lcl.controls.TControl.OnMouseWheelRight"/>
      <element name="TDrawGrid.OnPickListSelect" link="#lcl.grids.TCustomGrid.OnPickListSelect"/>
      <element name="TDrawGrid.OnPrepareCanvas" link="#lcl.grids.TCustomGrid.OnPrepareCanvas"/>
      <element name="TDrawGrid.OnSelectEditor" link="#lcl.grids.TCustomGrid.OnSelectEditor"/>
      <element name="TDrawGrid.OnSelection" link="#lcl.grids.TCustomGrid.OnSelection"/>
      <element name="TDrawGrid.OnSelectCell" link="#lcl.grids.TCustomDrawGrid.OnSelectCell"/>
      <element name="TDrawGrid.OnSetCheckboxState" link="#lcl.grids.TCustomDrawGrid.OnSetCheckboxState"/>
      <element name="TDrawGrid.OnSetEditText" link="#lcl.grids.TCustomDrawGrid.OnSetEditText"/>
      <element name="TDrawGrid.OnStartDock" link="#lcl.controls.TControl.OnStartDock"/>
      <element name="TDrawGrid.OnStartDrag" link="#lcl.controls.TControl.OnStartDrag"/>
      <element name="TDrawGrid.OnTopleftChanged" link="#lcl.grids.TCustomGrid.OnTopLeftChanged"/>
      <element name="TDrawGrid.OnUserCheckboxBitmap" link="#lcl.grids.TCustomGrid.OnUserCheckboxBitmap"/>
      <element name="TDrawGrid.OnUserCheckboxImage" link="#lcl.grids.TCustomGrid.OnUserCheckBoxImage"/>
      <element name="TDrawGrid.OnUTF8KeyPress" link="#lcl.controls.TWinControl.OnUTF8KeyPress"/>
      <element name="TDrawGrid.OnValidateEntry" link="#lcl.grids.TCustomGrid.OnValidateEntry"/>

      <element name="TStringGridStrings">
        <short>Represents strings used as the cell values in TCustomStringGrid / TStringGrid.</short>
        <descr>
          <p>
            <var>TStringGridStrings</var> is a <var>TStrings</var> descendant that represents the strings used to populate the cells in a <var>TStringGrid</var> instance.
          </p>
        </descr>
        <seealso/>
      </element>

      <element name="TStringGridStrings.FAddedCount"/>
      <element name="TStringGridStrings.FGrid"/>
      <element name="TStringGridStrings.FIsCol"/>
      <element name="TStringGridStrings.FIndex"/>
      <element name="TStringGridStrings.FOwner"/>

      <element name="TStringGridStrings.ConvertIndexLineCol">
        <short>Converts an index position to line and column numbers for the Cells in a grid.</short>
        <descr/>
        <seealso>
          <link id="TStringGridStrings.Add"/>
          <link id="TStringGridStrings.Get"/>
          <link id="TStringGridStrings.Put"/>
          <link id="TStringGridStrings.GetObject"/>
          <link id="TStringGridStrings.PutObject"/>
        </seealso>
      </element>
      <element name="TStringGridStrings.ConvertIndexLineCol.Result">
        <short/>
      </element>
      <element name="TStringGridStrings.ConvertIndexLineCol.Index">
        <short/>
      </element>
      <element name="TStringGridStrings.ConvertIndexLineCol.Line">
        <short/>
      </element>
      <element name="TStringGridStrings.ConvertIndexLineCol.Col">
        <short/>
      </element>

      <element name="TStringGridStrings.Get">
        <short>Gets the string at the specified index position.</short>
        <descr/>
        <seealso>
          <link id="#rtl.classes.TStrings.Strings">TStrings.Strings</link>
        </seealso>
      </element>
      <element name="TStringGridStrings.Get.Result">
        <short>String value at the specified position.</short>
      </element>
      <element name="TStringGridStrings.Get.Index">
        <short>Ordinal position for the string.</short>
      </element>

      <element name="TStringGridStrings.GetCount">
        <short>Gets the value for the Count property.</short>
        <descr/>
        <seealso>
          <link id="#rtl.classes.TStrings.Count">TStrings.Count</link>
        </seealso>
      </element>
      <element name="TStringGridStrings.GetCount.Result">
        <short>Value for the Count property.</short>
      </element>

      <element name="TStringGridStrings.GetObject">
        <short>Gets the value for the indexed Objects property.</short>
        <descr/>
        <seealso>
          <link id="TStringGridStrings.PutObject"/>
          <link id="#rtl.classes.TStrings.Objects">TStrings.Objects</link>
        </seealso>
      </element>
      <element name="TStringGridStrings.GetObject.Result">
        <short>Value for the property.</short>
      </element>
      <element name="TStringGridStrings.GetObject.Index">
        <short>Ordinal position for the property value.</short>
      </element>

      <element name="TStringGridStrings.Put">
        <short>Sets the value for the indexed Strings property.</short>
        <descr/>
        <seealso>
          <link id="TStringGridStrings.Get"/>
          <link id="#rtl.classes.TStrings.Strings">TStrings.Strings</link>
        </seealso>
      </element>
      <element name="TStringGridStrings.Put.Index">
        <short>Ordinal position for the property value.</short>
      </element>
      <element name="TStringGridStrings.Put.S">
        <short>New value for the indexed property.</short>
      </element>

      <element name="TStringGridStrings.PutObject">
        <short>Sets the value for the indexed Objects property.</short>
        <descr/>
        <seealso>
          <link id="TStringGridStrings.GetObject"/>
          <link id="#rtl.classes.TStrings.Objects">TStrings.Objects</link>
        </seealso>
      </element>
      <element name="TStringGridStrings.PutObject.Index">
        <short>Ordinal position for the indexed property value.</short>
      </element>
      <element name="TStringGridStrings.PutObject.AObject">
        <short>New value for the indexed property.</short>
      </element>

      <element name="TStringGridStrings.Create">
        <short>Constructor for the class instance.</short>
        <descr>
          <p>
            <var>Create</var> is the constructor for the class instance, and calls the inherited constructor on entry. Create stores parameter values to the members used for the associated grid and the map used in the class instance.
          </p>
        </descr>
        <seealso/>
      </element>
      <element name="TStringGridStrings.Create.AGrid">
        <short>Grid for the string values.</short>
      </element>
      <element name="TStringGridStrings.Create.OwnerMap">
        <short>Map with the owner for the class instance.</short>
      </element>
      <element name="TStringGridStrings.Create.AIsCol">
        <short>True when the values represent a column for the associated grid; False for a row.</short>
      </element>
      <element name="TStringGridStrings.Create.AIndex">
        <short>Column or row number in the grid for the data values.</short>
      </element>

      <element name="TStringGridStrings.Destroy">
        <short>Destructor for the class instance.</short>
        <descr/>
        <seealso>
          <link id="#rtl.classes.TStrings.Destroy">TStrings.Destroy</link>
        </seealso>
      </element>

      <element name="TStringGridStrings.Add">
        <short>Adds the specified string to the class instance.</short>
        <descr/>
        <seealso>
          <link id="TCustomStringGrid.Cells"/>
          <link id="#rtl.classes.TStrings.Add">TStrings.Add</link>
          <link id="#rtl.classes.TStrings.Strings">TStrings.Strings</link>
          <link id="#rtl.classes.TStrings.Values">TStrings.Values</link>
        </seealso>
      </element>
      <element name="TStringGridStrings.Add.Result">
        <short>Ordinal position in the class instance where the value was stored.</short>
      </element>
      <element name="TStringGridStrings.Add.S">
        <short>String value added in the method.</short>
      </element>

      <element name="TStringGridStrings.Assign">
        <short>Stores property values from Source into the current class instance.</short>
        <descr/>
        <seealso>
          <link id="#rtl.classes.TStrings.Assign">TStrings.Assign</link>
        </seealso>
      </element>
      <element name="TStringGridStrings.Assign.Source">
        <short>Persistent object with the property values copied in the method.</short>
      </element>

      <element name="TStringGridStrings.Clear">
        <short>Removes all values for the column or row represented by the class instance.</short>
        <descr/>
        <seealso>
          <link id="#rtl.classes.TStrings.Clear">TStrings.Clear</link>
        </seealso>
      </element>

      <element name="TStringGridStrings.Delete">
        <short>Deletes a value stored in the class instance.</short>
        <descr>
            <p>
              <var>Delete</var> is overridden to prevent removing entries in the <var>Strings</var> property. It always raises an <var>EGridException</var> exception.
            </p>
        </descr>
        <errors>
          Raises an <var>EGridException</var> exception with the message <b>'Cannot delete value.'</b>
        </errors>
        <seealso>
          <link id="#rtl.classes.TStrings.Delete">TStrings.Delete</link>
        </seealso>
      </element>
      <element name="TStringGridStrings.Delete.Index">
        <short>Ordinal position for the value to be removed; not used in the method.</short>
      </element>

      <element name="TStringGridStrings.Insert">
        <short>Inserts a value in the class instance.</short>
        <descr>
          Raises an <var>EGridException</var> exception with the message <b>'Cannot insert  value.'</b>
        </descr>
        <seealso>
          <link id="#rtl.classes.TStrings.Insert">TStrings.Insert</link>
        </seealso>
      </element>
      <element name="TStringGridStrings.Insert.Index">
        <short/>
      </element>
      <element name="TStringGridStrings.Insert.S">
        <short/>
      </element>

      <element name="TCustomStringGrid">
        <short>The base class for TStringGrid.</short>
        <descr>
            <p>
              <var>TCustomStringGrid</var> is a <var>TCustomDrawGrid</var> descendant which implements the base class for <var>TStringGrid</var>.
            </p>
            <p>
              TCustomStringGrid provides the familar tabular format used in grid controls, and is designed for use with string content stored in its cells. Internally, columns and rows in the class are mapped to <var>TStringGridStrings</var> instances used to store the values in the grid control. TCustomStringGrid also allows a TObject instance to be stored for each cell in the grid using the <var>Objects</var> property.
            </p>
        </descr>
        <seealso>
          <link id="TCustomStringGrid.Cells"/>
          <link id="TCustomStringGrid.Cols"/>
          <link id="TCustomStringGrid.Rows"/>
          <link id="TCustomStringGrid.Objects"/>
          <link id="TCustomStringGrid.OnCellProcess"/>
          <link id="HowToUseGrids"/>
        </seealso>
      </element>

      <element name="TCustomStringGrid.FModified"/>
      <element name="TCustomStringGrid.FColsMap"/>
      <element name="TCustomStringGrid.FRowsMap"/>
      <element name="TCustomStringGrid.FOnCellProcess"/>

      <element name="TCustomStringGrid.GetCols">
        <short>Gets the values in the specified column number as a TStrings instance.</short>
        <descr>
          <p>
            <var>GetCols</var> is the read access specifier for the indexed <var>Cols</var> property.
          </p>
        </descr>
        <seealso>
          <link id="TCustomStringGrid.Cols"/>
        </seealso>
      </element>
      <element name="TCustomStringGrid.GetCols.Result">
        <short>TStrings with row values for the specified column number.</short>
      </element>
      <element name="TCustomStringGrid.GetCols.Index">
        <short>Column number retrieved in the method.</short>
      </element>

      <element name="TCustomStringGrid.GetObjects">
        <short>Gets the value for the indexed Objects property.</short>
        <descr/>
        <seealso>
          <link id="TCustomStringGrid.Objects"/>
        </seealso>
      </element>
      <element name="TCustomStringGrid.GetObjects.Result">
        <short>Value for the indexed property.</short>
      </element>
      <element name="TCustomStringGrid.GetObjects.ACol">
        <short>Column number for the object.</short>
      </element>
      <element name="TCustomStringGrid.GetObjects.ARow">
        <short>Row number for the object.</short>
      </element>

      <element name="TCustomStringGrid.GetRows">
        <short>Gets the value for the indexed Rows property.</short>
        <descr/>
        <seealso>
          <link id="TCustomStringGrid.Rows"/>
        </seealso>
      </element>
      <element name="TCustomStringGrid.GetRows.Result">
        <short>Value for the property.</short>
      </element>
      <element name="TCustomStringGrid.GetRows.Index">
        <short>Ordinal position for the requested row.</short>
      </element>

      <element name="TCustomStringGrid.MapFree">
        <short>Frees the TStringGridStrings instances in the specified Map.</short>
        <descr/>
        <seealso/>
      </element>
      <element name="TCustomStringGrid.MapFree.AMap">
        <short>TMap instance examined and updated in the method.</short>
      </element>

      <element name="TCustomStringGrid.MapGetColsRows">
        <short></short>
        <descr/>
        <seealso/>
        <notes><note>?</note></notes>
      </element>
      <element name="TCustomStringGrid.MapGetColsRows.Result">
        <short>TStrings instance with the values for the specified column or row.</short>
      </element>
      <element name="TCustomStringGrid.MapGetColsRows.IsCols">
        <short>True when columns are returned, False for rows.</short>
      </element>
      <element name="TCustomStringGrid.MapGetColsRows.Index">
        <short>Column or row number for values retrieved in the method.</short>
      </element>
      <element name="TCustomStringGrid.MapGetColsRows.AMap">
        <short>Map instance used in the method.</short>
      </element>

      <element name="TCustomStringGrid.ReadCells">
        <short>Reads string values for the Cells property using a TReader instance.</short>
        <descr/>
        <seealso/>
      </element>
      <element name="TCustomStringGrid.ReadCells.Reader">
        <short>TReader instance used to read values during LCL streaming.</short>
      </element>

      <element name="TCustomStringGrid.SetCols">
        <short>Sets the value for the indexed Cols property.</short>
        <descr/>
        <seealso>
          <link id="TCustomStringGrid.Cols"/>
        </seealso>
      </element>
      <element name="TCustomStringGrid.SetCols.Index">
        <short>Ordinal position for the affected column </short>
      </element>
      <element name="TCustomStringGrid.SetCols.AValue">
        <short>New value for the indexed property.</short>
      </element>

      <element name="TCustomStringGrid.SetObjects">
        <short>Sets the value for the indexed Objects property.</short>
        <descr/>
        <seealso>
          <link id="TCustomStringGrid.Objects"/>
        </seealso>
      </element>
      <element name="TCustomStringGrid.SetObjects.ACol">
        <short>Ordinal position for the column.</short>
      </element>
      <element name="TCustomStringGrid.SetObjects.ARow">
        <short>Ordinal position for the row.</short>
      </element>
      <element name="TCustomStringGrid.SetObjects.AValue">
        <short>New value for the indexed property.</short>
      </element>

      <element name="TCustomStringGrid.SetRows">
        <short>Sets the value for the indexed Rows property.</short>
        <descr/>
        <seealso>
          <link id="TCustomStringGrid.Rows"/>
        </seealso>
      </element>
      <element name="TCustomStringGrid.SetRows.Index">
        <short>Ordinal position for the row affected.</short>
      </element>
      <element name="TCustomStringGrid.SetRows.AValue">
        <short>New value for the indexed property.</short>
      </element>

      <element name="TCustomStringGrid.WriteCells">
        <short>Writes the string values in the Cells property using the specified TWriter instance.</short>
        <descr/>
        <seealso/>
      </element>
      <element name="TCustomStringGrid.WriteCells.Writer">
        <short/>
      </element>

      <element name="TCustomStringGrid.CopyCellRectToClipboard">
        <short>Copies the content from cell(s) in the specified selection rectangle to the clipboard.</short>
        <descr>
          <remark>
            Only visible cells in the selection rectangle are included in the copied values. Others are quietly discarded. HTML TABLE syntax is used to store the cell values copied in the method. LineEnd and HTML reserved characters are translated into HTML-safe tags or HTML character entities.
          </remark>
        </descr>
        <seealso/>
      </element>
      <element name="TCustomStringGrid.CopyCellRectToClipboard.R">
        <short>Cell selection rectangle with values copied in the method.</short>
      </element>

      <element name="TCustomStringGrid.AssignTo">
        <short>Assigns values from the current class instance to the target class instance.</short>
        <descr/>
        <seealso>
          <link id="TCustomGrid.AssignTo"/>
        </seealso>
      </element>
      <element name="TCustomStringGrid.AssignTo.Dest" link="#lcl.grids.TCustomGrid.AssignTo.Dest"/>

      <element name="TCustomStringGrid.AutoAdjustColumn">
        <short>Adjusts the column size for the font, text and images used in the specified column.</short>
        <descr>
          <p>
            Adjusts the column specified in <var>ACol</var> to use the width needed for the font and image(s) for the column. No actions are performed in the method when ACol is not a valid column index.
          </p>
          <p>
            <var>AutoAdjustColumn</var> calculates the width need for the image (if any) used in the column header, and adds the padding specified in the DEFIMAGEPADDING constant. If a sort indicator is used, the same actions are performed for the sort image. The image widths may be scaled to the current display density if the PPI for the control Font differs from the value in TitleImageList.
          </p>
          <p>
            AutoAdjustColumn visits the rows in the grid to calculate the maximum width required for the text in each. A temporary Canvas instance is used to calculate the width for the text. When Columns has been enabled, fonts assigned to the TGridColumn instance are used. When Columns has not been enabled, TitleFont is used for fixed rows or columns. Otherwise, the Font for the grid is used.
          </p>
          <p>
            For multi-line columns, the DrawText routine is called to calculate the text rectangle. For single-line columns, the TextExtent method in the canvas is used. Cell padding is added to the calculated column width using the value in varCellPadding. The derived column width is stored  in the ColWidths property for the column specified in ACol.
          </p>
          <p>
            AutoAdjustColumn is called from the DblClick method when column auto-sizing <b>and</b> double click auto-sizing have been enabled in the Options for the grid. It is also called from the AutoAdjustColumns, AutoSizeColumns, and AutoSizeColumn methods.
          </p>
        </descr>
        <seealso>
          <link id="TCustomGrid.AutoAdjustColumn"/>
          <link id="TCustomGrid.IsColumnIndexValid"/>
        </seealso>
      </element>
      <element name="TCustomStringGrid.AutoAdjustColumn.ACol">
        <short>Column number for values examined in the method.</short>
      </element>

      <element name="TCustomStringGrid.CalcCellExtent">
        <short>Deprecated in the ancestor class.</short>
        <descr>
          <remark>
            CalcCellExtent is marked as deprecated in the ancestor class.
          </remark>
        </descr>
        <seealso>
          <link id="#lcl.grids.TCustomGrid.CalcCellExtent">TCustomGrid.CalcCellExtent</link>
        </seealso>
      </element>
      <element name="TCustomStringGrid.CalcCellExtent.ACol">
        <short/>
      </element>
      <element name="TCustomStringGrid.CalcCellExtent.ARow">
        <short/>
      </element>
      <element name="TCustomStringGrid.CalcCellExtent.ARect">
        <short/>
      </element>

      <element name="TCustomStringGrid.DefineProperties">
        <short>Defines non-published properties included in LCL component streaming.</short>
        <descr>
          <p>
            <var>DefineProperties</var> is an overridden method used to define non-published properties which are read and written using LCL component streaming. In <var>TCustomStringGrid</var>, it adds read and write routines for the <var>Cells</var> property to the <var>TFiler</var> instance.
          </p>
        </descr>
        <seealso/>
      </element>
      <element name="TCustomStringGrid.DefineProperties.Filer">
        <short>TFIler instance used to read or write values for the class type.</short>
      </element>

      <element name="TCustomStringGrid.DefineCellsProperty">
        <short>Defines the reader and writer for the Cells property in a TFiler instance.</short>
        <descr>
          <p>
            Called from the DefineProperties method.
          </p>
        </descr>
        <seealso/>
      </element>
      <element name="TCustomStringGrid.DefineCellsProperty.Filer">
        <short>TFiler instance updated in the method.</short>
      </element>

      <element name="TCustomStringGrid.DoCompareCells">
        <short>Performs a comparison between the specified cells in the grid control.</short>
        <descr>
          <p>
            <var>DoCompareCells</var> is an overridden method used to compare cell values in the Sort method. It calls the inherited method when the OnCompareCells event handler has been assigned. The return value from the event handler contains the relative sort order for the compared cells, and uses the following values:
          </p>
          <dl>
            <dt>-1</dt>
            <dd>The cell at ACol and ARow occurs comes before the cell at BCol and BRow.</dd>
            <dt>0</dt>
            <dd>The specified cells have the same value.</dd>
            <dt>1</dt>
            <dd>The cell at ACol and ARow occurs comes after the cell at BCol and BRow.</dd>
          </dl>
          <p>
            When OnCompareCells is not assigned, the <var>UTF8CompareLatinTextFast</var> routine is called to perform the cell comparison and provide the return value for the method. When SortOrder is set to soDescending, the return value is negated.
          </p>
        </descr>
        <seealso>
          <link id="TCustomGrid.DoCompareCells"/>
          <link id="TCustomGrid.OnCompareCells"/>
          <link id="#lazutils.lazutf8.UTF8CompareLatinTextFast">UTF8CompareLatinTextFast</link>
        </seealso>
      </element>
      <element name="TCustomStringGrid.DoCompareCells.Result">
        <short>Relative sort order for the compared cell values.</short>
      </element>
      <element name="TCustomStringGrid.DoCompareCells.Acol">
        <short>Column number for the first cell value in the comparison.</short>
      </element>
      <element name="TCustomStringGrid.DoCompareCells.ARow">
        <short>Row number for the first cell value in the comparison.</short>
      </element>
      <element name="TCustomStringGrid.DoCompareCells.Bcol">
        <short>Column number for the second cell value in the comparison.</short>
      </element>
      <element name="TCustomStringGrid.DoCompareCells.BRow">
        <short>Row number for the second cell value in the comparison.</short>
      </element>

      <element name="TCustomStringGrid.DoCopyToClipboard" link="#lcl.grids.TCustomGrid.DoCopyToClipboard"/>
      <element name="TCustomStringGrid.DoCutToClipboard" link="#lcl.grids.TCustomGrid.DoCutToClipboard"/>
      <element name="TCustomStringGrid.DoPasteFromClipboard" link="#lcl.grids.TCustomGrid.DoPasteFromClipboard"/>

      <element name="TCustomStringGrid.DoCellProcess">
        <short>Performs actions needed when cell values are copied or pasted using the clipboard.</short>
        <descr>
          <p>
            Signals the OnCellProcess event handler when assigned.
          </p>
        </descr>
        <seealso/>
      </element>
      <element name="TCustomStringGrid.DoCellProcess.ACol">
        <short>Column number for the cell.</short>
      </element>
      <element name="TCustomStringGrid.DoCellProcess.ARow">
        <short>Row number for the cell.</short>
      </element>
      <element name="TCustomStringGrid.DoCellProcess.processType">
        <short>Process performed in the method.</short>
      </element>
      <element name="TCustomStringGrid.DoCellProcess.AValue">
        <short>Contains the value after performing the specified process.</short>
      </element>

      <element name="TCustomStringGrid.DrawColumnText">
        <short>Draws the text and image for a grid column title at the specified cell coordinates.</short>
        <descr>
          <p>
            <var>DrawColumnText</var> is an overridden method used to draw the text and image for a grid column title at the cell coordinates specified in <var>ACol</var> and <var>ARow</var>. When Columns has been enabled, the inherited method is called to draw the image, sort indicator, and text when needed. When Columns has not been enabled, the DrawColumnTitleImage and DrawCellText methods are called to draw the sort indicator and text for the column.
          </p>
          <p>
            DrawColumnText is called from the <var>DefaultDrawCell</var> method for cells which contain fixed column titles.
          </p>
        </descr>
        <seealso/>
      </element>
      <element name="TCustomStringGrid.DrawColumnText.ACol">
        <short>Column number for the cell.</short>
      </element>
      <element name="TCustomStringGrid.DrawColumnText.ARow">
        <short>Row number for the cell.</short>
      </element>
      <element name="TCustomStringGrid.DrawColumnText.ARect">
        <short>Rectangle with the bounds for the cell.</short>
      </element>
      <element name="TCustomStringGrid.DrawColumnText.AState">
        <short>Drawing state for the cell.</short>
      </element>

      <element name="TCustomStringGrid.DrawTextInCell">
        <short>Draws the text for the specified cell in a given drawing state.</short>
        <descr>
          <p>
            <var>DrawTextInCell</var> is a method used to draw the text for the cell specified in <var>ACol</var> and <var>ARow</var>. It calls the <var>DrawCellText</var> method using the specified arguments.
          </p>
          <p>
            DrawTextInCell is called from the <var>DefaultDrawCell</var> method.
          </p>
        </descr>
        <seealso>
          <link id="TCustomGrid.DrawTextInCell"/>
        </seealso>
      </element>
      <element name="TCustomStringGrid.DrawTextInCell.ACol">
        <short>Column number for the cell.</short>
      </element>
      <element name="TCustomStringGrid.DrawTextInCell.ARow">
        <short>Row number for the cell.</short>
      </element>
      <element name="TCustomStringGrid.DrawTextInCell.ARect">
        <short>Rectangle with the bounds for the cell.</short>
      </element>
      <element name="TCustomStringGrid.DrawTextInCell.AState">
        <short>Drawing state for the cell.</short>
      </element>

      <element name="TCustomStringGrid.DrawCellAutonumbering">
        <short>Performs auto-numbering for a cell in the grid.</short>
        <descr>
          <p>
            Renders the row number for non-fixed rows in the grid control. Calls the inherited DrawCellAutoNumbering method when the cell at ACol and ARow contains an  empty string ('').
          </p>
          <p>
            Called from the DefaultDrawCell method when goFixedRowNumbering is included in Options.
          </p>
        </descr>
        <seealso/>
      </element>
      <element name="TCustomStringGrid.DrawCellAutonumbering.aCol">
        <short>Column number for the cell.</short>
      </element>
      <element name="TCustomStringGrid.DrawCellAutonumbering.aRow">
        <short>Row number for the cell.</short>
      </element>
      <element name="TCustomStringGrid.DrawCellAutonumbering.aRect">
        <short>Rectangle where the cell is drawn.</short>
      </element>
      <element name="TCustomStringGrid.DrawCellAutonumbering.aValue">
        <short>Text to display as the auto-numbering value.</short>
      </element>

      <element name="TCustomStringGrid.GetCells">
        <short>Gets the value for the indexed Cells property.</short>
        <descr/>
        <seealso/>
      </element>
      <element name="TCustomStringGrid.GetCells.Result">
        <short>Value for the indexed property.</short>
      </element>
      <element name="TCustomStringGrid.GetCells.ACol">
        <short>Column number for the cell.</short>
      </element>
      <element name="TCustomStringGrid.GetCells.ARow">
        <short>Row number for the cell.</short>
      </element>

      <element name="TCustomStringGrid.GetCheckBoxState">
        <short>Gets the state for a cell displayed as a Checkbox.</short>
        <descr/>
        <seealso/>
      </element>
      <element name="TCustomStringGrid.GetCheckBoxState.aCol">
        <short>Column number for the cell.</short>
      </element>
      <element name="TCustomStringGrid.GetCheckBoxState.aRow">
        <short>Row number for the cell.</short>
      </element>
      <element name="TCustomStringGrid.GetCheckBoxState.aState">
        <short>Checkbox state derived for the specified cell.</short>
      </element>

      <element name="TCustomStringGrid.GetEditText">
        <short>Gets the text displayed in the Editor for the specified cell.</short>
        <descr>
          <p>
            <var>GetEditText</var> is an overridden method used to get the text displayed in the Editor for the cell with the specified column and row numbers. GetEditText re-implements the method defined in the ancestor class.
          </p>
          <p>
            The return value contains the string stored in <var>Cells</var> at the specified column and row numbers.
          </p>
          <p>
            GetEditText signals the <var>OnGetEditText</var> event handler (when assigned) to validate or modify the return value for the method.
          </p>
        </descr>
        <seealso>
          <link id="TCustomGrid.GetEditText"/>
          <link id="TCustomDrawGrid.GetEditText"/>
        </seealso>
      </element>
      <element name="TCustomStringGrid.GetEditText.Result">
        <short>Textual content for the cell at the specified column and row number.</short>
      </element>
      <element name="TCustomStringGrid.GetEditText.aCol">
        <short>Column number for the cell value.</short>
      </element>
      <element name="TCustomStringGrid.GetEditText.aRow">
        <short>Row number for the cell value.</short>
      </element>

      <element name="TCustomStringGrid.LoadContent">
        <short>Loads configuration settings from the specified XML configuration file.</short>
        <descr>
          <p>
            Loads values for the <var>Cells</var> property when enabled in the configuration file.
          </p>
        </descr>
        <seealso>
          <link id="TCustomGrid.LoadContent"/>
        </seealso>
      </element>
      <element name="TCustomStringGrid.LoadContent.cfg" link="#lcl.grids.TCustomGrid.LoadContent.cfg"/>
      <element name="TCustomStringGrid.LoadContent.Version" link="#lcl.grids.TCustomGrid.LoadContent.Version"/>

      <element name="TCustomStringGrid.Loaded">
        <short>Performs actions when LCL component streaming has been completed.</short>
        <descr>
          <p>
            Calls the inherited method on entry, and sets the value for the <var>Modified</var> property to <b>False</b>.
          </p>
        </descr>
        <seealso>
          <link id="TCustomGrid.Loaded"/>
        </seealso>
      </element>

      <element name="TCustomStringGrid.SaveContent">
        <short>
          Saves configuration settings from SaveOptions and optionally values from Cells in the specified XML configuration file.
        </short>
        <descr/>
        <seealso>
          <link id="TCustomGrid.SaveContent"/>
        </seealso>
      </element>
      <element name="TCustomStringGrid.SaveContent.cfg" link="#lcl.grids.TCustomGrid.SaveContent.cfg"/>

      <element name="TCustomStringGrid.SelectionSetText">
        <short>Stores the specified Tab-separated values to the Selection in the grid.</short>
        <descr/>
        <seealso/>
      </element>
      <element name="TCustomStringGrid.SelectionSetText.TheText">
        <short/>
      </element>

      <element name="TCustomStringGrid.SelectionSetHTML">
        <short>Sets the value for the current Selection to the specified HTML content.</short>
        <descr>
          <p>
            Extracts text for rows and columns in the grid from the HTML-tagged content in TheHTML. Recognizes and converts the following HTML tags:
          </p>
          <ul>
            <li>BR</li>
            <li>TR</li>
            <li>TD</li>
          </ul>
          <p>
            Converts HTML numeric character entities to their UTF-8-encoded character equivalent. Unrecognized character entities are converted to a Question Mark character (?).
          </p>
          <p>
            Calls DoCellProcess to paste the values extracted from the HTML content. The value in TheText is used when TheHTML does not contain valid HTML that can be handled in the method. Cells affected in the method are assigned as the current Selection in the grid control prior to exit.
          </p>
          <p>
            Called from the DoPasteFromClipboard method when the clipboard supports the HTML format.
          </p>
        </descr>
        <seealso/>
      </element>
      <element name="TCustomStringGrid.SelectionSetHTML.TheHTML">
        <short>HTML stored in the current selection.</short>
      </element>
      <element name="TCustomStringGrid.SelectionSetHTML.TheText">
        <short>Textual representation for the HTML content.</short>
      </element>

      <element name="TCustomStringGrid.SetCells">
        <short>Sets the value for the indexed Cells property.</short>
        <descr/>
        <seealso/>
      </element>
      <element name="TCustomStringGrid.SetCells.ACol">
        <short>Column number for the affected cell.</short>
      </element>
      <element name="TCustomStringGrid.SetCells.ARow">
        <short>Row number for the affected cell.</short>
      </element>
      <element name="TCustomStringGrid.SetCells.AValue">
        <short>New value for the indexed property.</short>
      </element>

      <element name="TCustomStringGrid.SetCheckboxState">
        <short>Sets the checked state for a Checkbox in the specified cell.</short>
        <descr/>
        <seealso/>
      </element>
      <element name="TCustomStringGrid.SetCheckboxState.aCol">
        <short>Column number for the cell.</short>
      </element>
      <element name="TCustomStringGrid.SetCheckboxState.aRow">
        <short>Row number for the cell.</short>
      </element>
      <element name="TCustomStringGrid.SetCheckboxState.aState">
        <short>Checked state for the cell.</short>
      </element>

      <element name="TCustomStringGrid.SetEditText">
        <short>Locks, updates, and unlocks the editor and cell text at the specified coordinates.</short>
        <descr/>
        <seealso/>
      </element>
      <element name="TCustomStringGrid.SetEditText.aCol">
        <short>Column number for the modified cell.</short>
      </element>
      <element name="TCustomStringGrid.SetEditText.aRow">
        <short>Row number or the modified cell.</short>
      </element>
      <element name="TCustomStringGrid.SetEditText.aValue">
        <short>New value for the modified cell.</short>
      </element>

      <element name="TCustomStringGrid.Modified">
        <short>Indicates if the content in the grid cells has been changed.</short>
        <descr>
          <p>
            The value in <var>Modified</var> is set to <b>False</b> when Loaded using the LCL streaming mechanism. The value in Modified is changed to <b>True</b> when the <var>Cells</var> property is updated in the <var>SetCells</var> method.
          </p>
        </descr>
        <seealso>
          <link id="TCustomStringGrid.Cells"/>
        </seealso>
      </element>

      <element name="TCustomStringGrid.OnCellProcess">
        <short>
          Event handler signalled when copying or pasting content for Cells in the grid.
        </short>
        <descr>
          <p>
            Allows the textual value for the clipboard operation (not the HTML interchange data) to be changed before it is applied. Signalled from the DoCellProcess method when assigned.
          </p>
        </descr>
        <seealso/>
      </element>

      <element name="TCustomStringGrid.Create">
        <short>Constructor for the class instance.</short>
        <descr>
          <p>
            <var>Create</var> -is the constructor for <var>TCustomStringGrid</var>. It calls the inherited <var>Create</var> method, and sets default styles, layout and alignment used in the class instance.
          </p>
        </descr>
        <seealso>
          <link id="TCustomDrawGrid.Create"/>
        </seealso>
      </element>
      <element name="TCustomStringGrid.Create.AOwner">
        <short>Owner of the class instance.</short>
      </element>

      <element name="TCustomStringGrid.Destroy">
        <short>Destructor for the class instance.</short>
        <descr>
          <p>
            <var>Destroy</var> is the destructor for <var>TCustomStringGrid</var>. It frees maps of columns and rows, and calls the inherited <var>Destroy</var> method.
          </p>
        </descr>
        <seealso>
          <link id="TCustomDrawGrid.Destroy"/>
        </seealso>
      </element>

      <element name="TCustomStringGrid.AutoSizeColumn">
        <short>Automatically adjusts the width of a column to accommodate the widest text value.</short>
        <descr>
          <p>
            <var>AutoSizeColumn</var> sets the column width to the length of the widest text found in the column specified by <var>ACol</var>.
          </p>
          <p>
            Tip: Use <var>goDblClickAutoSize</var> in Options to allow columns to be automatically resized when doubleClicking the column border.
          </p>
        </descr>
        <seealso>
          <link id="TCustomStringGrid.AutoSizeColumns"/>
        </seealso>
      </element>
      <element name="TCustomStringGrid.AutoSizeColumn.aCol">
        <short>Column number resized in the method.</short>
      </element>

      <element name="TCustomStringGrid.AutoSizeColumns">
        <short>Resizes all columns to fit in the longest text in each.</short>
        <descr>
          <p>
            Automatically resizes all columns by adjusting them to fit in the longest text in each column. This is a quick way to perform the <var>AutoSizeColumn</var> method for every column in the grid.
          </p>
        </descr>
        <seealso>
          <link id="TCustomStringGrid.AutoSizeColumn"/>
        </seealso>
      </element>

      <element name="TCustomStringGrid.Clean">
        <short>Removes cell content using the specified options.</short>
        <descr>
          <p>
            Cleans all cells in the grid subject to the given <var>CleanOptions</var>, optionally specifying a range of cells or a rectangular region. See <link id="TGridZoneSet"/> for more information.
          </p>
          <p>
            The cleaning operation does not change the number of rows and columns. It replaces the content for the affected cells with empty strings ('').
          </p>
          <p>
            Some examples:
          </p>
          <ul>
            <li>Clean all cells: grid.Clean([]); (the same as grid.clean)</li>
            <li>Clean all non-fixed cells: grid.Clean([gzNormal]);</li>
            <li>Clean all cells except grid column headers: Grid.Clean([gzNormal, gzFixedRows]);</li>
          </ul>
        </descr>
        <seealso/>
      </element>
      <element name="TCustomStringGrid.Clean.CleanOptions">
        <short>Set with the grid zones affected in the method.</short>
      </element>
      <element name="TCustomStringGrid.Clean.aRect">
        <short>Rectangle with the bounds for the affected cells.</short>
      </element>
      <element name="TCustomStringGrid.Clean.StartCol">
        <short>Starting column number for the operation.</short>
      </element>
      <element name="TCustomStringGrid.Clean.StartRow">
        <short>Starting row number for the operation.</short>
      </element>
      <element name="TCustomStringGrid.Clean.EndCol">
        <short>Ending column number for the operation.</short>
      </element>
      <element name="TCustomStringGrid.Clean.EndRow">
        <short>Ending row number for the operation.</short>
      </element>

      <element name="TCustomStringGrid.CopyToClipboard">
        <short>Copies the selection cell range to the clipboard.</short>
        <descr>
          <p>
            <var>CopyToClipboard</var> will copy a range of cells into the clipboard; the cells values are TAB separated. The range is defined based on optional <var>AUseSelection</var> parameter (which is <b>False</b> by default) and indicates the range is set to the whole grid, including fixed cols/rows. If <var>AUseSelection</var> is <b>True</b>, the range of cells is set to the current <link id="TCustomGrid.Selection"/>.
          </p>
        </descr>
        <seealso>
          <link id="TCustomGrid.Selection"/>
        </seealso>
      </element>

      <element name="TCustomStringGrid.InsertRowWithValues">
        <short>Inserts a row at the specified row position with the specified cell values.</short>
        <descr>
          <p>
            <var>InsertRowWithValues</var> is a method used to insert a row at the position in <var>Index</var> with the cell content in <var>Values</var>.
          </p>
          <p>
            InsertRowWithValues examines Values to determine whether the grid has a column for each of the string values. When Values has more entries than columns available in ColCount, new columns are added to the grid. When Columns has been Enabled, the Add method in Columns is called to create any missing column definitions. The title for a column added to the collection is set to an empty string (''). When Columns has not been enabled, the value in ColCount is set to the length of the Values array.
          </p>
          <p>
            InsertRowWithValues calls InsertColRow to increment the row count for the grid, and assigns each String in Values to the corresponding Cells in the grid control.
          </p>
          <p>
            Use DeleteRow to remove a row at a specific row number in the grid.
          </p>
        </descr>
        <seealso/>
      </element>
      <element name="TCustomStringGrid.InsertRowWithValues.Index">
        <short>Row where the values are inserted.</short>
      </element>
      <element name="TCustomStringGrid.InsertRowWithValues.Values">
        <short>Array with string values inserted in the method.</short>
      </element>

      <element name="TCustomStringGrid.LoadFromCSVStream">
        <short>Loads the content for the grid from the delimited values in AStream.</short>
        <descr/>
        <seealso/>
      </element>
      <element name="TCustomStringGrid.LoadFromCSVStream.AStream">
        <short>Stream with the content loaded in the method.</short>
      </element>
      <element name="TCustomStringGrid.LoadFromCSVStream.ADelimiter">
        <short>Delimiter between cell data in the stream; default is Comma (',').</short>
      </element>
      <element name="TCustomStringGrid.LoadFromCSVStream.UseTitles">
        <short>Indicates if Column captions are loaded from values in the stream.</short>
      </element>
      <element name="TCustomStringGrid.LoadFromCSVStream.FromLine">
        <short>Initial line number in the stream included in the grid content; default is 0.</short>
      </element>
      <element name="TCustomStringGrid.LoadFromCSVStream.SkipEmptyLines">
        <short>Indicates if empty lines in the stream are ignored in the method.</short>
      </element>

      <element name="TCustomStringGrid.LoadFromCSVFile">
        <short>Loads the grid from a file with delimited values for the columns and rows.</short>
        <descr>
          <p>
            Creates a temporary <var>TFileStream</var> instance that is used to load values from the file in <var>AFilename</var> by calling the <var>LoadFromCSVStream</var> method.
          </p>
        </descr>
        <seealso>
          <link id="TCustomStringGrid.LoadFromCSVStream"/>
        </seealso>
      </element>
      <element name="TCustomStringGrid.LoadFromCSVFile.AFilename">
        <short>File name with the content loaded in the method.</short>
      </element>
      <element name="TCustomStringGrid.LoadFromCSVFile.ADelimiter">
        <short>Delimiter between cell values in the file; default is Comma (',').</short>
      </element>
      <element name="TCustomStringGrid.LoadFromCSVFile.UseTitles">
        <short>Indicates if column captions are loaded from values in the file.</short>
      </element>
      <element name="TCustomStringGrid.LoadFromCSVFile.FromLine">
        <short>Initial line number from the file loaded in the method.</short>
      </element>
      <element name="TCustomStringGrid.LoadFromCSVFile.SkipEmptyLines">
        <short>Indicates if empty lines in the file are ignored in the method.</short>
      </element>

      <element name="TCustomStringGrid.SaveToCSVStream">
        <short>Saves content in the grid as delimited values in the specified stream instance.</short>
        <descr/>
        <seealso/>
      </element>
      <element name="TCustomStringGrid.SaveToCSVStream.AStream">
        <short>Stream where grid content is stored.</short>
      </element>
      <element name="TCustomStringGrid.SaveToCSVStream.ADelimiter">
        <short>Delimiter between cell values; default is Comma (',').</short>
      </element>
      <element name="TCustomStringGrid.SaveToCSVStream.WriteTitles">
        <short>Indicates that column captions are stored as the first row of CSV data.</short>
      </element>
      <element name="TCustomStringGrid.SaveToCSVStream.VisibleColumnsOnly">
        <short>Indicates if only visible columns are included in the CSV output.</short>
      </element>

      <element name="TCustomStringGrid.SaveToCSVFile">
        <short>Saves grid content as delimited values in the specified file name.</short>
        <descr/>
        <seealso/>
      </element>
      <element name="TCustomStringGrid.SaveToCSVFile.AFileName">
        <short>File name (with optional path) where CSV data is stored.</short>
      </element>
      <element name="TCustomStringGrid.SaveToCSVFile.ADelimiter">
        <short> Delimiter used between cell values in CSV output; default is Comma (',').</short>
      </element>
      <element name="TCustomStringGrid.SaveToCSVFile.WriteTitles">
        <short>Indicates if column captions are written as the first row of CSV data in the file.</short>
      </element>
      <element name="TCustomStringGrid.SaveToCSVFile.VisibleColumnsOnly">
        <short>Indicates if only visible columns are included in the CSV output.</short>
      </element>

      <element name="TCustomStringGrid.Cells">
        <short>Provides indexed access to a cell value by its column and row number.</short>
        <descr>
          <p>
            <var>Cells</var> is an indexed <var>String</var> property used to read or write the content for a cell in the grid. The ACol and ARow indexes are used the access a value stored at the requested column and row position.
          </p>
          <p>
            Reading the value causes the pointer to the cell in <var>Celda</var> to return its Text value.
          </p>
          <p>
            Setting the value causes the pointer to the cell in Celda to be updated for the specified coordinates. An active cell editor will be cancelled if it is not locked, and the value in <var>Modified</var> is reset to <b>False</b>.
          </p>
          <p>
            Use Objects to read or write an associated TObject instance for a given cell.
          </p>
        </descr>
        <seealso>
          <link id="TCustomStringGrid.Modified"/>
          <link id="TVirtualGrid.Celda"/>
        </seealso>
      </element>
      <element name="TCustomStringGrid.Cells.ACol">
        <short>Column number for the cell value.</short>
      </element>
      <element name="TCustomStringGrid.Cells.ARow">
        <short>Row number for the cell value.</short>
      </element>

      <element name="TCustomStringGrid.Cols">
        <short>Provides indexed access to the list of values for the specified column number.</short>
        <descr>
          <p>
            <var>Cols</var> is an indexed <var>TStrings</var> property which provides access to the list of values for the column number specified in Index. Calls MapGetColsRows to retrieve the TStrings instance used as the value for the property.
          </p>
        </descr>
        <seealso/>
      </element>
      <element name="TCustomStringGrid.Cols.Index">
        <short>Column number for the values.</short>
      </element>

      <element name="TCustomStringGrid.DefaultTextStyle" link="#lcl.grids.TCustomGrid.DefaultTextStyle"/>
      <element name="TCustomStringGrid.EditorMode" link="#lcl.grids.TCustomGrid.EditorMode"/>
      <element name="TCustomStringGrid.ExtendedSelect" link="#lcl.grids.TCustomGrid.ExtendedSelect"/>

      <element name="TCustomStringGrid.Objects">
        <short>Provides indexed access to a TObject instance associated with the cell.</short>
        <descr/>
          <p>
            Objects is an indexed TObject property which is used to associate an object instance with the cell specified in the ACol and ARow index values. The property value can be any TObject descendant. The application must allocate and free the object instance, and must ensure it is cast to the correct type when retrieved.
          </p>
          <p>
            While values in Cells and Objects are related, they are handled independently. The value in Objects is not changed when a new value is assigned  to Cells.
          </p>
          <p>
            Values stored in Objects are set to Nil when the Clean method is callled to remove content in the grid. The application is responsible for allocating and freeing resources in Objects.
          </p>
          <p>
            Values for the Objects property are not included in the grid data read and written during LCL component streaming. They are not handled by the LoadContent and SaveContent either. The property values are available at run-time only.
          </p>
        <seealso/>
      </element>
      <element name="TCustomStringGrid.Objects.ACol">
        <short>Column number for the cell with the object instance.</short>
      </element>
      <element name="TCustomStringGrid.Objects.ARow">
        <short>Row number for the cell with the object instance.</short>
      </element>

      <element name="TCustomStringGrid.Rows">
        <short>Provides indexed access to the list of values for the specified row number.</short>
        <descr>
          <p>
            <var>Rows</var> is an indexed <var>TStrings</var> property which provides access to the list with the String values for the row number specified in <var>Index</var>. Calls <var>MapGetColsRows</var> to retrieve the <var>TStrings</var> instance used as the value for the property.
          </p>
        </descr>
        <seealso/>
      </element>
      <element name="TCustomStringGrid.Rows.Index">
        <short>Row number for the values.</short>
      </element>

      <element name="TCustomStringGrid.UseXORFeatures" link="#lcl.grids.TCustomGrid.UseXORFeatures"/>
      <element name="TCustomStringGrid.ValidateOnSetSelection" link="#lcl.grids.TCustomGrid.ValidateOnSetSelection"/>

      <element name="TStringGrid">
        <short>Implements a specialized grid for displaying textual content.</short>
        <descr>
          <p>
            <var>TStringGrid</var> is a <var>TCustomStringGrid</var> descendant which implements a specialized grid for displaying textual content in a matrix of columns and rows.
          </p>
          <p>
            TStringGrid is designed for use with string content stored in its cells. Internally, columns and rows in the class are mapped to <var>TStringGridStrings</var> instances used to store the values in the grid control. TStringGrid also allows a <var>TObject</var> instance to be stored for each cell in the grid using the <var>Objects</var> property.
          </p>
          <p>
            TStringGrid sets the visibility for properties defined in the ancestor class. It has an overridden <var>WSRegisterClass</var> method to register properties (from older LCL versions) which are no longer used in LCL component streaming.
          </p>
        </descr>
        <seealso>
          <link id="TCustomStringGrid"/>
          <link id="HowToUseGrids"/>
        </seealso>
      </element>

      <element name="TStringGrid.WSRegisterClass" link="#LCL.LCLClasses.TLCLComponent.WSRegisterClass"/>
      <element name="TStringGrid.Modified" link="#lcl.grids.TCustomStringGrid.Modified"/>
      <element name="TStringGrid.InplaceEditor" link="#lcl.grids.TCustomGrid.InplaceEditor"/>
      <element name="TStringGrid.Align" link="#lcl.controls.TControl.Align"/>
      <element name="TStringGrid.AlternateColor" link="#lcl.grids.TCustomGrid.AlternateColor"/>
      <element name="TStringGrid.Anchors" link="#lcl.controls.TControl.Anchors"/>
      <element name="TStringGrid.AutoAdvance" link="#lcl.grids.TCustomGrid.AutoAdvance"/>
      <element name="TStringGrid.AutoEdit" link="#lcl.grids.TCustomGrid.AutoEdit"/>
      <element name="TStringGrid.AutoFillColumns" link="#lcl.grids.TCustomGrid.AutoFillColumns"/>
      <element name="TStringGrid.BiDiMode" link="#lcl.controls.TControl.BiDiMode"/>
      <element name="TStringGrid.BorderSpacing" link="#lcl.controls.TControl.BorderSpacing"/>
      <element name="TStringGrid.BorderStyle" link="#lcl.controls.TWinControl.BorderStyle"/>
      <element name="TStringGrid.CellHintPriority" link="#lcl.grids.TCustomGrid.CellHintPriority"/>
      <element name="TStringGrid.Color" link="#lcl.controls.TControl.Color"/>
      <element name="TStringGrid.ColCount" link="#lcl.grids.TCustomGrid.ColCount"/>
      <element name="TStringGrid.ColRowDraggingCursor" link="#lcl.grids.TCustomGrid.ColRowDraggingCursor"/>
      <element name="TStringGrid.ColRowDragIndicatorColor" link="#lcl.grids.TCustomGrid.ColRowDragIndicatorColor"/>
      <element name="TStringGrid.ColSizingCursor" link="#lcl.grids.TCustomGrid.ColSizingCursor"/>
      <element name="TStringGrid.ColumnClickSorts" link="#lcl.grids.TCustomGrid.ColumnClickSorts"/>
      <element name="TStringGrid.Columns" link="#lcl.grids.TCustomGrid.Columns"/>
      <element name="TStringGrid.Constraints" link="#lcl.controls.TControl.Constraints"/>
      <element name="TStringGrid.DefaultColWidth" link="#lcl.grids.TCustomGrid.DefaultColWidth"/>
      <element name="TStringGrid.DefaultDrawing" link="#lcl.grids.TCustomGrid.DefaultDrawing"/>
      <element name="TStringGrid.DefaultRowHeight" link="#lcl.grids.TCustomGrid.DefaultRowHeight"/>
      <element name="TStringGrid.DoubleBuffered" link="#lcl.controls.TWinControl.DoubleBuffered"/>
      <element name="TStringGrid.DragCursor" link="#lcl.controls.TControl.DragCursor"/>
      <element name="TStringGrid.DragKind" link="#lcl.controls.TControl.DragKind"/>
      <element name="TStringGrid.DragMode" link="#lcl.controls.TControl.DragMode"/>
      <element name="TStringGrid.Enabled" link="#lcl.controls.TControl.Enabled"/>
      <element name="TStringGrid.ExtendedSelect" link="#lcl.grids.TCustomGrid.ExtendedSelect"/>
      <element name="TStringGrid.FixedColor" link="#lcl.grids.TCustomGrid.FixedColor"/>
      <element name="TStringGrid.FixedCols" link="#lcl.grids.TCustomGrid.FixedCols"/>
      <element name="TStringGrid.FixedRows" link="#lcl.grids.TCustomGrid.FixedRows"/>
      <element name="TStringGrid.Flat" link="#lcl.grids.TCustomGrid.Flat"/>
      <element name="TStringGrid.Font" link="#lcl.controls.TControl.Font"/>
      <element name="TStringGrid.GridLineColor" link="#lcl.grids.TCustomGrid.GridLineColor"/>
      <element name="TStringGrid.GridLineStyle" link="#lcl.grids.TCustomGrid.GridLineStyle"/>
      <element name="TStringGrid.GridLineWidth" link="#lcl.grids.TCustomGrid.GridLineWidth"/>
      <element name="TStringGrid.HeaderHotZones" link="#lcl.grids.TCustomGrid.HeaderHotZones"/>
      <element name="TStringGrid.HeaderPushZones" link="#lcl.grids.TCustomGrid.HeaderPushZones"/>
      <element name="TStringGrid.ImageIndexSortAsc" link="#lcl.grids.TCustomGrid.ImageIndexSortAsc"/>
      <element name="TStringGrid.ImageIndexSortDesc" link="#lcl.grids.TCustomGrid.ImageIndexSortDesc"/>
      <element name="TStringGrid.MouseWheelOption" link="#lcl.grids.TCustomGrid.MouseWheelOption"/>
      <element name="TStringGrid.Options" link="#lcl.grids.TCustomGrid.Options"/>
      <element name="TStringGrid.Options2" link="#lcl.grids.TCustomGrid.Options2"/>
      <element name="TStringGrid.ParentBiDiMode" link="#lcl.controls.TControl.ParentBiDiMode"/>

      <element name="TStringGrid.ParentColor">
        <short>
          Uses the Color from the Parent control, when enabled.
        </short>
        <descr>
          <p>
            ParentColor determines if the control should use the Color from the Parent control, when enabled. The default value for the property is False in TStringGrid.
          </p>
          <p>
            When this property is True, all changes to the Color of the parent will also be applied to the Color of the control, ensuring that they both contain same value. If the Color of the control is changed by the application, then ParentColor will be automatically set to False.
          </p>
         <p>
           Using ParentColor when the Color value is clDefault can cause problems in resolving the actual color value. To obtain the Color property of a control while taking into account clDefault and ParentColor, use the GetColorResolvingParent method. This method might return a non-RGB color, but will never return clDefault. To obtain a purely RGB result use the GetRGBColorResolvingParent method.
         </p>
        </descr>
        <seealso>
          <link id="#lcl.controls.TControl.ParentColor">TControl.ParentColor</link>
          <link id="#lcl.controls.TControl.Color">TControl.Color</link>
          <link id="#lcl.controls.TControl.GetColorResolvingParent">TControl.GetColorResolvingParent</link>
          <link id="#lcl.controls.TControl.GetRGBColorResolvingParent">TControl.GetRGBColorResolvingParent</link>
        </seealso>
      </element>

      <element name="TStringGrid.ParentDoubleBuffered" link="#lcl.controls.TWinControl.ParentDoubleBuffered"/>
      <element name="TStringGrid.ParentFont" link="#lcl.controls.TControl.ParentFont"/>
      <element name="TStringGrid.ParentShowHint" link="#lcl.controls.TControl.ParentShowHint"/>
      <element name="TStringGrid.PopupMenu" link="#lcl.controls.TControl.PopupMenu"/>
      <element name="TStringGrid.RangeSelectMode" link="#lcl.grids.TCustomGrid.RangeSelectMode"/>
      <element name="TStringGrid.RowCount" link="#lcl.grids.TCustomGrid.RowCount"/>
      <element name="TStringGrid.RowSizingCursor" link="#lcl.grids.TCustomGrid.RowSizingCursor"/>
      <element name="TStringGrid.ScrollBars" link="#lcl.grids.TCustomGrid.ScrollBars"/>
      <element name="TStringGrid.ShowHint" link="#lcl.controls.TControl.ShowHint"/>
      <element name="TStringGrid.TabAdvance" link="#lcl.grids.TCustomGrid.TabAdvance"/>
      <element name="TStringGrid.TabOrder" link="#lcl.controls.TWinControl.TabOrder"/>
      <element name="TStringGrid.TabStop" link="#lcl.controls.TWinControl.TabStop"/>
      <element name="TStringGrid.TitleFont" link="#lcl.grids.TCustomGrid.TitleFont"/>
      <element name="TStringGrid.TitleImageList" link="#lcl.grids.TCustomGrid.TitleImageList"/>
      <element name="TStringGrid.TitleStyle" link="#lcl.grids.TCustomGrid.TitleStyle"/>
      <element name="TStringGrid.UseXORFeatures" link="#lcl.grids.TCustomGrid.UseXORFeatures"/>
      <element name="TStringGrid.Visible" link="#lcl.controls.TControl.Visible"/>
      <element name="TStringGrid.VisibleColCount" link="#lcl.grids.TCustomGrid.VisibleColCount"/>
      <element name="TStringGrid.VisibleRowCount" link="#lcl.grids.TCustomGrid.VisibleRowCount"/>
      <element name="TStringGrid.OnAfterSelection" link="#lcl.grids.TCustomGrid.OnAfterSelection"/>
      <element name="TStringGrid.OnBeforeSelection" link="#lcl.grids.TCustomGrid.OnBeforeSelection"/>
      <element name="TStringGrid.OnCellProcess" link="#lcl.grids.TCustomStringGrid.OnCellProcess"/>
      <element name="TStringGrid.OnChangeBounds" link="#lcl.controls.TControl.OnChangeBounds"/>
      <element name="TStringGrid.OnCheckboxToggled" link="#lcl.grids.TCustomGrid.OnCheckboxToggled"/>
      <element name="TStringGrid.OnClick" link="#lcl.controls.TControl.OnClick"/>
      <element name="TStringGrid.OnColRowDeleted" link="#lcl.grids.TCustomDrawGrid.OnColRowDeleted"/>
      <element name="TStringGrid.OnColRowExchanged" link="#lcl.grids.TCustomDrawGrid.OnColRowExchanged"/>
      <element name="TStringGrid.OnColRowInserted" link="#lcl.grids.TCustomDrawGrid.OnColRowInserted"/>
      <element name="TStringGrid.OnColRowMoved" link="#lcl.grids.TCustomDrawGrid.OnColRowMoved"/>
      <element name="TStringGrid.OnCompareCells" link="#lcl.grids.TCustomDrawGrid.OnCompareCells"/>
      <element name="TStringGrid.OnContextPopup" link="#lcl.controls.TControl.OnContextPopup"/>
      <element name="TStringGrid.OnDragDrop" link="#lcl.controls.TControl.OnDragDrop"/>
      <element name="TStringGrid.OnDragOver" link="#lcl.controls.TControl.OnDragOver"/>
      <element name="TStringGrid.OnDblClick" link="#lcl.controls.TControl.OnDblClick"/>
      <element name="TStringGrid.OnDrawCell" link="#lcl.grids.TCustomGrid.OnDrawCell"/>

      <element name="TStringGrid.OnEditButtonClick">
        <short>Deprecated. Use <var>OnButtonClick</var> instead.</short>
        <descr>
          <p>
            Deprecated. Use <var>OnButtonClick</var> instead.
          </p>
        </descr>
        <seealso>
          <link id="TCustomGrid.OnButtonClick"/>
        </seealso>
      </element>

      <element name="TStringGrid.OnButtonClick" link="#lcl.grids.TCustomGrid.OnButtonClick"/>
      <element name="TStringGrid.OnEditingDone" link="#lcl.controls.TControl.OnEditingDone"/>
      <element name="TStringGrid.OnEndDock" link="#lcl.controls.TControl.OnEndDock"/>
      <element name="TStringGrid.OnEndDrag" link="#lcl.controls.TControl.OnEndDrag"/>
      <element name="TStringGrid.OnEnter" link="#lcl.controls.TWinControl.OnEnter"/>
      <element name="TStringGrid.OnExit" link="#lcl.controls.TWinControl.OnExit"/>
      <element name="TStringGrid.OnGetCellHint" link="#lcl.grids.TCustomGrid.OnGetCellHint"/>
      <element name="TStringGrid.OnGetCheckboxState" link="#lcl.grids.TCustomDrawGrid.OnGetCheckboxState"/>
      <element name="TStringGrid.OnGetEditMask" link="#lcl.grids.TCustomDrawGrid.OnGetEditMask"/>
      <element name="TStringGrid.OnGetEditText" link="#lcl.grids.TCustomDrawGrid.OnGetEditText"/>
      <element name="TStringGrid.OnHeaderClick" link="#lcl.grids.TCustomDrawGrid.OnHeaderClick"/>
      <element name="TStringGrid.OnHeaderSized" link="#lcl.grids.TCustomDrawGrid.OnHeaderSized"/>
      <element name="TStringGrid.OnHeaderSizing" link="#lcl.grids.TCustomDrawGrid.OnHeaderSizing"/>
      <element name="TStringGrid.OnKeyDown" link="#lcl.controls.TWinControl.OnKeyDown"/>
      <element name="TStringGrid.OnKeyPress" link="#lcl.controls.TWinControl.OnKeyPress"/>
      <element name="TStringGrid.OnKeyUp" link="#lcl.controls.TWinControl.OnKeyUp"/>
      <element name="TStringGrid.OnMouseDown" link="#lcl.controls.TControl.OnMouseDown"/>
      <element name="TStringGrid.OnMouseEnter" link="#lcl.controls.TControl.OnMouseEnter"/>
      <element name="TStringGrid.OnMouseLeave" link="#lcl.controls.TControl.OnMouseLeave"/>
      <element name="TStringGrid.OnMouseMove" link="#lcl.controls.TControl.OnMouseMove"/>
      <element name="TStringGrid.OnMouseUp" link="#lcl.controls.TControl.OnMouseUp"/>
      <element name="TStringGrid.OnMouseWheel" link="#lcl.controls.TControl.OnMouseWheel"/>
      <element name="TStringGrid.OnMouseWheelDown" link="#lcl.controls.TControl.OnMouseWheelDown"/>
      <element name="TStringGrid.OnMouseWheelUp" link="#lcl.controls.TControl.OnMouseWheelUp"/>
      <element name="TStringGrid.OnMouseWheelHorz" link="#lcl.controls.TControl.OnMouseWheelHorz"/>
      <element name="TStringGrid.OnMouseWheelLeft" link="#lcl.controls.TControl.OnMouseWheelLeft"/>
      <element name="TStringGrid.OnMouseWheelRight" link="#lcl.controls.TControl.OnMouseWheelRight"/>
      <element name="TStringGrid.OnPickListSelect" link="#lcl.grids.TCustomGrid.OnPickListSelect"/>
      <element name="TStringGrid.OnPrepareCanvas" link="#lcl.grids.TCustomGrid.OnPrepareCanvas"/>
      <element name="TStringGrid.OnResize" link="#lcl.controls.TControl.OnResize"/>
      <element name="TStringGrid.OnSelectEditor" link="#lcl.grids.TCustomGrid.OnSelectEditor"/>
      <element name="TStringGrid.OnSelection" link="#lcl.grids.TCustomGrid.OnSelection"/>
      <element name="TStringGrid.OnSelectCell" link="#lcl.grids.TCustomDrawGrid.OnSelectCell"/>
      <element name="TStringGrid.OnSetCheckboxState" link="#lcl.grids.TCustomDrawGrid.OnSetCheckboxState"/>
      <element name="TStringGrid.OnSetEditText" link="#lcl.grids.TCustomDrawGrid.OnSetEditText"/>
      <element name="TStringGrid.OnShowHint" link="#lcl.controls.TControl.OnShowHint"/>
      <element name="TStringGrid.OnStartDock" link="#lcl.controls.TControl.OnStartDock"/>
      <element name="TStringGrid.OnStartDrag" link="#lcl.controls.TControl.OnStartDrag"/>
      <element name="TStringGrid.OnTopLeftChanged" link="#lcl.grids.TCustomGrid.OnTopLeftChanged"/>
      <element name="TStringGrid.OnUserCheckboxBitmap" link="#lcl.grids.TCustomGrid.OnUserCheckboxBitmap"/>
      <element name="TStringGrid.OnUserCheckboxImage" link="#lcl.grids.TCustomGrid.OnUserCheckboxImage"/>
      <element name="TStringGrid.OnUTF8KeyPress" link="#lcl.controls.TWinControl.OnUTF8KeyPress"/>
      <element name="TStringGrid.OnValidateEntry" link="#lcl.grids.TCustomGrid.OnValidateEntry"/>

      <element name="DrawRubberRect">
        <short>Draws a rubber banding rectangle.</short>
        <descr>
          <p>
            Draws a dotted rubber banding rectangle around the provided cell rectangle.
          </p>
          <p>
            <var>DrawBits</var> contains a <var>Byte</var> value that indicates the rectangle sides drawn in the routine. By default, all sides for the rectangle are drawn. Use the following byte values or-ed together in <var>DrawBits</var> to specify the sides drawn:
          </p>
          <dl>
            <dt>BF_LEFT</dt>
            <dd>Draws the left side of the rectangle.</dd>
            <dt>BF_RIGHT</dt>
            <dd>Draws the right side of the rectangle.</dd>
            <dt>BF_TOP</dt>
            <dd>Draws the top of the rectangle.</dd>
            <dt>BF_BOTTOM</dt>
            <dd>Draws the bottom of the rectangle.</dd>
          </dl>
        </descr>
        <seealso>
        </seealso>
      </element>
      <element name="DrawRubberRect.Canvas">
        <short>Canvas where the rubber band rectangle is drawn.</short>
      </element>
      <element name="DrawRubberRect.aRect">
        <short>Coordinates for the rubber band rectangle.</short>
      </element>
      <element name="DrawRubberRect.Color">
        <short>Color for the rubber band rectangle.</short>
      </element>
      <element name="DrawRubberRect.DrawBits">
        <short>Sides drawn for the rubber band rectangle.</short>
      </element>

      <element name="GetWorkingCanvas">
        <short>Ensures that a valid handle for a device context exists for the canvas.</short>
        <descr/>
        <seealso/>
      </element>
      <element name="GetWorkingCanvas.Result">
        <short>The canvas instance with a valid handle.</short>
      </element>
      <element name="GetWorkingCanvas.Canvas">
        <short>Canvas examined in the routine.</short>
      </element>

      <element name="FreeWorkingCanvas">
        <short>Ensures a canvas handle for a device context is freed.</short>
        <descr/>
        <seealso/>
      </element>
      <element name="FreeWorkingCanvas.canvas">
        <short>Canvas examined in the routine.</short>
      </element>

      <element name="Register">
        <short>Registers components in the Lazarus IDE.</short>
        <descr>
          <p>
            <var>Register</var> is the procedure used to register components for use in the Lazarus IDE. Register calls the <var>RegisterComponents</var> routine to add the <var>TStringGrid</var> and <var>TDrawGrid</var> components to the <b>Additional</b> tab in the Lazarus IDE.
          </p>
        </descr>
        <seealso/>
      </element>

      <topic name="HowToUseGrids">
        <short>
          How to use  <var>Grids</var> including  <var>StringGrids</var>,  <var>DrawGrids</var> and  <var>DbGrids</var>.
        </short>
        <descr>
          <p>
            <b>Customizing Grids</b>
          </p>
          <p>
            Grids are components derived from the <var>TCustomControl</var> class and do not  have a native widget associated with them. So they are not restricted by the look of the current interface theme. This can be both an advantage and a disadvantage: usually programmers want to create a uniform-look application. Lazarus grids are flexible enough to allow programmers to make them look similar to other native controls; alternatively they can customize the grid to obtain almost the same look in any platform or widget interface (with the exception of scrollbars, whose look is still determined by the current theme).
          </p>
          <p>
            Some properties can affect the way the grid looks by acting when the cell is about to be painted in <var>PrepareCanvas/OnPrepareCanvas</var> by changing default canvas properties like brush color or font. Following is a list of such properties:
          </p>
          <table>
            <caption>Properties and Events for Customizing Grids</caption>
            <th>
              <td>Property</td>
              <td>Meaning</td>
            </th>
            <tr>
              <td>AlternateColor</td>
              <td>The user can change the background color that appears on alternate rows. This is to allow easy reading of grid rows data.</td>
            </tr>
            <tr>
              <td>Color</td>
              <td>Sets the primary color used to draw non fixed cells' background.</td>
            </tr>
            <tr>
              <td>FixedColor</td>
              <td>The color used to draw fixed cells' background.</td>
            </tr>
            <tr>
              <td>Flat</td>
              <td>Eliminates the 3d look of fixed cells.</td>
            </tr>
            <tr>
              <td>TitleFont</td>
              <td>Font used to draw the text in fixed cells.</td>
            </tr>
            <tr>
              <td>TitleStyle</td>
              <td>
                <p>Changes the 3D look of fixed cells. There are 3 settings:</p>
                <dl>
                  <dt>tsLazarus</dt>
                  <dd>The default look</dd>
                  <dt>tsNative</dt>
                  <dd>Tries to use an appearance that is in concordance with the current widgetset theme</dd>
                  <dt>tsStandard</dt>
                  <dd>A more contrasted look, like Delphi grids</dd>
                </dl>
              </td>
            </tr>
            <tr>
              <td>AltColorStartNormal</td>
              <td>
                If true, alternate color is always in the second row after fixed rows; the first row after fixed rows will always be the default color. If false, default color is set to the first row as if there were no fixed rows.
              </td>
            </tr>
            <tr>
              <td>BorderColor</td>
              <td>
                Sets the grid's border color used when <var>Flat</var>=True and <var>BorderStyle</var>=bsSingle;
              </td>
            </tr>
            <tr>
              <td>EditorBorderStyle</td>
              <td>
                If set to <var>bsNone</var> under Windows the cell editors will not have the border, like in Delphi; set to <var>bsSingle</var> by default because the border can be theme specific in some widgetsets and to allow a uniform look.
            </td>
            </tr>
            <tr>
              <td>FocusColor</td>
              <td>The color used to draw the current focused cell if <var>UseXORFeatures</var> is not set; by default this is <var>clRed</var>.</td>
            </tr>
            <tr>
              <td>FocusRectVisible</td>
              <td>Turns on/off the drawing of focused cell.</td>
            </tr>
            <tr>
              <td>GridLineColor</td>
              <td>Color of grid lines in non fixed area.</td>
            </tr>
            <tr>
              <td>GridLineStyle</td>
              <td>
                Pen style used to draw lines in non fixed area, possible choices are: <var>psSolid</var>, <var>psDash</var>, <var>psDot</var>, <var>psDashDot</var>, <var>psDashDotDot</var>, <var>psinsideFrame</var>, <var>psPattern</var>, <var>psClear</var>; default is <var>psSolid</var>.
              </td>
            </tr>
            <tr>
              <td>SelectedColor</td>
              <td>Color used to draw cell background on selected cells.</td>
            </tr>
            <tr>
              <td>UseXORFeatures</td>
              <td>If set, focus rect is drawn using XOR mode so it should make visible the focus rect in combination with any cell color background. It also affects the way that moving columns look.</td>
            </tr>
            <tr>
              <td>DefaultDrawing</td>
              <td>
                Normally the grid prepares its grid canvas using properties according to the kind of cell that is being painted. If the user has written an <var>OnDrawCell</var> event handler, <var>DefaultDrawing</var> (if set) also paints the cell background; if the user is taking full responsibility for drawing the cell it is better to turn off this so painting is not duplicated. In a StringGrid, if DefaultDrawing is set it draws the text in each cell.
            </td>
            </tr>
            <tr>
              <td>AutoAdvance</td>
              <td>Where the cell cursor will go when pressing enter or tab/shift tab, or after editing.</td>
            </tr>
            <tr>
              <td>ExtendedColSizing</td>
              <td>If true, the  user can resize columns, not just at the headers, but anywhere along the column's height.</td>
            </tr>
          </table>
          <p>
            <b>Other Properties that Affect Grid Appearance:</b>
          </p>
          <p>
            <var>Options</var>
          </p>
          <p>
            This is a set of zero or more choices, with some elements that enable diverse functionality but others that are related directly with grid's look. Options can be set at design-time or run-time.
          </p>
          <dl>
            <dt>
              <var>goFixedVertLine, goFixedHorzLine</var>
            </dt>
            <dd>
              Draws a vertical or horizontal line respectively, delimiting cells or columns in the fixed area; active by default.
            </dd>
            <dt>
              <var>goVertLine, goHorzLine</var>
            </dt>
            <dd>
              The same as previous, but for the normal browseable area. A grid can be made to simulate a listbox by unsetting both of these options.
            </dd>
            <dt>
              <var>goDrawFocusSelected</var>
            </dt>
            <dd>
              If this option is enabled, a selection background is painted in the focused cell in addition to the focused dotted rectangle. Please note:  this doesn't work when the <var>goRowSelect</var> option is set; in such case the row is always painted as if <var>goDrawFocusSelected</var> is set.
            </dd>
            <dt>
              <var>goRowSelect</var>
            </dt>
            <dd>
              Selects the full row instead of individual cells.
            </dd>
            <dt>
              <var>goFixedRowNumbering</var>
            </dt>
            <dd>
              If set, grid will do numbering of rows in first fixed column.
            </dd>
            <dt>
              <var>goHeaderHotTracking</var>
            </dt>
            <dd>
              If set, the grid will try to show a different look when the mouse cursor is over any fixed cell. In order for this to work, desired cell zone needs to be enabled with the <var>HeaderHotZones</var>. Try combining this option with <var>TitleStyle</var>= <var>tsNative</var> to get themed hot tracking look.
            </dd>
            <dt>
              <var>goHeaderPushedLook</var>
            </dt>
            <dd>
              If set, this option enables a pushed look when clicking any fixed cell. The zone of "pushable" cells is enabled using <var>HeaderPushedZones</var> property.
            </dd>
          </dl>
          <p>
            <b>Description of the Grid Drawing Process</b>
          </p>
          <p>
            Like other custom controls, the grid is drawn using the paint method. In general terms the grid is drawn by painting all rows, and each row by painting its individual cells. The process is as follows:
          </p>
          <ul>
            <li>First, the visible cells area is determined: each row is tested to see if it intersects the canvas clipping region; if it's OK, then the visible area is painted by drawing columns of each row.
            </li>
            <li>
              The column and row values are used to identify the cell that is about to be painted and again each column is tested for intersection with the clipping region; if everything is OK, some additional properties like the cell's rectangular extent and visual state are passed as arguments to the DrawCell method.
            </li>
            <li>
              <p>
                As the drawing process is running, the visual state of each cell is adjusted according to grid options and position within grid. The visual state is retained in a variable of type <var>TGridDrawState</var> which is a set with following elements:
              </p>
              <table>
                <tr>
                  <td>gdSelected</td>
                  <td>The cell will have a selected look.</td>
                </tr>
                <tr>
                  <td>gdFocused</td>
                  <td>The cell will have a focused look.</td>
                </tr>
                <tr>
                  <td>gdFixed</td>
                  <td>Cell have to be painted with fixed cell look.</td>
                </tr>
                <tr>
                  <td>gdHot</td>
                  <td>the mouse is over this cell, so paint it with hot tracking look</td>
                </tr>
                <tr>
                  <td>gdPushed</td>
                  <td>the cell is being clicked, paint it with pushed look </td>
                </tr>
              </table>
            </li>
            <li>
              <p>
                <var>DrawCell</var> - The DrawCell method is virtual and may be overridden in descendent grids to do custom drawing. The information passed to <var>DrawCell</var> helps to identify which particular cell is being painted, the physical area occupied on the screen and its visible status. See <link id="TCustomGrid.DrawCell">DrawCell</link> reference for details. For each cell the following occurs:
              </p>
              <ul>
                <li>
                  <b>PrepareCanvas</b>  - If the DefaultDrawing is set, the grid canvas is setup with default properties for brush and font based on current visual state. For several design and run-time properties, the text alignment is set to match programmer selection in custom columns if they exists.  If DefaultDrawing is false, brush color is set to clWindow and Font color to clWindowText, the text alignment is set with grids defaultTextStyle value.
                </li>
                <li>
                  <b>OnPrepareCanvas</b> -  If the programmer wrote an event handler for the
                  <var>OnPrepareCanvas</var> event, it is called at this point. This event can be used for doing simple customization like changing a cell's background color, font's properties like color, font face and style, Text layout like different combinations of left, center, top, bottom, right alignment, etc. Any change made to the canvas for a particular cell in this event would be lost, because the next cell drawing will reset canvas again to a default state. So it's safe doing changes only for a particular cell or cells and forget about it for the rest. Using this event sometimes helps to avoid using the <var>OnDrawCell</var> grid event, where users would be forced to duplicate the grid's drawing code.
                </li>
                <li>
                  <b>OnDrawCell</b> - Next, if no handler for the <var>OnDrawCell</var> event was specified, the grid calls the <var>DefaultDrawCell</var> method which simply paints the cell background using the current canvas brush color and style. If the <var>OnDrawCell</var> handler exists, the grid first paints the cell background, but only if the <var>DefaultDrawing</var> was set; then it calls the <var>OnDrawCell</var> event to do custom cell painting. Usually programmers want to do custom drawing only for particular cells, but standard drawing for others: in this case, they can restrict custom operation to certain cell or cells by looking into <var>ACol, ARow</var> and <var>AState</var> arguments, and for other cells simply call the <var>DefaultDrawCell</var> method and let the grid to take care of it.
                </li>
                <li>
                  <b>Text</b> - At this point, if the <var>DefaultDrawing</var> is true, the cell's text content is painted (only for <var>TStringGrid</var>).
                </li>
                <li>
                  <b>Grid lines</b> - The last step for each cell is to paint the grid lines: if grid options <var>goVertLine, goHorzLine, goFixedVertLine</var> and
                  <var>goFixedHorzLine</var> are specified the cell grid is drawn at this point. Grids with only rows or only cols can be obtained by changing these options. If the programmer elected to have a "themed" look it is done at this point also (see TitleStyle).
                </li>
                <li>
                  <b>FocusRect</b> - When all columns of the current row have been painted it is time to draw the focus rectangle for the current selected cell or for the whole row if the <var>goRowSelect</var> option is set.
                </li>
              </ul>
            </li>
          </ul>
          <p>
            <b>Grid Cell Selection</b>
          </p>
          <p>
            The location of a grid's current (focused) cell (or row) can be changed using keyboard, mouse or through code. In order to change cell focus successfully to another position, we must test  the target position to see if it is allowed to receive cell focus. When using the keyboard, <var>AutoAdvance</var> performs part of the process by finding what should be the next focused cell. When using mouse clicks or moving by code, focus will not move from the current cell unless the target cell is permitted to receive focus.
          </p>
          <p>
            The grid calls <var>SelectCell</var> to see if a cell is focusable: if this function returns true, then the target cell identified with arguments <var>aCol</var> and <var>aRow</var> is focusable (the current implementation of <var>TCustomGrid</var> simply returns true). <var>TCustomDrawGrid</var> and hence <var>TDrawGrid</var> and <var>TStringGrid</var> override this method and check first if  a cell is any wider than 0; normally you don't want a 0 width cell selected so a cell with this characteristics is skipped automatically in the process of finding a suitable cell. The overridden method <var>SelectCell</var> also calls the user configurable event <var>OnSelectCell</var>: this event receives the cell coordinates as arguments and always returns a default result of True.
          </p>
          <p>
            Once a cell is known to be focusable and we are sure a movement will take place, the method <var>BeforeMoveSelection</var> is called; this in turns triggers the <var>OnBeforeSelection</var> event. This method's arguments are the coordinates for the new focused cell; at this point any visible editor is hidden too. The "before" word means that selection is not yet changed and current focused coordinates can be accessed with <var>grid.Col</var> and <var>grid.Row</var> properties.
          </p>
          <p>
            After that, the internal focused cell coordinates are changed and <var>MoveSelection</var> is called; this method's purpose (if set) is to trigger the <var>OnSelection</var> event (this is a notification that the focused cell has changed and the new cell coordinates are available through grid.row and grid.col properties).
          </p>
          <p>
            Note that is not good to use the <var>OnSelectCell</var> event to detect cell focus changes, as this event will be triggered several times even for the same cell in the process of finding a suitable cell. Is better to use <var>OnBeforeSelection</var> or <var>OnSelection</var> events for this purpose.
          </p>
          <p>
            <b>Using Cell Editors</b>
          </p>
          <p>
            Users can specify what editor will be used for a cell using one of two methods.
          </p>
          <ol>
            <li>
              <b>Using a custom column and selecting the ButtonStyle of the column.</b> In this method the user can select the style of the editor that will be shown. Available values are: <var>cbsAuto, cbsEllipsis, cbsNone, cbsPickList, cbsCheckboxColumn</var>.
            </li>
            <li>
              <p>
                <b>Using the OnSelectEditor Grid Event</b>
              </p>
              <p>
                Here the user specifies in the <var>Editor</var> parameter which editor to use for a cell identified by <var>aCol</var>, <var>ARow</var> in a <var>TCustomDrawGrid</var> derived grid or <var>TColumn</var> in <var>TCustomDBGrid</var>. The public <var>EditorByStyle()</var> function takes as parameter one of the following values: <var>cbsAuto, cbsEllipsis, cbsNone, cbsPickList, cbsCheckboxColumn</var>.
              </p>
              <p>
                This method takes precedence over the first one using custom columns. A Custom cell editor can be specified here, with values specific to the cell, row or column.
              </p>
            </li>
          </ol>
          <p>
            <b>Description of Editor Styles</b>
          </p>
          <p>
            The following is a description of the editor styles. They are enumerated values of type <var>TColumnButtonStyle</var> and so they are prefixed by 'cbs'. This type was used to remain compatible with Delphi's <var>DBGrid</var>.
          </p>
          <ul>
            <li>
              <b>cbsAuto</b> - This is the default editor style for TCustomGrid derived grids. The TStringCellEditor derived from TCustomMaskEdit is specialized to edit single line strings and is used by default in TStringGrid and TDrawGrid. When using Custom Columns, if the programmer filled the Column's PickList property, this behaves as if cbsPickList editor style was set. For a TCustomDBGrid that has a field of type Boolean, it behaves as if cbsCheckBoxColumn editor style was specified. This is the recommended value for custom cell editors.
            </li>
            <li>
              <p>
                <b>cbsEllipsis</b> - This editor style is the most generic one. A button with ellipsis (...) appears in the editing cell and the programmer can use the OnEditButtonClick grid event to take any programmed action  when the user presses the button. For example a calendar dialog could pop up to allow the user to select a specific date,  a file open dialog could appear to find files, or a calculator could appear so the user could enter the numeric result of calculations, etc.
              </p>
              <ul>
                <li>
                  OnEditButtonClick is just a notification, to find out in which cell a button has been clicked by taking  a look at the grid.Row and grid.Col properties.
                </li>
                <li>
                  A DBGrid has specific properties to retrieve the active column or field and because this event occurs in the active record, it could update the information in the active field.
                </li>
                <li>
                  This editor style is implemented using TButtonCellEditor, a direct descendant of TButton.
                </li>
              </ul>
            </li>
            <li>
              <b>cbsNone</b> - This editor style instructs the grid not to use any editor for a specific column; it behaves as if the cell were read-only.
            </li>
            <li>
              <p>
                <b>cbsPickList</b> - Used to present the user with a list of values that can be entered. This editor style is implemented using TPickListCellEditor, a component derived from TCustomComboBox. The list of values that are shown is filled in one of two ways depending on the method used to select the editor style.
               </p>
               <p>
                 When using custom columns, programmers can enter a list of values using the PickList property for the column.
               </p>
            </li>
            <li>
              <p>
                <b>cbsCheckboxColumn</b> - This editor style is at the moment only available in TDBGrid. If a field's contents associated with the column are restricted to a pair of values, for example, yes-no, true-false, on-off, 1-0, etc then cbsCheckboxColumn is used to modify the appearance of a column by using a checkbox representation that the user can toggle by using a mouse click or pressing the SPACE key.
              </p>
              <ul>
                <li>
                  If a ButtonStyle for a column is set to cbsAuto and DBGrid detects that the field associated with the column is a Boolean field, then the grid uses this editor style automatically. This automatic selection can be disabled or enabled using DBGrid's OptionsExtra property; setting dgeCheckboxColumn element to false disables this feature.
                </li>
                <li>
                  The values that are used to recognize the checked or unchecked states are set in a column's properties ValueChecked and ValueUnchecked.
                </li>
                <li>
                  At any moment, the field value can be in one of three states: Unchecked, Checked or Grayed.
                </li>
              </ul>
            </li>
          </ul>
        </descr>
        <notes>
          <note>
            ToDo:
            OnDrawCell example.
            Editing a pick list example.
          </note>
        </notes>
      </topic>

    </module>
    <!-- Grids -->
  </package>
</fpdoc-descriptions>