重命名控件库
This commit is contained in:
@@ -6,10 +6,10 @@ using System.Windows.Controls;
|
||||
using System.Windows.Media;
|
||||
using System.Windows.Media.Animation;
|
||||
using System.Windows.Threading;
|
||||
using VariaStudio.Extensions;
|
||||
using VariaStudio.Assists;
|
||||
using Melskin.Assists;
|
||||
using Melskin.Extensions;
|
||||
|
||||
namespace VariaStudio.Controls;
|
||||
namespace Melskin.Controls;
|
||||
|
||||
/// <summary>
|
||||
/// 锚点
|
||||
@@ -115,7 +115,7 @@ public class Anchor : ContentControl
|
||||
anchorElements.Clear();
|
||||
|
||||
// 查找所有锚点
|
||||
// 注意:这里假设 VariaStudio.Extensions 的 FindVisualChildren 工作正常
|
||||
// 注意:这里假设 Melskin.Extensions 的 FindVisualChildren 工作正常
|
||||
var anchorUiElements = contentScroller.FindVisualChildren<UIElement>()
|
||||
.Where(el => VisualTreeHelper.GetParent(el) != null &&
|
||||
!string.IsNullOrEmpty(ControlAssist.GetAnchorHeaderText(el)))
|
||||
|
||||
Reference in New Issue
Block a user