how to find duplicate values in devexpress gridview

Set the text of RepositoryItemButtonEdit in layout view in grid