programming4us
programming4us
WEBSITE

Silverlight JavaScript Reference

- Free product key for windows 10
- Free Product Key for Microsoft office 365
- Malwarebytes Premium 3.7.1 Serial Keys (LifeTime) 2019
I_section_d1e9114.html

Using the Silverlight Plug-in

There are two ways to access the Silverlight plug-in. Use the HTML DOM and the document.getElementById() method, and provide the ID used in the createSilverlight() function. Or intercept any Silverlight event and access the plug-in in the following fashion:

function eventHandler(sender, eventArgs) {
var plugin = sender.getHost();
}

From the plug-in, you have access to the following properties and methods:

content.accessibility

Accessibility information of the Silverlight content (read-only).

content.actualHeight

The height of the Silverlight content (read-only).

content.actualWidth

The width of the Silverlight content (read-only).

content.createFromXaml(xamlContent, nameScope)

Creates a Silverlight object with the given XAML content; if nameScope is set to true, a unique x:Name attribute is assigned.

content.createFromXamlDownloader(downloader, part)

Creates a Silverlight object from the given downloader object; if the downloaded content is a ZIP archive, part defines the name of the file to use.

content.findName(objectName)

Returns a reference to the object with the given name.

content.fullScreen

Whether the Silverlight plug-in is in full-screen mode (read and write).

content.onFullScreenChange

Event handler that is fired when the application enters or leaves full-screen mode.

content.onResize

Event handler that is fired if the Silverlight content area is resized.

createObject(objectType)

Creates and returns an object with the given type.

initParams

The initialization parameters provided for the Silverlight content (read-only after the initialization).

isLoaded

Whether the Silverlight plug-in and its XAML content are fully loaded (read-only).

isVersionSupported(versionString)

Whether the current Silverlight plug-in supports content with the given version number.

onError

Event handler that is fired if an error occurs within the Silverlight application.

root

The root element of the Silverlight content (read-only).

settings.background

The background color of the Silverlight content area (read and write).

settings.enabledFramerateCounter

Whether the current frame rate is displayed in the browser's status bar (read and write; note that not all browsers allow you to change the content of the status bar).

settings.enableRedrawRegions

Whether the regions of the Silverlight content that are redrawn are highlighted (read and write; useful only during development).

settings.enableHtmlAccess

Whether to allow Silverlight content to access the HTML DOM (read-only).

settings.maxFrameRate

The maximum frame rate (number of frames) of the Silverlight content (read and write).

settings.windowless

Whether the Silverlight application runs in windowless mode (then the background may use alphatransparency and can let the background on the HTML page shine through), set in the initialization phase (read-only afterward).

source

The XAML source code of the Silverlight content (read and write).

Other  
 
Top 10
Free Mobile And Desktop Apps For Accessing Restricted Websites
MASERATI QUATTROPORTE; DIESEL : Lure of Italian limos
TOYOTA CAMRY 2; 2.5 : Camry now more comely
KIA SORENTO 2.2CRDi : Fuel-sipping slugger
How To Setup, Password Protect & Encrypt Wireless Internet Connection
Emulate And Run iPad Apps On Windows, Mac OS X & Linux With iPadian
Backup & Restore Game Progress From Any Game With SaveGameProgress
Generate A Facebook Timeline Cover Using A Free App
New App for Women ‘Remix’ Offers Fashion Advice & Style Tips
SG50 Ferrari F12berlinetta : Prancing Horse for Lion City's 50th
- Messages forwarded by Outlook rule go nowhere
- Create and Deploy Windows 7 Image
- How do I check to see if my exchange 2003 is an open relay? (not using a open relay tester tool online, but on the console)
- Creating and using an unencrypted cookie in ASP.NET
- Directories
- Poor Performance on Sharepoint 2010 Server
- SBS 2008 ~ The e-mail alias already exists...
- Public to Private IP - DNS Changes
- Send Email from Winform application
- How to create a .mdb file from ms sql server database.......
programming4us programming4us
programming4us
 
 
programming4us