这里是应该发生选择文本框的文本拷贝
新的UC负荷的步骤,并产生certficate我一个exe
是certficate的地址在所示文本框(如下所述)
所有这些步骤都是以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}"/>
你可能想要改写你的问题。 – Limey
英语可能是第二语言,但这并不明确。从你的评论你是什么意思复制按钮是“只启用”? – Paparazzi
@Blam我已经重新定义了这个问题。现在这清楚了吗? – RATHI