menu

Xamarin.Forms

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class OnPlatformOrientation<T> - API Reference

    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 Description
    T

    Constructors

    OnPlatformOrientation()

    Declaration
    protected OnPlatformOrientation()

    Properties

    Android

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

    AndroidPhoneLandscape

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

    AndroidPhonePortrait

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

    AndroidTabletLandscape

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

    AndroidTabletPortrait

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

    BindingValue

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

    Default

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

    Desktop

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

    iOS

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

    iOSPhoneLandscape

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

    iOSPhonePortrait

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

    iOSTabletLandscape

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

    iOSTabletPortrait

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

    Landscape

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

    Phone

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

    PhoneLandscape

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

    PhonePortrait

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

    Portrait

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

    Tablet

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

    TabletLandscape

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

    TabletPortrait

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

    UseBinding

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

    UWP

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

    Methods

    ProvideValue(IServiceProvider)

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

    Events

    PropertyChanged

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

    Implements

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