月更
This commit is contained in:
19
AntDesignWPF/Behaviors/StylizedBehaviorCollection.cs
Normal file
19
AntDesignWPF/Behaviors/StylizedBehaviorCollection.cs
Normal file
@@ -0,0 +1,19 @@
|
||||
using System.Windows;
|
||||
|
||||
using Microsoft.Xaml.Behaviors;
|
||||
|
||||
namespace AntDesign.WPF.Behaviors
|
||||
{
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// From https://github.com/MahApps/MahApps.Metro/tree/1.6.1/src/MahApps.Metro/Behaviours/StylizedBehaviorCollection.cs
|
||||
/// </summary>
|
||||
public class StylizedBehaviorCollection : FreezableCollection<Behavior>
|
||||
{
|
||||
protected override Freezable CreateInstanceCore()
|
||||
{
|
||||
return new StylizedBehaviorCollection();
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user