Spread for ASP.NET 10 Product Documentation
Enable Property
Example 


Gets or sets whether the Background image is enabled.
Syntax
'Declaration
 
Public Property Enable As Boolean
'Usage
 
Dim instance As Background
Dim value As Boolean
 
instance.Enable = value
 
value = instance.Enable
public bool Enable {get; set;}

Property Value

Boolean: true if enabled; false otherwise
Example
This example sets the background image for the column.
FpSpread1.Columns[0].Background.BackgroundImageUrl = FarPoint.Web.Spread.Background.DEFAULT_GRADIENT_MASK_IMAGE;
FpSpread1.Columns[0].Background.Enable = true;
FpSpread1.Columns[0].Background.SelectedBackgroundImageUrl = FarPoint.Web.Spread.Background.DEFAULT_GRADIENT_MASK_IMAGE;
FpSpread1.Columns(0).Background.BackgroundImageUrl = FarPoint.Web.Spread.Background.DEFAULT_GRADIENT_MASK_IMAGE
FpSpread1.Columns(0).Background.Enable = True
FpSpread1.Columns(0).Background.SelectedBackgroundImageUrl = FarPoint.Web.Spread.Background.DEFAULT_GRADIENT_MASK_IMAGE
Requirements

Target Platforms: Windows 7, Windows 8, Windows 10, Windows Vista, Windows Server 2003, Windows Server 2008, Windows Server 2012, Windows XP Professional

See Also

Reference

Background Class
Background Members

 

 


Copyright © GrapeCity, inc. All rights reserved.