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
851
Change space between the rows
posted

Hi,

I want to change the space between the rows im my xamgrid. I want to downsize the space,

How can I do that?

 

Thx.

Djumana

  • 6912
    Verified Answer
    posted

    Hi,

    If you want to reduce the spacing of the cells you can set the following style:

    <ig:XamGrid>
        <ig:XamGrid.CellStyle>
            <Style TargetType="ig:CellControl">
                <Setter Property="Padding" Value="5,1" />
            </Style>
        </ig:XamGrid.CellStyle>
     ...
    </ig:XamGrid>

    This will reduce the padding of the cells.

    You can further reduce the height of the rows using the RowHeight property of the XamGrid.

    I hope that this will help you.