I have a list view that has tems that are Files from the disk,a user can double click to edit the file name. I would like to highlight just the filename portion of the note the extension as this is what windows explorer does, is there way to do this ?
many thanks
Marcus
Ok sorted it ..can get the editor this way
private void ultraListView1_ItemEnteredEditMode(object sender, Infragistics.Win.UltraWinListView.ItemEnteredEditModeEventArgs e) { EmbeddableUIElementBase embeddableElement = e.Item.UIElement.GetDescendant( typeof(EmbeddableUIElementBase), e.Item ) as EmbeddableUIElementBase; EmbeddableEditorBase editor = embeddableElement != null ? embeddableElement.Editor : null;
}
Hello Marcus,
Thank you for posting your solution.
Please feel free to post an update on this thread if your solution does not work as expected.