|
|
|
@ -1,16 +1,14 @@ |
|
|
|
// Copyright (c) The Avalonia Project. All rights reserved.
|
|
|
|
// Licensed under the MIT license. See licence.md file in the project root for full license information.
|
|
|
|
|
|
|
|
|
|
|
|
using Avalonia.Markup.Xaml.Data; |
|
|
|
|
|
|
|
|
|
|
|
namespace Avalonia.Markup.Xaml.MarkupExtensions |
|
|
|
{ |
|
|
|
#if !OMNIXAML
|
|
|
|
|
|
|
|
using System; |
|
|
|
using Portable.Xaml.Markup; |
|
|
|
using System; |
|
|
|
|
|
|
|
public class RelativeSourceExtension : MarkupExtension |
|
|
|
{ |
|
|
|
@ -34,6 +32,7 @@ namespace Avalonia.Markup.Xaml.MarkupExtensions |
|
|
|
[ConstructorArgument("mode")] |
|
|
|
public RelativeSourceMode Mode { get; set; } |
|
|
|
} |
|
|
|
|
|
|
|
#else
|
|
|
|
|
|
|
|
using OmniXaml; |
|
|
|
|