SPAppIFrame members
The SPAppIFrame control is used by SharePoint App developers to iframe remote pages into thier SharePoint pages. The SPAppIFrame provides several useful features for this scenario: 1) The src attribute of the SPAppIFrame can start with the ~remoteAppUrl token which will get resolved into the url to the Azure VM that the SPApp was installed into. 2) SPAppIframe supports postmessage communications that lets the iframed content send a resize message to the parent page to resize the iframe.
The SPAppIFrame type exposes the following members.
Constructors
Name | Description | |
---|---|---|
SPAppIFrame |
Top
Properties
Name | Description | |
---|---|---|
AccessKey | (Inherited from WebControl.) | |
Adapter | (Inherited from Control.) | |
AppRelativeTemplateSourceDirectory | (Inherited from Control.) | |
Attributes | (Inherited from WebControl.) | |
BackColor | (Inherited from WebControl.) | |
BindingContainer | (Inherited from Control.) | |
BorderColor | (Inherited from WebControl.) | |
BorderStyle | (Inherited from WebControl.) | |
BorderWidth | (Inherited from WebControl.) | |
ChildControlsCreated | (Inherited from Control.) | |
ClientID | (Inherited from Control.) | |
ClientIDMode | (Inherited from Control.) | |
ClientIDSeparator | (Inherited from Control.) | |
Context | (Inherited from Control.) | |
Controls | (Inherited from Control.) | |
ControlStyle | (Inherited from WebControl.) | |
ControlStyleCreated | (Inherited from WebControl.) | |
CssClass | (Inherited from WebControl.) | |
DataItemContainer | (Inherited from Control.) | |
DataKeysContainer | (Inherited from Control.) | |
DefaultHeight | The height to use if SPAppIFrame.Height is not set and the iframed content does not specify a height via PostMessage("resize(width,height)"); | |
DefaultWidth | The width to use if SPAppIFrame.Width is not set and the iframed content does not specify a width via PostMessage("resize(width,height)"); | |
DesignMode | (Inherited from Control.) | |
Enabled | (Inherited from WebControl.) | |
EnableTheming | (Inherited from WebControl.) | |
EnableViewState | (Inherited from Control.) | |
Events | (Inherited from Control.) | |
Font | (Inherited from WebControl.) | |
ForeColor | (Inherited from WebControl.) | |
HasAttributes | (Inherited from WebControl.) | |
HasChildViewState | (Inherited from Control.) | |
Height | Since HTML iFrame's expect their height to be a string only support a string height on SPAppIFrame. | |
ID | (Inherited from Control.) | |
IdSeparator | (Inherited from Control.) | |
IsChildControlStateCleared | (Inherited from Control.) | |
IsEnabled | (Inherited from WebControl.) | |
IsTrackingViewState | (Inherited from Control.) | |
IsViewStateEnabled | (Inherited from Control.) | |
LoadViewStateByID | (Inherited from Control.) | |
Name | ||
NamingContainer | (Inherited from Control.) | |
Page | (Inherited from Control.) | |
Parent | (Inherited from Control.) | |
RenderingCompatibility | (Inherited from Control.) | |
Site | (Inherited from Control.) | |
SkinID | (Inherited from WebControl.) | |
Src | ||
Style | Since HTML iFrame's expect their style to be a string add a 'new' string Style on SPAppIFrame to hide the underlying WebControl.Style property which is of type CssStyleCollection. | |
SupportsDisabledAttribute | (Inherited from WebControl.) | |
TabIndex | (Inherited from WebControl.) | |
TagKey | (Inherited from WebControl.) | |
TagName | (Inherited from WebControl.) | |
TemplateControl | (Inherited from Control.) | |
TemplateSourceDirectory | (Inherited from Control.) | |
ToolTip | (Inherited from WebControl.) | |
UniqueID | (Inherited from Control.) | |
ViewState | (Inherited from Control.) | |
ViewStateIgnoresCase | (Inherited from Control.) | |
ViewStateMode | (Inherited from Control.) | |
Visible | (Inherited from Control.) | |
Width | Since HTML iFrame's expect their width to be a string only support a string width on SPAppIFrame. |
Top
Methods
Top
Events
Name | Description | |
---|---|---|
DataBinding | (Inherited from Control.) | |
Disposed | (Inherited from Control.) | |
Init | (Inherited from Control.) | |
Load | (Inherited from Control.) | |
PreRender | (Inherited from Control.) | |
Unload | (Inherited from Control.) |
Top
Explicit interface implementations
Name | Description | |
---|---|---|
IParserAccessor.AddParsedSubObject | (Inherited from Control.) | |
IControlBuilderAccessor.ControlBuilder | (Inherited from Control.) | |
IDataBindingsAccessor.DataBindings | (Inherited from Control.) | |
IExpressionsAccessor.Expressions | (Inherited from Control.) | |
IAttributeAccessor.GetAttribute | (Inherited from WebControl.) | |
IControlDesignerAccessor.GetDesignModeState | (Inherited from Control.) | |
IDataBindingsAccessor.HasDataBindings | (Inherited from Control.) | |
IExpressionsAccessor.HasExpressions | (Inherited from Control.) | |
IAttributeAccessor.SetAttribute | (Inherited from WebControl.) | |
IControlDesignerAccessor.SetDesignModeState | (Inherited from Control.) | |
IControlDesignerAccessor.SetOwnerControl | (Inherited from Control.) | |
IControlDesignerAccessor.UserData | (Inherited from Control.) |
Top