Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
515
ListView Item selected Text in edit mode
posted

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

Parents
  • 515
    Suggested Answer
    posted

    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;
     
     


    }

Reply Children
No Data