GrapeCity MultiRow Windows Forms Documentation
UseRealTransparent Property


Gets or sets a value indicating whether the header cell can display section's background gradient or image or other effect when the header cell's FlatStyle property value is System.Windows.Forms.FlatStyle.Flat or System.Windows.Forms.FlatStyle.Popup and the background color is Transparent.
Syntax
<SRDescriptionAttribute("Indicates whether the header cell can display the section's background gradient or image effect when the header cell's flat style is flat and backcolor is Transparent.")>
<DefaultValueAttribute()>
<SRCategoryAttribute("Appearance")>
Public Property UseRealTransparent As Boolean
Dim instance As HeaderCell
Dim value As Boolean
 
instance.UseRealTransparent = value
 
value = instance.UseRealTransparent
[SRDescription("Indicates whether the header cell can display the section's background gradient or image effect when the header cell's flat style is flat and backcolor is Transparent.")]
[DefaultValue()]
[SRCategory("Appearance")]
public bool UseRealTransparent {get; set;}

Property Value

true if the header cell can display thesection's background gradient or image or other effect when the header cell's FlatStyle property value is System.Windows.Forms.FlatStyle.Flat or System.Windows.Forms.FlatStyle.Popup and the background color is Transparent; otherwise,false. The default is false.
Remarks

This property only has an effect when the FlatStyle property value is System.Windows.Forms.FlatStyle.Flat or System.Windows.Forms.FlatStyle.Popup.

If this property's value is false and the background color is transparent, the cell will use the section's background color as it's background color to paint. At that time, if the section has a gradient effect, the gradient effect is invisible in the header cell's area.

If this property's value is true and the background color is transparent, the header cell's hover and press effect may be not available. You can use the FlatAppearance property to avoid this problem.

If this property's value is true, the translucency color such as Color.FromArgb(50, Color.Red) is is supported too.

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

HeaderCell Class
HeaderCell Members

 

 


Copyright © GrapeCity, inc. All rights reserved.