Infragistics.Win.Misc.UltraLabel
Appearance3.TextHAlignAsString = "Center"
Appearance3.TextVAlignAsString = "Middle"
Infragistics.Win.Misc.UltraButton
Appearance1.TextHAlignAsString = "Center"
Appearance1.TextVAlignAsString = "Middle"
but can't set the text for this Middle .
PS: china font
Appearance2.BackColor = System.Drawing.Color.FromArgb(CType(CType(255, Byte), Integer), CType(CType(255, Byte), Integer), CType(CType(128, Byte), Integer)) Appearance2.ForeColor = System.Drawing.Color.Blue Appearance2.TextHAlignAsString = "Center" Appearance2.TextVAlignAsString = "Middle" Me.UltraLabel1.Appearance = Appearance2 Me.UltraLabel1.BorderStyleInner = Infragistics.Win.UIElementBorderStyle.Inset Me.UltraLabel1.BorderStyleOuter = Infragistics.Win.UIElementBorderStyle.Inset Me.UltraLabel1.Font = New System.Drawing.Font("黑体", 35.0!, System.Drawing.FontStyle.Bold) Me.UltraLabel1.Location = New System.Drawing.Point(49, 155) Me.UltraLabel1.Name = "UltraLabel1" Me.UltraLabel1.Size = New System.Drawing.Size(381, 54) Me.UltraLabel1.TabIndex = 175 Me.UltraLabel1.Text = "品种选择"
Hello,
I tried this and it always works fine for me so I attached my sample to this post for you. Please review it and feel free to let me know if I misunderstood you or if you have
any other questions.