這裏是應該發生選擇文本框的文本拷貝
新的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