Class OnPlatformOrientation<T>
Extension class which is used to set value based on platform, idiom and orientation.
Inheritance
System.Object
OnPlatformOrientation<T>
Implements
Xamarin.Forms.Xaml.IMarkupExtension
System.ComponentModel.INotifyPropertyChanged
Assembly: Syncfusion.Core.XForms.dll
public abstract class OnPlatformOrientation<T> : Object, IMarkupExtension, INotifyPropertyChanged
Type Parameters
Constructors
Declaration
protected OnPlatformOrientation()
Properties
Declaration
public T Android { get; set; }
Property Value
Declaration
public T AndroidPhoneLandscape { get; set; }
Property Value
Declaration
public T AndroidPhonePortrait { get; set; }
Property Value
Declaration
public T AndroidTabletLandscape { get; set; }
Property Value
Declaration
public T AndroidTabletPortrait { get; set; }
Property Value
Declaration
public T BindingValue { get; }
Property Value
Declaration
public T Default { get; set; }
Property Value
Declaration
public T Desktop { get; set; }
Property Value
Declaration
public T iOS { get; set; }
Property Value
Declaration
public T iOSPhoneLandscape { get; set; }
Property Value
Declaration
public T iOSPhonePortrait { get; set; }
Property Value
Declaration
public T iOSTabletLandscape { get; set; }
Property Value
Declaration
public T iOSTabletPortrait { get; set; }
Property Value
Declaration
public T Landscape { get; set; }
Property Value
Declaration
public T Phone { get; set; }
Property Value
Declaration
public T PhoneLandscape { get; set; }
Property Value
Declaration
public T PhonePortrait { get; set; }
Property Value
Declaration
public T Portrait { get; set; }
Property Value
Declaration
public T Tablet { get; set; }
Property Value
Declaration
public T TabletLandscape { get; set; }
Property Value
Declaration
public T TabletPortrait { get; set; }
Property Value
Declaration
public bool UseBinding { get; set; }
Property Value
Declaration
public T UWP { get; set; }
Property Value
Methods
Declaration
public object ProvideValue(IServiceProvider serviceProvider)
Parameters
Type |
Name |
Description |
System.IServiceProvider |
serviceProvider |
|
Returns
Events
Declaration
public event PropertyChangedEventHandler PropertyChanged
Event Type
Type |
System.ComponentModel.PropertyChangedEventHandler |
Implements
Xamarin.Forms.Xaml.IMarkupExtension
System.ComponentModel.INotifyPropertyChanged