You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- using System.Windows.Controls;
-
- namespace BPA.UIControl
- {
- /// <summary>
- /// 公开 BringIntoView() 的 VirtualizingStackPanel
- /// 当使用 TreeViewHelper.RightClickToSelected 需要使用该虚拟化 StackPanel 作为 ItemsPanel
- /// </summary>
- public class BPAVirtualizingStackPanel : VirtualizingStackPanel
- {
- /// <summary>
- /// Publically expose BringIndexIntoView.
- /// </summary>
- public void BringIntoView(int index)
- {
- this.BringIndexIntoView(index);
- }
- }
- }
|