XFEExtension.NetCore.WinUIHelper
1.0.7
dotnet add package XFEExtension.NetCore.WinUIHelper --version 1.0.7
NuGet\Install-Package XFEExtension.NetCore.WinUIHelper -Version 1.0.7
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="XFEExtension.NetCore.WinUIHelper" Version="1.0.7" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="XFEExtension.NetCore.WinUIHelper" Version="1.0.7" />
<PackageReference Include="XFEExtension.NetCore.WinUIHelper" />
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add XFEExtension.NetCore.WinUIHelper --version 1.0.7
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: XFEExtension.NetCore.WinUIHelper, 1.0.7"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#addin nuget:?package=XFEExtension.NetCore.WinUIHelper&version=1.0.7
#tool nuget:?package=XFEExtension.NetCore.WinUIHelper&version=1.0.7
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
XFEExtension.NetCore.WinUIHelper
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net8.0-windows10.0.19041 is compatible. net9.0-windows was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net8.0-windows10.0.19041
- Microsoft.Windows.SDK.BuildTools (>= 10.0.26100.1742)
- Microsoft.WindowsAppSDK (>= 1.7.250310001)
- XFEExtension.NetCore (>= 3.3.1)
- XFEExtension.NetCore.AutoPath (>= 1.0.1)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
添加滚动条支持到列表视图服务
在 `ListViewService.cs` 中新增 `_scrollViewer` 字段和 `ListViewScrollViewer` 属性,以获取列表视图的滚动条。更新 `Initialize` 方法以处理 `Loaded` 事件,并添加事件处理方法 `ListView_Loaded` 和 `ListView_SelectionChanged`。
在 `IListViewService.cs` 中引入 `Microsoft.UI.Xaml.Media`,并新增 `ListViewScrollViewer` 属性和 `GetScrollViewer` 方法,以便获取列表视图的滚动条。