MediaPlayer.ScaleMode Property
Gets or sets the display mode.
Namespace: System.Web.UI.SilverlightControls
Assembly: System.Web.Silverlight (in System.Web.Silverlight.dll)
Syntax
'Declaration
<ThemeableAttribute(True)> _
<BindableAttribute(True)> _
Public Overrides Property ScaleMode As ScaleMode
Get
Set
'Usage
Dim instance As MediaPlayer
Dim value As ScaleMode
value = instance.ScaleMode
instance.ScaleMode = value
[ThemeableAttribute(true)]
[BindableAttribute(true)]
public override ScaleMode ScaleMode { get; set; }
Property Value
Type: System.Web.UI.SilverlightControls.ScaleMode
One of the enumeration values. A ScaleMode enumeration value. The default is Zoom.
Remarks
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.