Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
WPFのラップパネルコントロールにスクロールバーを追加するにはどうすればよいですか。スクロールバーがないため、一部のコントロールが幅を切り取っています。
ScrollViewerは、このような状況で役立ちます。それ以外の場合は、ScrollBarコントロールを使用して、表示内容を手動で制御する必要があります。
scrollviewerの使用例:
<DockPanel> <ScrollViewer VerticalScrollBarVisibility="Auto"> <StackPanel /> </ScrollViewer > </DockPanel>