■ Tooltip 엘리먼트 사용하기

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

<Button

    Width="100"

    Height="30"

    Content="Sample Button">

    <ToolTipService.ToolTip>

        <ToolTip

            HorizontalOffset="5"

            VerticalOffset="5">

            <ToolTip.Content>

                <Grid>

                    <Rectangle

                        Width="130"

                        Height="90"

                        RadiusX="15"

                        RadiusY="15"

                        Fill="Orange" />

                    <TextBlock

                        TextAlignment="Center"

                        Text="샘플 버튼입니다." />

                </Grid>

            </ToolTip.Content>

        </ToolTip>

    </ToolTipService.ToolTip>

</Button>

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

Posted by 사용자 icodebroker
TAG

댓글을 달아 주세요