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
1615
Change Column Header text alignment
posted

Hi, 

How would one change the text alignment of header text in the grid view?

Is there a way to do that in the C# version?

Thank you

Parents
  • 40030
    Offline posted

    Hi, 

    To set the header text of a column, just create a column definition and set the HeaderText property. 

    IGGridViewColumnDefinition column = new IGGridViewColumnDefinition ("myField");
                column.HeaderText = "Column 1";
                dataSourceHelper.ColumnDefinitions.Add (col);


    -SteveZ

Reply Children