Sdílet prostřednictvím


System.Windows.Interop Namespace

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

Provides managed code exposure for properties of the Silverlight plug-in, which otherwise exist in the HTML DOM of the hosting browser. These properties can also be accessed with JavaScript in the JavaScript API. For more information, see JavaScript API for Silverlight.

Classes

  Class Description
Public class Content Reports details about the instantiation settings of a-based application, and exposes some of the HTML DOM values for the hosted Silverlight plug-in instance. The Content object contains APIs that specifically relate to the Silverlight content area (the area that is declared by the width and height in the initialization).
Public class HostingRenderTargetBitmap Enables a native Silverlight host, such as Expression Blend or Visual Studio, to convert a UIElement object into a bitmap.
Public class NavigationStateChangedEventArgs Provides data for the SilverlightHost.NavigationStateChanged event.
Public class Settings Reports details about the Silverlight-based application's instantiation settings, and exposes some of the HTML DOM values for the hosted Silverlight plug-in instance.
Public class SilverlightHost Reports details about the Silverlight-based application's instantiation settings, and exposes some of the HTML DOM values for the hosted Silverlight plug-in instance.

Enumerations

  Enumeration Description
Public enumeration FullScreenOptions Defines constants that indicate the behavior of full-screen mode.