Note
Access to this page requires authorization. You can try signing in or .
Access to this page requires authorization. You can try .
ResourceContext Class
Definition
- Namespace:
- Microsoft.Windows.ApplicationModel.Resources
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Encapsulates all of the factors that might affect resource selection.
public ref class ResourceContext sealed
public ref class ResourceContext sealed : IResourceContext
/// [Windows.Foundation.Metadata.ContractVersion(Microsoft.Windows.ApplicationModel.Resources.MrtContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class ResourceContext final
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.ContractVersion(Microsoft.Windows.ApplicationModel.Resources.MrtCoreContract, 65536)]
class ResourceContext final : IResourceContext
[Windows.Foundation.Metadata.ContractVersion(typeof(Microsoft.Windows.ApplicationModel.Resources.MrtContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class ResourceContext
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.ContractVersion(typeof(Microsoft.Windows.ApplicationModel.Resources.MrtCoreContract), 65536)]
public sealed class ResourceContext : IResourceContext
Public NotInheritable Class ResourceContext
Public NotInheritable Class ResourceContext
Implements IResourceContext
- Inheritance
- Attributes
- Implements
Remarks
Resources can be sensitive to scale, and different views owned by an app are able to display simultaneously on different display devices, which might use different scales.
Except where otherwise noted, methods of this class can be called on any thread.
Properties
| Name | Description |
|---|---|
| QualifierValues |
Gets a map of all supported qualifiers, indexed by name. |
Applies to
See also
Feedback
Was this page helpful?
