Frame::SandboxExternalContent Property
Gets or sets whether a Frame isolates external Extensible Application Markup Language (XAML) content within a partial trust security sandbox (with the default Internet permission set).
Assembly: PresentationFramework (in PresentationFramework.dll)
Property Value
Type: System::Booleantrue if content is isolated within a partial trust security sandbox; otherwise, false. The default is false.
| Exception | Condition |
|---|---|
| SecurityException | SandboxExternalContent is set when an application is executing in partial trust. |
External content is XAML content that is not included with an application as either a resource file or a content file (see WPF Application Resource, Content, and Data Files).
When SandboxExternalContent is true, and the source for the content of the Frame is an external XAML file, the content is loaded into a partial trust security sandbox that is limited to the default Internet permission set. The external content is subsequently loaded into a separate process. As a result, the external content becomes isolated and does not have access to application-scope resources, such as resource dictionaries (see ResourceDictionary).
Identifier field | SandboxExternalContent |
Metadata properties set to true | None |
Available since 3.0
