programing

WPF에서의 스크롤바의 이니블화

minimums 2023. 4. 18. 21:56
반응형

WPF에서의 스크롤바의 이니블화

WPF 어플리케이션에서 창이 수직으로 너무 작을 때 폴더 아래에 아무것도 숨기는 문제가 있습니다.사용자가 스크롤하여 나머지 콘텐츠를 볼 수 있도록 XAML을 사용하여 전체 앱에 대해 세로 스크롤 막대를 표시하려면 어떻게 해야 합니까?

창에 ScrollViewer를 넣습니다.

<Window x:Class="WpfApplication2.Window1"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    Title="Window1" Height="300" Width="300">

    <ScrollViewer >
        <!-- Window content here -->
    </ScrollViewer>
</Window>

언급URL : https://stackoverflow.com/questions/736153/enabling-scrollbar-in-wpf

반응형