How can I show "√" (tick symbol) in label text?
Go to Insert > Advanced Symbol > Symbols. Choose the checkmark symbol that you want. Select Insert.
On the Home tab, in the Font section, click the Font drop-down list and select the Wingdings font. Create a check mark symbol by pressing and holding Alt , and then typing 0252 using the numeric keypad on the right side of the keyboard.
Option 2: Insert a tick or a cross using the Symbol menu You'll find it under the Insert menu, which is on the ribbon at the top of the screen. Click on Symbol and choose More Symbols. Change the font to Wingdings in the Font select box. Scroll to the bottom, and you'll find two different styles of ticks and crosses.
This code will do it for you:
LblTick.Text = ((char)0x221A).ToString();
Edit:
or even easier:
lblTick.Text = "\u221A";
Edit 2:
And, as pointed out in a comment, that code (221A) is actually a square root symbol, not a tick. To use the true tick mark, you can use the following:
lblTick.Text = "\u2713";
or for a heavy tick mark, you can use the following (but you may get font issues with this one):
lblTick.Text = "\u2714";
(Credit to @Joey for that comment!)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With