카테고리 없음

DataGrid: DataGridSelectAllButtonStyle

dozob 2021. 8. 9. 13:25
<Style TargetType="{x:Type DataGrid}">
    <Style.Resources>
        <Style x:Key="{ComponentResourceKey ResourceId=DataGridSelectAllButtonStyle, TypeInTargetAssembly={x:Type DataGrid}}"
               TargetType="{x:Type Button}">
            <Setter Property="Background" Value="Transparent"/>
            <Setter Property="BorderThickness" Value="0"/>
        </Style>
    </Style.Resources>
</Style>