Represents a control that allows you to embed a page within another page.
Remarks
This control is commonly used to reference a single XAML page several places in a project.
It supports templating features similar to that of the DeviceBrowser. When the Device property is set, all references to @Device in the current Page's XAML will be replaced with the assigned value.
This control is only compatible with pages of type ContentPage.
Properties
| Property | Type | Description |
|---|---|---|
Background |
Color | The background color of the control. |
Device |
String | The Device context for the current Page. |
Page |
String | The filename of the page to display in the browser control. |
Height |
Float | The suggested height of the control in dp pixels. |
HorizontalAlignment |
Enum | The horizontal alignment characteristics applied to the control. |
Margin |
Thickness | The outer margin applied to the control. |
Rotation |
Integer | The rotation about the Z-axis in degrees. |
VerticalAlignment |
Enum | The vertical alignment characteristics applied to the control. |
Width |
Float | The suggested width of the control in dp pixels. |
IsEnabled |
Boolean | Indicates whether the user can interact with the control. |
IsHitTestVisible |
Boolean | Indicates whether the contained area can return true for hit testing. |
IsVisible |
Boolean | Indicates whether the control should be visible. |
Opacity |
Float | A value between 0 and 1.0 that declares the opacity factor. |
Events
| Event | Description |
|---|---|
Loaded |
Occurs when the element is laid out, rendered, and ready for interaction. |
Unloaded |
Occurs when the element is no longer rendered on the screen. |