System.Gadget.background Property

Gets or sets the file path for the gadget background image.

This property is read/write.

Syntax

propVal = System.Gadget.background(strFilepath)

  
System.Gadget.background(strFilepath)

   = propVal 

Parameters

strFilepath [in]
strFilepath [out]

Sets or retrieves a UNC path or a URI.

Remarks

The background property is initialized by the g:background element in the gadget HTML file.

The background property should be modified after the gadget has finished loading.

Note   It is recommended that the src property be used instead of the background property if the script is located within the body tags of the gadget HTML file. The System.Gadget object is not guaranteed to exist in these cases.

Requirements

Minimum supported clientWindows Vista
Minimum supported serverWindows Server 2008
IDLSidebar.idl
DLLSidebar.Exe version 1.00 or later

See Also

System.Gadget

 

 

Send comments about this topic to Microsoft

Build date: 2/24/2010

Build type: SDK

Community Additions

Show: