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
410
Change font in 1 cell of the ultragrid
posted

Hi guys

I try to change the font of a single cell in my ultragrid, because I want to show a barcode in that cell when the value="0123456789"

I use this code:

Private Sub ugVB_InitializeRow(ByVal sender As Object, ByVal e As Infragistics.Win.UltraWinGrid.InitializeRowEventArgs)

If e.Row.Cells("Links").Value.ToString = "0123456789" Then
   Try
      e.Row.Cells("Links").Appearance.FontData.Name = "IntHRP24DlTt"
   Catch ex As Exception
      MessageBox.Show(ex.Message)
   End Try
End If

End Sub

Bu this doesn't work for me.

Any suggestions?

Parents Reply Children
No Data