Skip to main content

OnPlatformExtension Class

Definition​

Namespace: Avalonia.Markup.Xaml.MarkupExtensions
Assembly: Avalonia.Markup.Xaml (in Avalonia.Markup.Xaml.dll)

public sealed class OnPlatformExtension : OnPlatformExtensionBase<Object, On>
View Source
InheritanceObject → OnPlatformExtensionBase(Object, On) → OnPlatformExtension

Constructors​

OnPlatformExtension()Initializes a new instance of the OnPlatformExtension class
OnPlatformExtension(Object)Initializes a new instance of the OnPlatformExtension class

Properties​

Android
(Inherited from OnPlatformExtensionBase(TReturn, TOn))
Browser
(Inherited from OnPlatformExtensionBase(TReturn, TOn))
Default
(Inherited from OnPlatformExtensionBase(TReturn, TOn))
iOS
(Inherited from OnPlatformExtensionBase(TReturn, TOn))
Linux
(Inherited from OnPlatformExtensionBase(TReturn, TOn))
macOS
(Inherited from OnPlatformExtensionBase(TReturn, TOn))
Windows
(Inherited from OnPlatformExtensionBase(TReturn, TOn))

Methods​

Equals(Object)Determines whether the specified object is equal to the current object.
(Inherited from Object)
GetHashCode()Serves as the default hash function.
(Inherited from Object)
GetType()Gets the Type of the current instance.
(Inherited from Object)
ProvideValue()
(Inherited from OnPlatformExtensionBase(TReturn, TOn))
ShouldProvideOption(String) 
ToString()Returns a string that represents the current object.
(Inherited from Object)

See Also​

Reference​

Avalonia.Markup.Xaml.MarkupExtensions Namespace