GrapeCity MultiRow Windows Forms Documentation
BackgroundImageOpacity Property (Section)


Gets or sets the background image's opacity.
Syntax
<DefaultValueAttribute()>
<FeatureAttribute(Name="Section", Version="V5.0")>
<SRDescriptionAttribute("Indicates the opacity percentage of the Section's BackgroundImage.
")>
<SRCategoryAttribute("Appearance")>
<LocalizableAttribute(True)>
<TypeConverterAttribute("System.Windows.Forms.OpacityConverter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")>
Public Property BackgroundImageOpacity As Double
Dim instance As Section
Dim value As Double
 
instance.BackgroundImageOpacity = value
 
value = instance.BackgroundImageOpacity
[DefaultValue()]
[Feature(Name="Section", Version="V5.0")]
[SRDescription("Indicates the opacity percentage of the Section's BackgroundImage.
")]
[SRCategory("Appearance")]
[Localizable(true)]
[TypeConverter("System.Windows.Forms.OpacityConverter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089")]
public double BackgroundImageOpacity {get; set;}

Property Value

A System.Double value that represents the background image's opacity. The default is 1.
Exceptions
ExceptionDescription
System.ArgumentOutOfRangeException

The specified value is less than 0.0.

-or-

The specified value is greater than 1.0.

Remarks
A BackgroundImageOpacity value of 0 indicates that the background image is completely transparent, while a value of 1 indicates that the background image is completely opaque. A value of 0.5 indicates the background image is 50% opaque, a value of 0.725 indicates the background image is 72.5% opaque, and so on.
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

Section Class
Section Members

 

 


Copyright © GrapeCity, inc. All rights reserved.