PageRenderTime 3ms CodeModel.GetById 0ms RepoModel.GetById 1ms app.codeStats 0ms

/IZWebFileManager/HiddenItemStyle.cs

http://izwebfilemanager.googlecode.com/
C# | 17 lines | 16 code | 1 blank | 0 comment | 0 complexity | 43ee12795cbd49d4232c6c64cd108c20 MD5 | raw file
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Text;
  4. using System.Web.UI.WebControls;
  5. namespace IZ.WebFileManager
  6. {
  7. class HiddenItemStyle : Style
  8. {
  9. protected override void FillStyleAttributes (System.Web.UI.CssStyleCollection attributes, System.Web.UI.IUrlResolutionService urlResolver) {
  10. base.FillStyleAttributes (attributes, urlResolver);
  11. attributes.Add ("opacity", "0.40");
  12. attributes.Add ("filter", "alpha(opacity=40)");
  13. attributes.Add ("-moz-opacity", ".40");
  14. }
  15. }
  16. }