This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using Android.Content; | |
using Android.Content.Res; | |
using Android.Graphics.Drawables; | |
using Android.Runtime; | |
using Android.Util; | |
using AndroidX.AppCompat.Graphics.Drawable; | |
using AndroidX.Core.Content.Resources; | |
using Google.Android.Material.AppBar; | |
using JetBrains.Annotations; | |
using Microsoft.Maui.Handlers; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ContentProperty(nameof(Default))] | |
public class OnOrientationExtension : IMarkupExtension<BindingBase> | |
{ | |
public Type TypeConverter { get; set; } | |
public object Default { get; set; } | |
public object Landscape { get; set; } | |
public object Portrait { get; set; } | |
static OnOrientationExtension() | |
{ |