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
1255
Column header text alignment
posted

Hi,  I have a column on the grid with the property  Header.Appearance.TextHAlign  set to HAlign.Left, but when I hover the mouse over the header,  the text moves to middle  automatically. I need it stay left.   How do I resolve it  ?

 Mouse hover over,  now the header text moves by itself:

 

Parents
No Data
Reply
  • 370
    posted

     

    Hi,

     I tried reproducing the issue using the following code but was not able to reproduce it.

    private void ultraGrid1_InitializeLayout(object sender, Infragistics.Win.UltraWinGrid.InitializeLayoutEventArgs e)

    {

         e.Layout.Bands[0].Columns[0].Header.Appearance.TextHAlign = HAlign.Left;

    }

     Can you please attach a small sample with which the issue can be reproduced. Also, may I know which version of Netadvantage are you using.

     

    Thanks

    Vaibhav

     

Children
No Data