1
표준 WPF 탭 컨트롤의 경계를 벗어나는 방법을 궁금해합니다. 다양한 ClipToBounds 설정을 시도하고 과거에 그리드와 함께 작동 한 캔버스 내 컨트롤을 삽입했습니다. 샘플 XAML은 :WPF 탭 컨트롤에서 오버 드로하는 방법
<Window
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" mc:Ignorable="d" x:Class="MainWindow"
Title="MainWindow" Height="350" Width="525">
<Grid>
<TabControl HorizontalAlignment="Left" Height="50" Margin="90,31,0,0" VerticalAlignment="Top" Width="100">
<Canvas Margin="10,26,-10,-26">
<Ellipse Width="25" Height="25" Fill="Red" Canvas.Left="0" Canvas.Top="0"></Ellipse>
</Canvas>
</TabControl>
</Grid>