Tag Archives: justiry

Right-justify values in a ListBox in C#

Sometimes you may like to right-justify values in a ListBox. For example, you might want to align numbers so they line up at their decimal points. This example uses the following code to right-justify lists of numbers. private void Form1_Load(object … Continue reading

Posted in controls, user interface | Tagged , , , , , , , , , , | Leave a comment