Display all properties in Refine Search dialog.

Hello all,

Any idea how I can display all properties w.r.t to one customized ItemType (exa: XYZ) in "Refine" search dialog & accordingly should be able to show/hide property columns on grid by checking/unchecking properties in this dialog, currently It is working for properties for which "Hidden" is unchecked in ItemType's definition .

Note: This should be applicable when searching XYZ itemType's items only & for others it should work as OOTB.