Advertisement
HaLo2FrEeEk

Opacity properties

Jan 2nd, 2011
263
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.29 KB | None | 0 0
  1. private double opacity;
  2.  
  3. [Description("Opacity of the control"),
  4. DefaultValue(1),
  5. Category("Appearance"),
  6. Browsable(true),
  7. TypeConverter(typeof(OpacityConverter))]
  8. public double Opacity
  9. {
  10.     get { return opacity; }
  11.     set
  12.     {
  13.         opacity = value;
  14.         InvalidateEx();
  15.     }
  16. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement