跳转至主内容 跳到 Ask Learn 聊天体验

此浏览器不再受支持。

请升级到 Microsoft Edge 以使用最新的功能、安全更新和技术支持。

下载 Microsoft Edge 有关 Internet Explorer 和 Microsoft Edge 的详细信息
使用英语阅读

通过

Facebook x.com 共享 LinkedIn 电子邮件

备注

访问此页面需要授权。 可以尝试登录或更改目录。

访问此页面需要授权。 可以尝试更改目录。

  • 2011-06-13

本文内容

Methods Reference

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

This section describes the methods exposed by the JavaScript API for Silverlight.

Methods

Abort

Add

AddEventListener

AddStylusPoints

Begin

CaptureMouse

Clear

CreateFromXaml

CreateFromXamlDownloader

CreateObject

Equals

FindName (DependencyObject)

FindName (Silverlight Plug-in)

Focus (Silverlight 2)

GetBounds (Stroke)

GetBounds (StrokeCollection)

GetHost

GetItem

GetItemByName

GetIthSubImage (Silverlight 2)

GetParent

GetPosition

GetResponseText

GetStylusInfo

GetStylusPoints

GetValue

HitTest (Stroke)

HitTest (StrokeCollection)

Insert

IsVersionSupported

Open

Pause (MediaElement)

Pause (Storyboard)

Play

ReleaseMouseCapture

Remove

RemoveAt

RemoveEventListener

Resume

Seek

Select (Silverlight 2)

SelectAll (Silverlight 2)

Send

SetFontSource

SetSource (Image)

SetSource (ImageBrush)

SetSource (MediaElement)

SetValue

Stop (MediaElement)

Stop (Storyboard)

See Also

Concepts

Objects Reference

Properties Reference

Events Reference

Enumerations Reference

Overviews and How-to Topics (Silverlight 1.0)


其他资源

本文内容

其他资源

zh-cn
你的隐私选择
  • 早期版本
  • 博客
  • 参与
  • 隐私
  • 使用条款
  • 商标
  • © Microsoft 2025