■ FrameworkElement 클래스 : FocusVisualStyle 속성을 사용해 입력 포커스 외곽선 제거하기

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


TestProject.zip


MainWindow.xaml

 

 

<Window x:Class="TestProject.MainWindow"

    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"

    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"

    Title="FrameworkElement 클래스 : FocusVisualStyle 속성을 사용해 입력 포커스 외곽선 제거하기"

    Width="800"

    Height="600"

    FontFamily="나눔고딕코딩"

    FontSize="16">

    <Grid>

        <StackPanel

            HorizontalAlignment="Center"

            VerticalAlignment="Center">

            <Button

                Margin="10"

                Width="100"

                Height="32"

                VerticalContentAlignment="Center"

                FocusVisualStyle="{x:Null}"

                Content="버튼 1" />

            <Button

                Margin="10"

                Width="100"

                Height="32"

                VerticalContentAlignment="Center"

                FocusVisualStyle="{x:Null}"

                Content="버튼 2" />

        </StackPanel>

    </Grid>

</Window>

 

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

Posted by 사용자 icodebroker
TAG

댓글을 달아 주세요