What are the widths of the Filter and Sort Indicator glyphs which are displayed in the ColumHeader?
Hi,
What do you need these sizes for?
I think the only way to get these is via UIElements, although, I am pretty sure they are fixed and don't change.
Are you talking about just the width or the height, as well? The elements take up the entire column header height, so the height really has no meaning.
Hello Scott,
We call the CalculateAutoResizeWidth method including the headers on all of our columns. A handful of the columns contain small integer values and so the width is based on the column header caption property which includes the Filter glyph for all columns.
If a user sorts on one of the small integer columns, the Sort glyph is not displayed because there is no room for it.
Ideally, what I would like to do is recheck the width in the ColumnClick event and resize the column if there is not enough room for the Sort glyph to be displayed in the header. Is this plan of attack the best one to take?