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
205
ultragrid title text font question
posted

I was trying to set the grid title text with bold font style with the following statements.  However, it turned out that the bold effect not only applied to the title but also to the row header and cell text.  Is there a way to apply the bold font style to the grid title only?  Thanks.

 

 

this.reportUltraGrid.Font = new Font(Font, FontStyle.Bold);

 

 

this.reportUltraGrid.Text = "* Not all documents may be displayed";

Parents
  • 469350
    Verified Answer
    Offline posted


            private void ultraGrid1_InitializeLayout(object sender, Infragistics.Win.UltraWinGrid.InitializeLayoutEventArgs e)
            {
                UltraGridLayout layout = e.Layout;
                UltraGridOverride ov = layout.Override;

                layout.CaptionAppearance.FontData.Bold = DefaultableBoolean.True;
            }

Reply Children
No Data