Flex样式-DataGrid篇

DataGrid {
   backgroundAlpha: 0.91;
   backgroundColor: #cc9900;
   alternatingItemColors: #33ffcc, #cccc00;
   headerColors: #660000, #ccff00;
   horizontalGridLines: true;
   letterSpacing: 0;
   horizontalGridLineColor: #ccffcc;
   verticalGridLines: true;
   verticalGridLineColor: #cc6699;
   useRollOver: true;
   rollOverColor: #33cc66;
   textRollOverColor: #660033;
   borderThickness: 2;
   borderColor: #006600;
   iconColor: #66ff00;
   selectionColor: #ffffff;
   color: #000000;
   textSelectedColor: #ff0000;
   textIndent: 1;
   dropShadowEnabled: true;
   shadowDistance: -1;
   shadowDirection: center;
   dropShadowColor: #99ff99;
   fontFamily: Monaco;
   fontSize: 20;
   fontWeight: bold;
   fontStyle: italic;
   textDecoration: underline;
   headerStyleName: "mydataGridHeaderStyle";
}

.mydataGridHeaderStyle {
   color: #00ff00;
   fontFamily: Comic Sans MS;
   fontWeight: bold;
   fontSize: 14;
   fontStyle: italic;
   textDecoration: underline;
   letterSpacing: 1;
   textAlign: center;
}

原文地址:https://www.cnblogs.com/hzcya1995/p/13315488.html