Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
515
XamDataGrid Header WhiteInnerBorder
posted

Look at the Infragistics example code in https://www.facebook.com/notes/infragistics/xamdatagrid-101-part-2/459278651408

When you build and run this there is a white border in the header (left and right sides), SNOOP the header and you will see a WhiteInnerBorder.

How to set this color? From you example above I think it should be in the style:

<Style x:Key="HeaderLabelAreaStyle" TargetType="{x:Type igDP:HeaderLabelArea}">
  <Setter Property="Template">
    <Setter.Value>
      <ControlTemplate TargetType="igDP:HeaderLabelArea">
        <Grid Background="{DynamicResource HeaderBackgroundBrush}" Margin="0,0,0,0">
          <ContentPresenter Margin="0,0,0,0" Content="{TemplateBinding Content}" />
        </Grid>
      </ControlTemplate>
    </Setter.Value>
  </Setter>
</Style>