OnFormFactorExtensionBase<TReturn, TOn> Class
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".
Definition
Namespace: Avalonia.Markup.Xaml.MarkupExtensions
Assembly: Avalonia.Markup.Xaml (in Avalonia.Markup.Xaml.dll)
- C#
- VB
- F#
public abstract class OnFormFactorExtensionBase<TReturn, TOn> : IAddChild<TOn>
where TOn : On<TReturn>
Public MustInherit Class OnFormFactorExtensionBase(Of TReturn, TOn As On(Of TReturn))
Implements IAddChild(Of TOn)
[<AbstractClassAttribute>]
type OnFormFactorExtensionBase<'TReturn, 'TOn when 'TOn : On<'TReturn>> =
class
interface IAddChild<'TOn>
end
Inheritance | Object → OnFormFactorExtensionBase(TReturn, TOn) |
Derived | Avalonia.Markup.Xaml.MarkupExtensions.OnFormFactorExtension Avalonia.Markup.Xaml.MarkupExtensions.OnFormFactorExtension(TReturn) |
Implements | IAddChild(TOn) |
Type Parameters
Constructors
OnFormFactorExtensionBase(TReturn, TOn)() | Initializes a new instance of the OnFormFactorExtensionBase(TReturn, TOn) class |
Properties
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. |
Methods
Equals(Object) | Determines whether the specified object is equal to the current object. (Inherited from Object) |
Finalize() | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object) |
GetHashCode() | Serves as the default hash function. (Inherited from Object) |
GetType() | Gets the Type of the current instance. (Inherited from Object) |
MemberwiseClone() | Creates a shallow copy of the current Object. (Inherited from Object) |
ProvideValue() | |
ToString() | Returns a string that represents the current object. (Inherited from Object) |