packages/MaterialDesignThemes.2.5.1/src/net45/PopupBox.cs
(开头部分) 32KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
using ControlzEx;
using System;
using System.ComponentModel;
using System.Linq;
using System.Runtime.InteropServices;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Controls.Primitives;
using System.Windows.Input;
using System.Windows.Markup;
using System.Windows.Media;
using System.Windows.Media.Animation;
namespace MaterialDesignThemes.Wpf
{
/// <summary>
/// Defines how the <see cref="PopupBox"/> popup is aligned to the toggle part of the control.
/// </summary>
public enum PopupBoxPlacementMode
{
/// <summary>
/// Display the popup below the toggle, and align the left edges.3
/// </summary>
BottomAndAlignLeftEdges,
/// <summary>
/// Display the popup below the toggle, and align the right edges.
/// </summary>
BottomAndAlignRightEdges,
/// <summary>
/// Display the popup below the toggle, and align the center of the popup with the center of the toggle.
/// </summary>
BottomAndAlignCentres,
/// <summary>
/// Display the popup above the toggle, and align the left edges.
/// </summary>
TopAndAlignLeftEdges,
/// <summary>
/// Display the popup above the toggle, and align the right edges.
/// </summary>
TopAndAlignRightEdges,
/// <summary>
/// Display the popup above the toggle, and align the center of the popup with the center of the toggle.
/// </summary>
TopAndAlignCentres,
/// <summary>
/// Display the popup to the left of the toggle, and align the top edges.
/// </summary>
LeftAndAlignTopEdges,
/// <summary>
/// Display the popup to the left of the toggle, and align the bottom edges.
/// </summary>
LeftAndAlignBottomEdges,
/// <summary>
/// Display the popup to the left of the toggle, and align the middles.
/// </summary>
LeftAndAlignMiddles,
/// <summary>
/// Display the popup to the right of the toggle, and align the top edges.
/// </summary>
RightAndAlignTopEdges,
后面还有 705 行代码,解锁后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。