Configuration<TPlatform,TElement> Class
Definition
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.
Utility class for retrieving platform-specific versions of elements.
public class Configuration<TPlatform,TElement> : Xamarin.Forms.IConfigElement<TElement>, Xamarin.Forms.IPlatformElementConfiguration<TPlatform,TElement> where TPlatform : IConfigPlatform where TElement : Element
type Configuration<'Platform, 'Element (requires 'Platform :> IConfigPlatform and 'Element :> Element)> = class
interface IPlatformElementConfiguration<'Platform, 'Element (requires 'Platform :> IConfigPlatform and 'Element :> Element)>
interface IConfigElement<'Element (requires 'Element :> Element)>
Type Parameters
- TPlatform
The target platform for the configuration.
- TElement
The element type for which to retrieve platform-specific versions.
- Inheritance
-
System.ObjectConfiguration<TPlatform,TElement>
- Implements
Constructors
Configuration<TPlatform,TElement>(TElement) |
Constructs a new configuration for the specified |
Properties
Element |
Gets the platform-independent element for which platform-specific versions can be retrieved. |
Methods
Create(TElement) |
Creates and returns a new configuration for the specifed |