c# - WPF Context Sensitive Help - Best Practice -


i have created wpf application context sensitive using .chm files. have created a context sensitive pressing f1 after clicking textbox or button, thorugh xaml, , not event handling. , need window also. can have window default in xaml when window loaded itself, works now. if use text box help, cant switch window since have not included events that.

for scenario, using events possibility include window help? best practice? there way use window focus on xaml itself, or using event ends best practice?

thanks lot !!

why not implement f1 system? it's pretty straightforward...

take @ example here. provides helpprovider class gives context sensitive on element sets helpstring. should provide need.

in case, make chm file name name each element want file sensitive to. , have so:

static private void executed(object sender, executedroutedeventargs e) {     yourhelpsystem.showhelp(helpprovider.gethelpstring(sender frameworkelement) + ".chm"); } 

Comments

Popular posts from this blog

javascript - jquery or ashx not working -

opencv - DataType<cv::detail::deriv_type>::depth what is it used for -

python 3.x - Mapping specific letters onto a list of words -