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
1314
FillerColumn
posted

Hi,

How do I set the filler column styles? I tried the following that didn't work. The default template do not provide any clues.

<Style x:Key="xyz" TargetType="igPrim:FillerColumn">

<Setter Property="Background" Value="{StaticResource HeaderNormalBackgroundBrush}"/>

</Style>

If I had empty style as follows, I get a parse error.

<Style x:Key="xyz" TargetType="igPrim:FillerColumn">

</Style>

What I want to do is assign the same setting as normal column.

Regards

Babu

Parents
No Data
Reply
  • 21382
    Verified Answer
    posted

    You should be targetting a CellControl (which is what fills up the FillerColumn's cell).

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

     

    <UserControl.Resources

    >

     

     

     

     

    <Style x:Key="redStyle" TargetType

    ="ig:CellControl" >

     

     

     

     

    <Setter Value="Red" Property

    ="Background" />

     

     

     

     

    </Style

    >

     

     

     

     

    </UserControl.Resources

    >

     

     

     

     

    <Grid x:Name="LayoutRoot" Background

    ="White">

     

     

     

     

    <ig:XamWebGrid x:Name

    ="grid">

     

     

     

     

    <ig:XamWebGrid.FillerColumnSettings

    >

     

     

     

     

    <ig:FillerColumnSettings Style="{StaticResource redStyle

    }"/>

     

     

     

     

    </ig:XamWebGrid.FillerColumnSettings

    >

     

     

     

     

    </ig:XamWebGrid

    >

     

     

     

     

    </Grid

    >

Children