c# - Drawing ListViewItem exceed VisibleClipBounds -


I'm trying to drag ListViewItems manually on a custom user control. There is a cover around the stored ListView itself as a private member of Control Class.

To allow manual drawing for these items, the DrawListViewEventEventHandler is attached, and for the most part it works. I have a problem, where the text for ListViewItem is long (in bigger image mode)

I am pulling a boundary rectangle around ListViewItem with different topics, and then I have the text size graphic. Measure using the word string () and pull the text manually. Although what I am finding out is that 2.5 lines of vertical drawing text are being cropped, because the caption is falling outside the visible graphic context of the graphic clipboard, I have been passed.

It seems a bit awkward, but I am not sure why this should happen and will not know about facing the problem.

Using tile view and tile size to give you enough space to attract your text

The listview can not guarantee to attract all its text: the text can be very large.


Comments

Popular posts from this blog

python - Overriding the save method in Django ModelForm -

html - CSS autoheight, but fit content to height of div -

qt - How to prevent QAudioInput from automatically boosting the master volume to 100%? -