Web Browser

Represents an embedded web browser control.

Remarks

This control uses the native web view controls provided by the platform. Performance in simulator & accross the apps will not always match.

Properties

PropertyTypeDescription
AutoRefreshBooleanA value that indicates whether the source will be automatically refreshed at a rate specified by AutoRefreshInterval. When false, the image will only be downloaded when the control is 1st loaded or when the source changes.
AutoRefreshIntervalIntegerThe time, in milliseconds, between repetitions of the auto refresh. Not used when AutoRefresh is false.
HtmlStringThe HTML content to display in the browser control. Not required when Url property is set.
UrlStringThe URL source of the HTML content to display in the browser control. Not required when Html property is set.
HeightFloatThe suggested height of the control in dp pixels.
HorizontalAlignmentEnumThe horizontal alignment characteristics that are applied to the control when it is composed in a parent layout panel, such as a Grid.
MarginThicknessThe outer margin that is applied to the control when it is composed in a parent layout panel, such as a Grid.
RotationIntegerThe rotation about the Z-axis in degrees.
VerticalAlignmentEnumThe vertical alignment characteristics that are applied to the control when it is composed in a parent layout panel, such as a Grid.
WidthFloatThe suggested width of the control in dp pixels.
IsEnabledBooleanA value that indicates whether the user can interact with the control.
IsHitTestVisibleBooleanA value that indicates whether the contained area of the control can return true values for hit testing.
IsVisibleBooleanA value that indicates whether the control should be visible.
OpacityFloatA value between 0 and 1.0 that declares the opacity factor, with 1.0 meaning full opacity and 0 meaning transparent.

Events

EventDescription
LoadedOccurs when the element is laid out, rendered, and ready for interaction.
UnloadedOccurs when the element is no longer rendered on the screen.