This is a migrated thread and some comments may be shown as answers.

Breadcrumb TextMode Copy-Paste

2 Answers 58 Views
BreadCrumb
This is a migrated thread and some comments may be shown as answers.
Charles Goh
Top achievements
Rank 1
Charles Goh asked on 22 Apr 2018, 06:55 AM

     Hi, i'm using RadBreadcrumb in my WPF app and cannot find the way to handle when user Paste path in TextMode ? I.e. -

1) click on Breadcrumb , it will switch to text mode,

2) press Ctrl+C (Copy),

3) press Esc (to switch off TextMode)

4) Now goto another path , to make break crumb show different path

5) click on Breabcrumb, it will switch to TextMode

6) press Ctrl+V (Paste)

Any idea how i can handle that ?

2 Answers, 1 is accepted

Sort by
0
Vladimir Stoyanov
Telerik team
answered on 25 Apr 2018, 04:09 PM
Hello Charles,

What I can suggest in order to achieve the desired functionality is obtaining a reference to the TextBox within the RadBreadCrumb using the ChildrenOfType extension method. Then you can handle its KeyDown event and implement the desired logic.

Hope this helps.

Regards,
Vladimir Stoyanov
Progress Telerik
Want to extend the target reach of your WPF applications, leveraging iOS, Android, and UWP? Try UI for Xamarin, a suite of polished and feature-rich components for the Xamarin framework, which allow you to write beautiful native mobile apps using a single shared C# codebase.
0
Charles Goh
Top achievements
Rank 1
answered on 26 Apr 2018, 07:19 AM

Hi Vladimir, 

Did quick testing and it is working, thank you ! Will do more check later.

Tags
BreadCrumb
Asked by
Charles Goh
Top achievements
Rank 1
Answers by
Vladimir Stoyanov
Telerik team
Charles Goh
Top achievements
Rank 1
Share this question
or