문제

I have an linklabel in C# winforms. It has no text but it has an image as background. Is there any way i can use the image as hyperlink to trigger the onclick event?

I have searched a lot and all i could find was only text manipulations (like put the text to transparent..etc). Is there a way around without actually using text? Also if i can get a tooltip for linklabel.. it will be more helpful.

I hope this question is not too mainstream(i am new to C#).

도움이 되었습니까?

해결책

You can use button with a image in it and make its properties as FlatStyle:Flat to give a look as ImageLink or else use PictureBox and To show Tooltip, you can use Tooltip tool which invokes a new property in button or PictureBox.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top