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
230
Child band with ViewStyle vertical.
posted

Hi,


I have 2 bands, one parent and second child with view style (one under the other) so vertical, but it seems that the first column of parent band is alligned with first column of the child band which makes first column of parent band little wider because child band doesn't start at the same position (localiton.X ) as parent.

Is there any way to skip the alignment of the child with parent bands, or to show child right below (not little to the right) of parent band?

Please advise, I really appreciate your help.
Thank you,
Igor

Parents
No Data
Reply
  • 37774
    posted

     Igor,

    Take a look at the Indentation property of the child band.  If I understand your question correctly, you might want to do something like:

    private void ultraGrid1_InitializeLayout(object sender, Infragistics.Win.UltraWinGrid.InitializeLayoutEventArgs e)
    {
        e.Layout.Bands[1].Indentation = 0;
    }

    -Matt 

Children
No Data