mirror of
https://gitcode.com/gh_mirrors/se/Semi.Avalonia
synced 2026-03-22 01:16:35 +08:00
misc: revert DynamicResource Copy Button.
This commit is contained in:
@@ -126,13 +126,8 @@ public partial class ColorResource : ObservableObject
|
||||
[ObservableProperty] private string? _description;
|
||||
[ObservableProperty] private string? _pairWith;
|
||||
|
||||
public string CopyText1 =>
|
||||
public string CopyText =>
|
||||
$"""
|
||||
<StaticResource x:Key="" ResourceKey="{ResourceKey}" />
|
||||
""";
|
||||
|
||||
public string CopyText2 =>
|
||||
$"""
|
||||
<DynamicResource x:Key="" ResourceKey="{ResourceKey}" />
|
||||
""";
|
||||
}
|
||||
Reference in New Issue
Block a user