C# Button with Text and Down Arrow
13,045
Solution 1
The below code will give your Button the word "Details" with an arrow pointing downwards next to it.
Button1.Text = "Details " + char.ConvertFromUtf32(8595);
Solution 2
It sounds like you are asking about the contents of the button itself and want to handle the expand/collaspe functionality yourself. You could create a png with the "down arrow" image, and then position the icon right-middle using the image property of button in the designer.
Author by
hshah
Updated on June 10, 2022Comments
-
hshah almost 2 years
Is it possible to create a button with WinForms which has the text "Details" and then a down arrow next to it.
It is not vital to my program but I personally think it looks nicer for the user, especially in dialog boxes which expand to show more error details.