Syncfusion.Grid.Windows


BackgroundImageMode Property

Gets or sets how the background image is displayed.
Syntax
'Declaration
 
<NotifyParentPropertyAttribute(True)>
<DescriptionAttribute("Indicates how the image is displayed.")>
<BrowsableAttribute(True)>
<CategoryAttribute("Image")>
Public Property BackgroundImageMode As GridBackgroundImageMode
'Usage
 
Dim instance As GridStyleInfo
Dim value As GridBackgroundImageMode
 
instance.BackgroundImageMode = value
 
value = instance.BackgroundImageMode
[NotifyParentProperty(true)]
[Description("Indicates how the image is displayed.")]
[Browsable(true)]
[Category("Image")]
public GridBackgroundImageMode BackgroundImageMode {get; set;}
Remarks
Valid values for this property are taken from the GridBackgroundImageMode enumeration. By default, in BackgroundImageModeMode.Normal mode, the Image is placed in the upper left corner of the cell(s), and any part of the image too big for the cell(s) is clipped. Using the GridBackgroundImageModeMode.StretchImage value causes the image to stretch to fit the cell(s).

The default value for the BackgroundImageMode property is GridBackgroundImageMode.

The property affects the behavior or appearance of the following cell types:

AssemblyVersion

Syncfusion.Grid.Windows: 17.3460.0.26

See Also