Share via


Silverlight.ScaleMode Property

Gets or sets how the Silverlight plug-in fills its available space.

Namespace:  System.Web.UI.SilverlightControls
Assembly:  System.Web.Silverlight (in System.Web.Silverlight.dll)

Syntax

'Declaration
<ThemeableAttribute(True)> _
<BindableAttribute(True)> _
Public Overridable Property ScaleMode As ScaleMode
    Get
    Set
'Usage
Dim instance As Silverlight
Dim value As ScaleMode

value = instance.ScaleMode

instance.ScaleMode = value
[ThemeableAttribute(true)]
[BindableAttribute(true)]
public virtual ScaleMode ScaleMode { get; set; }

Property Value

Type: System.Web.UI.SilverlightControls.ScaleMode
A ScaleMode value. The default is None.

Remarks

The ScaleMode specifies how the Silverlight source should be scaled to fit in the Silverlight host.

Platforms

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

See Also

Reference

Silverlight Class

Silverlight Members

System.Web.UI.SilverlightControls Namespace