System.Gadget.settingsUI Property

Gets or sets the HTML filename for the gadget Settings dialog user interface (UI).

This property is read/write.

Syntax

propVal = System.Gadget.settingsUI(strSettingsUI)

  
System.Gadget.settingsUI(strSettingsUI)

   = propVal 

Parameters

  • strSettingsUI [in]

  • strSettingsUI [out]
    Sets or retrieves the HTML filename.

Remarks

The gadget Settings button is activated when the settingsUI property is assigned a value.

Examples

The following example demonstrates how to use the settingsUI property to enable the gadget Settings dialog box.

// Enable the gadget settings functionality. 
System.Gadget.settingsUI = "Example.html";

Requirements

Minimum supported client Windows Vista
Minimum supported server Windows Server 2008
DLL Sidebar.Exe version 1.00 or later

See Also

System.Gadget

Reference

System.Gadget.Settings

read

write

onSettingsClosed

onSettingsClosing

onShowSettings

 

Conceptual

Developing a Gadget for Windows Sidebar Part 1: The Basics

 

 

Send comments about this topic to Microsoft

Build date: 2/24/2010

Build type: SDK