menu

Xamarin.Forms

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class OnPlatformOrientation<T> - Xamarin.Forms API Reference | Syncfusion

    Show / Hide Table of Contents

    Class OnPlatformOrientation<T>

    Extension class which is used to set value based on platform, idiom and orientation.

    Inheritance
    System.Object
    OnPlatformOrientation<T>
    OnPlatformOrientationAspect
    OnPlatformOrientationDataTemplate
    OnPlatformOrientationDoubleValue
    OnPlatformOrientationIntValue
    OnPlatformOrientationLayoutOptions
    OnPlatformOrientationStringValue
    OnPlatformOrientationThickness
    Implements
    Xamarin.Forms.Xaml.IMarkupExtension
    System.ComponentModel.INotifyPropertyChanged
    Namespace: Syncfusion.XForms.Core
    Assembly: Syncfusion.Core.XForms.dll
    Syntax
    public abstract class OnPlatformOrientation<T> : Object, IMarkupExtension, INotifyPropertyChanged
    Type Parameters
    Name
    T

    Constructors

    OnPlatformOrientation()

    Declaration
    protected OnPlatformOrientation()

    Properties

    Android

    Declaration
    public T Android { get; set; }
    Property Value
    Type
    T

    AndroidPhoneLandscape

    Declaration
    public T AndroidPhoneLandscape { get; set; }
    Property Value
    Type
    T

    AndroidPhonePortrait

    Declaration
    public T AndroidPhonePortrait { get; set; }
    Property Value
    Type
    T

    AndroidTabletLandscape

    Declaration
    public T AndroidTabletLandscape { get; set; }
    Property Value
    Type
    T

    AndroidTabletPortrait

    Declaration
    public T AndroidTabletPortrait { get; set; }
    Property Value
    Type
    T

    BindingValue

    Declaration
    public T BindingValue { get; }
    Property Value
    Type
    T

    Default

    Declaration
    public T Default { get; set; }
    Property Value
    Type
    T

    Desktop

    Declaration
    public T Desktop { get; set; }
    Property Value
    Type
    T

    iOS

    Declaration
    public T iOS { get; set; }
    Property Value
    Type
    T

    iOSPhoneLandscape

    Declaration
    public T iOSPhoneLandscape { get; set; }
    Property Value
    Type
    T

    iOSPhonePortrait

    Declaration
    public T iOSPhonePortrait { get; set; }
    Property Value
    Type
    T

    iOSTabletLandscape

    Declaration
    public T iOSTabletLandscape { get; set; }
    Property Value
    Type
    T

    iOSTabletPortrait

    Declaration
    public T iOSTabletPortrait { get; set; }
    Property Value
    Type
    T

    Landscape

    Declaration
    public T Landscape { get; set; }
    Property Value
    Type
    T

    Phone

    Declaration
    public T Phone { get; set; }
    Property Value
    Type
    T

    PhoneLandscape

    Declaration
    public T PhoneLandscape { get; set; }
    Property Value
    Type
    T

    PhonePortrait

    Declaration
    public T PhonePortrait { get; set; }
    Property Value
    Type
    T

    Portrait

    Declaration
    public T Portrait { get; set; }
    Property Value
    Type
    T

    Tablet

    Declaration
    public T Tablet { get; set; }
    Property Value
    Type
    T

    TabletLandscape

    Declaration
    public T TabletLandscape { get; set; }
    Property Value
    Type
    T

    TabletPortrait

    Declaration
    public T TabletPortrait { get; set; }
    Property Value
    Type
    T

    UseBinding

    Declaration
    public bool UseBinding { get; set; }
    Property Value
    Type
    System.Boolean

    UWP

    Declaration
    public T UWP { get; set; }
    Property Value
    Type
    T

    Methods

    ProvideValue(IServiceProvider)

    Declaration
    public object ProvideValue(IServiceProvider serviceProvider)
    Parameters
    Type Name Description
    System.IServiceProvider serviceProvider
    Returns
    Type
    System.Object

    Events

    PropertyChanged

    Declaration
    public event PropertyChangedEventHandler PropertyChanged
    Event Type
    Type
    System.ComponentModel.PropertyChangedEventHandler

    Implements

    Xamarin.Forms.Xaml.IMarkupExtension
    System.ComponentModel.INotifyPropertyChanged
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved