优化更新代码,添加界面功能并整合
This commit is contained in:
27
WPFluent/Controls/TypedEventHandler.cs
Normal file
27
WPFluent/Controls/TypedEventHandler.cs
Normal file
@@ -0,0 +1,27 @@
|
||||
|
||||
|
||||
|
||||
/* Based on Windows UI Library
|
||||
Copyright(c) Microsoft Corporation.All rights reserved. */
|
||||
|
||||
namespace WPFluent.Controls;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Represents a method that handles general events.
|
||||
/// </summary>
|
||||
/// <typeparam name="TSender">The type of the sender.</typeparam>
|
||||
/// <typeparam name="TArgs">The type of the event data.</typeparam>
|
||||
/// <param name="sender">The source of the event.</param>
|
||||
/// <param name="args">An object that contains the event data.</param>
|
||||
|
||||
/// <summary>
|
||||
/// Represents a method that handles general events.
|
||||
/// </summary>
|
||||
/// <typeparam name="TSender">The type of the sender.</typeparam>
|
||||
/// <typeparam name="TArgs">The type of the event data.</typeparam>
|
||||
/// <param name="sender">The source of the event.</param>
|
||||
/// <param name="args">An object that contains the event data.</param>
|
||||
public delegate void TypedEventHandler<in TSender, in TArgs>(TSender sender, TArgs args)
|
||||
where TSender : DependencyObject
|
||||
where TArgs : RoutedEventArgs;
|
||||
Reference in New Issue
Block a user