[]
        
(Showing Draft Content)

GrapeCity.Win.Spread.InputMan.CellType.EditBase.BackgroundImageLayout

BackgroundImageLayout Property

BackgroundImageLayout

Gets or sets the background image layout as defined in the ImageLayout enumeration.

Declaration
public override ImageLayout BackgroundImageLayout { get; set; }
Public Overrides Property BackgroundImageLayout As ImageLayout
Property Value
Type Description
ImageLayout

One of the values of ImageLayout (Center , None, Stretch, Tile, or Zoom). Tile is the default value.

Overrides
Remarks

Use the BackgroundImageLayout property to specify the position and behavior of an image you have placed on a control. BackgroundImageLayout takes effect only if the BackgroundImage property is set. You can increase performance for large images if you set BackgroundImageLayout to something other than Tile.

Exceptions
Type Condition
InvalidEnumArgumentException

The specified enumeration value does not exist.

See Also