awesome-repositories.com
博客
awesome-repositories.com

通过 AI 驱动的搜索,发现最优秀的开源仓库。

探索精选搜索开源替代品自托管软件博客网站地图
项目关于排名机制媒体报道MCP 服务器
法律隐私政策服务条款
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
microsoft avatar

microsoft/WPF-Samples

0
View on GitHub↗
5,698 星标·3,283 分支·C#·MIT·3 次浏览

WPF Samples

该仓库是使用 Windows Presentation Foundation (WPF) 框架构建 Windows 桌面应用的参考实现和代码示例集合。它提供了一个专注于桌面窗口管理、声明式用户界面布局和 Model-View-ViewModel (MVVM) 架构模式的示例库。

该集合包含基于 XAML 的声明式界面的实用示例,以及通过 MVVM 模式在业务逻辑和用户界面之间同步数据的示例。它提供了应用可访问性标准以及实现标准桌面样式和分层模式的参考实现。

这些示例涵盖了广泛的桌面开发功能,包括用于键盘和鼠标交互的用户输入与事件处理。它还演示了硬件加速渲染、依赖属性系统以及原生 Windows 软件的应用生命周期管理的使用。

Features

  • Windows Desktop Applications - Provides a comprehensive reference for building native Windows desktop applications using WPF.
  • Framework Sample Libraries - Serves as a reference sample library for building applications with the WPF framework.
  • MVVM Patterns - Implements the Model-View-ViewModel pattern to decouple business logic from the user interface.
  • XAML - Uses XAML to define declarative user interface layouts and component properties.
  • Data Binding - Provides mechanisms for synchronizing state between data sources and interface components.
  • Visual Tree Compositions - Implements a hierarchical visual tree for constructing complex desktop user interfaces.
  • Property Systems - Demonstrates the use of a property system with built-in support for change notification, styling, and inheritance.
  • Application Lifecycles - Manages how Windows programs start and handle window states for stable execution.
  • Hardware-Accelerated Rendering - Uses a hardware-accelerated graphics pipeline to render high-performance vector shapes and animations.
  • User Interaction - Implements event listeners to handle user clicks, keyboard presses, and drag-and-drop interactions.
  • Desktop UI Patterns - Implements standard desktop styling and layering patterns for consistent user experiences.
  • Application Lifecycle Management - Provides examples for managing the startup, window state, and shutdown processes of native Windows applications.
  • Accessibility Standards - Ensures desktop components adhere to accessibility standards for diverse user needs.
  • Accessible UI Frameworks - Applies accessibility standards to desktop components for inclusive user interaction.
  • Desktop Windowing Management - Ships practical implementations of desktop window management and user input handling.
  • Interaction and Event Handling - Implements interaction and event handling logic for responding to keyboard and mouse input.

Star 历史

microsoft/wpf-samples 的 Star 历史图表microsoft/wpf-samples 的 Star 历史图表

AI 搜索

探索更多 awesome 仓库

用简单的语言描述您的需求 —— AI 将根据相关性为您从数千个精选开源项目中进行排序。

Start searching with AI

常见问题解答

microsoft/wpf-samples 是做什么的?

该仓库是使用 Windows Presentation Foundation (WPF) 框架构建 Windows 桌面应用的参考实现和代码示例集合。它提供了一个专注于桌面窗口管理、声明式用户界面布局和 Model-View-ViewModel (MVVM) 架构模式的示例库。

microsoft/wpf-samples 的主要功能有哪些?

microsoft/wpf-samples 的主要功能包括:Windows Desktop Applications, Framework Sample Libraries, MVVM Patterns, XAML, Data Binding, Visual Tree Compositions, Property Systems, Application Lifecycles。

microsoft/wpf-samples 有哪些开源替代品?

microsoft/wpf-samples 的开源替代品包括: dodyg/practical-aspnetcore — This project is a comprehensive sample library and implementation guide for ASP.NET Core. It provides a collection of… openseadragon/openseadragon — OpenSeadragon is a JavaScript library and tiled image rendering engine designed for high-resolution image viewing. It… prismlibrary/prism — Prism is a XAML application framework and MVVM architectural framework designed to build loosely coupled and testable… xamarin/xamarin-forms-samples — This project is a collection of reference implementations and code samples for building cross-platform user interfaces… microsoft/windows-universal-samples — This repository is a comprehensive collection of reference implementations and sample libraries for the Universal… goodboydigital/pixi.js — Pixi.js is a high-performance 2D graphics engine used to render interactive animations, sprites, and visual effects in…

WPF Samples 的开源替代方案

相似的开源项目,按与 WPF Samples 的功能重合度排序。
  • dodyg/practical-aspnetcoredodyg 的头像

    dodyg/practical-aspnetcore

    10,382在 GitHub 上查看↗

    This project is a comprehensive sample library and implementation guide for ASP.NET Core. It provides a collection of practical examples and projects that demonstrate how to build web applications, RESTful APIs, and high-performance services. The repository focuses on a variety of architectural patterns, including the development of Minimal APIs, contract-first gRPC services, and real-time communication using WebSockets and Server-Sent Events. It includes detailed implementations for user identity and security, such as token-based authentication and CSRF protection. The codebase covers a bro

    C#asp-net-coreaspnet-coreaspnetcore
    在 GitHub 上查看↗10,382
  • openseadragon/openseadragonopenseadragon 的头像

    openseadragon/openseadragon

    3,360在 GitHub 上查看↗

    OpenSeadragon is a JavaScript library and tiled image rendering engine designed for high-resolution image viewing. It functions as a deep zoom image viewer that renders massive images using a tiled pyramid approach, enabling smooth panning and zooming without requiring the full image file to be loaded. The project distinguishes itself through broad support for standardized image retrieval protocols, including the International Image Interoperability Framework (IIIF), IIPImage, Iris, and OpenStreetMap. It provides a hardware-accelerated rendering layer via WebGL to apply real-time filters and

    JavaScripthigh-resolutioniiifimage
    在 GitHub 上查看↗3,360
  • prismlibrary/prismPrismLibrary 的头像

    PrismLibrary/Prism

    6,794在 GitHub 上查看↗

    Prism is a XAML application framework and MVVM architectural framework designed to build loosely coupled and testable applications across WPF, Xamarin Forms, and WinUI. It serves as a structural pattern implementation that separates business logic from the user interface to improve maintainability and testing. The framework provides a XAML event bus for exchanging data and triggering actions between independent components without direct coupling. It also functions as a dependency injection integrator, bridging external inversion-of-control containers to manage service delivery across multiple

    C#c-sharphacktoberfestmvvm
    在 GitHub 上查看↗6,794
  • xamarin/xamarin-forms-samplesxamarin 的头像

    xamarin/xamarin-forms-samples

    4,253在 GitHub 上查看↗

    This project is a collection of reference implementations and code samples for building cross-platform user interfaces using the Xamarin.Forms framework. It provides practical examples for developing mobile and desktop applications from a single codebase targeting multiple operating systems. The repository focuses on architectural patterns and integration strategies, specifically demonstrating the use of MVVM to synchronize data between models and views. It includes samples for native platform integration, such as invoking platform-specific APIs and creating custom renderers to override defau

    C#
    在 GitHub 上查看↗4,253
  • 查看 WPF Samples 的所有 30 个替代方案→