Condividi tramite


OutOfBrowserSettings.ShowInstallMenuItem Property

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Gets a value that indicates whether the application right-click menu includes an install option.

Namespace:  System.Windows
Assembly:  System.Windows (in System.Windows.dll)

Syntax

'Declaration
Public ReadOnly Property ShowInstallMenuItem As Boolean
public bool ShowInstallMenuItem { get; }
<OutOfBrowserSettings ShowInstallMenuItem="bool" />

Property Value

Type: System.Boolean
true if the right-click menu includes an install option; otherwise, false. The default is true.

Remarks

By default, an application configured for out-of-browser support will display an install option on the right-click menu that appears when users right-click the application. You can use this property to hide the install menu option if you want to provide your own installation user interface.

This property is read-only at run time, but you can set it in the out-of-browser configuration. For more information, see How to: Configure an Application for Out-of-Browser Support.

Version Information

Silverlight

Supported in: 5, 4, 3

Platforms

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.