* ThemeVisualStyles.cs: Added support for ToolTip transparent background.
svn path=/trunk/mcs/; revision=103650
+2008-05-21 George Giolfan <georgegiolfan@yahoo.com>
+
+ * ThemeVisualStyles.cs: Added support for ToolTip transparent background.
+
2008-05-21 George Giolfan <georgegiolfan@yahoo.com>
* Theme.cs, ThemeWin32Classic.cs, ToolTip.cs: Added support for transparent
}
new VisualStyleRenderer (element).DrawBackground (dc, control.Bounds);
}
+ public override bool ToolTipTransparentBackground {
+ get {
+ VisualStyleElement element = VisualStyleElement.ToolTip.Standard.Normal;
+ if (!VisualStyleRenderer.IsElementDefined (element))
+ return base.ToolTipTransparentBackground;
+ return new VisualStyleRenderer (element).IsBackgroundPartiallyTransparent ();
+ }
+ }
#endregion
#region TreeView
[MonoTODO("Use the sizing information provided by the VisualStyles API.")]