■ KeyBinding 엘리먼트 사용하기

----------------------------------------------------------------------------------------------------

<TextBox

    Width="200"

    Height="25"

    BorderThickness="1"

    BorderBrush="Black">

    <TextBox.InputBindings>

        <KeyBinding Key="F1" Command="Paste" />

    </TextBox.InputBindings>

</TextBox>

----------------------------------------------------------------------------------------------------

Posted by 사용자 icodebroker
TAG