Loading files
366e28f22This file is pinned to the selected release. Download the original to open it in your design tool.
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace IDE.Controls.WPF.Core.Extensions;
internal static class PropertyDescriptorExtensions
{
internal static T GetAttribute<T>(this PropertyDescriptor property) where T : Attribute
{
return property.Attributes.OfType<T>().FirstOrDefault();
}
}