Initial commit
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
using Microsoft.UI.Xaml.Markup;
|
||||
|
||||
namespace WinWARP.Ui.Helpers;
|
||||
|
||||
[MarkupExtensionReturnType(ReturnType = typeof(Type))]
|
||||
public sealed class TypeExtension : MarkupExtension
|
||||
{
|
||||
public Type? TargetType
|
||||
{
|
||||
get; set;
|
||||
}
|
||||
|
||||
protected override object? ProvideValue()
|
||||
{
|
||||
return TargetType;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user