OnFormFactorExtensionBase<TReturn, TOn> Class
Definition
Provides form factor-specific value for T for the current target device. This extension defines "form-factor" as a "device type" rather than "screen type".
public class OnFormFactorExtensionBase<TReturn, TOn>
Methods
| Name | Description |
|---|---|
| ProvideValue | No summary available. |
ProvideValue Method
public object ProvideValue()
Returns
object
Properties
| Name | Description |
|---|---|
| Default | Gets or sets the value applied by default. If not set, default(TReturn) is assigned to the value. |
| Desktop | Gets or sets the value applied on desktop systems. |
| Mobile | Gets or sets the value applied on mobile systems. |
| TV | Gets or sets the value applied on TV systems. |
Default Property
Gets or sets the value applied by default. If not set, default(TReturn) is assigned to the value.
public TReturn Default { get; set; }
Desktop Property
Gets or sets the value applied on desktop systems.
public TReturn Desktop { get; set; }
Mobile Property
Gets or sets the value applied on mobile systems.
public TReturn Mobile { get; set; }
TV Property
Gets or sets the value applied on TV systems.
public TReturn TV { get; set; }