This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Buffers.Binary; | |
using System.Text; | |
namespace GeniusInvokationEncoding; | |
/// <summary> | |
/// https://www.bilibili.com/video/av278125720 | |
/// </summary> | |
internal class Program |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/// <summary> | |
/// 专用于呈现描述文本的文本块 | |
/// </summary> | |
public class DescriptionTextBlock : ContentControl | |
{ | |
private static readonly DependencyProperty DescriptionProperty = | |
Property<DescriptionTextBlock>.Depend(nameof(Description), string.Empty, OnDescriptionChanged); | |
/// <summary> | |
/// 构造一个新的呈现描述文本的文本块 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Usage: | |
// In the Window Constructor: | |
// bool micaApplied = new SystemBackdropHelper(this).TrySetBackdrop(); | |
// Copyright (c) DGP Studio. All rights reserved. | |
// Licensed under the MIT license. | |
using Microsoft.UI.Composition; | |
using Microsoft.UI.Composition.SystemBackdrops; | |
using Microsoft.UI.Xaml; |