menu

Xamarin.Forms

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class OnPlatformOrientationDataTemplate - Xamarin.Forms API Reference | Syncfusion

    Show / Hide Table of Contents

    Class OnPlatformOrientationDataTemplate

    XAML markup extension class to set the DataTemplate value based on platform, idiom and orientation.

    Inheritance
    System.Object
    OnPlatformOrientation<Xamarin.Forms.DataTemplate>
    OnPlatformOrientationDataTemplate
    Implements
    Xamarin.Forms.Xaml.IMarkupExtension
    System.ComponentModel.INotifyPropertyChanged
    Inherited Members
    OnPlatformOrientation<DataTemplate>.Android
    OnPlatformOrientation<DataTemplate>.AndroidPhoneLandscape
    OnPlatformOrientation<DataTemplate>.AndroidPhonePortrait
    OnPlatformOrientation<DataTemplate>.AndroidTabletLandscape
    OnPlatformOrientation<DataTemplate>.AndroidTabletPortrait
    OnPlatformOrientation<DataTemplate>.BindingValue
    OnPlatformOrientation<DataTemplate>.Default
    OnPlatformOrientation<DataTemplate>.Desktop
    OnPlatformOrientation<DataTemplate>.iOS
    OnPlatformOrientation<DataTemplate>.iOSPhoneLandscape
    OnPlatformOrientation<DataTemplate>.iOSPhonePortrait
    OnPlatformOrientation<DataTemplate>.iOSTabletLandscape
    OnPlatformOrientation<DataTemplate>.iOSTabletPortrait
    OnPlatformOrientation<DataTemplate>.Landscape
    OnPlatformOrientation<DataTemplate>.Phone
    OnPlatformOrientation<DataTemplate>.PhoneLandscape
    OnPlatformOrientation<DataTemplate>.PhonePortrait
    OnPlatformOrientation<DataTemplate>.Portrait
    OnPlatformOrientation<DataTemplate>.PropertyChanged
    OnPlatformOrientation<DataTemplate>.ProvideValue(IServiceProvider)
    OnPlatformOrientation<DataTemplate>.Tablet
    OnPlatformOrientation<DataTemplate>.TabletLandscape
    OnPlatformOrientation<DataTemplate>.TabletPortrait
    OnPlatformOrientation<DataTemplate>.UseBinding
    OnPlatformOrientation<DataTemplate>.UWP
    Namespace: Syncfusion.XForms.Core
    Assembly: Syncfusion.Core.XForms.dll
    Syntax
    public class OnPlatformOrientationDataTemplate : OnPlatformOrientation<DataTemplate>, IMarkupExtension, INotifyPropertyChanged

    Constructors

    OnPlatformOrientationDataTemplate()

    Declaration
    public OnPlatformOrientationDataTemplate()

    Implements

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