ここに起こるべきステップがあります
新しい UC がロードされ、exe で証明書が生成されます
その証明書のアドレスがテキストボックスに表示されます (以下で説明します)。
これらのすべてのステップは、UC のロード時に発生します。
そのテキストボックスのパスをコピーするコピーボタンが必要です。
以下のコードを使用していますが、UC が読み込まれるとコピー ボタンが無効になります。なんで?
<TextBox Grid.Column="1" HorizontalAlignment="Stretch" Name="label1" VerticalAlignment="Stretch" Foreground="#FFF20C0C" IsManipulationEnabled="False" IsTabStop="False" IsUndoEnabled="False" BorderThickness="0" Background="{StaticResource {x:Static SystemColors.ControlBrushKey}}" TextWrapping="Wrap" IsReadOnly="True">
<Button Grid.Row="2" Height="Auto" Width="Auto
" Command="Copy" Content="Copy certificate address" HorizontalAlignment="Left" VerticalAlignment="Center" CommandTarget="{Binding ElementName=label1}"/>