.net - Using Prompts in Microsoft Ribbon Controls WPF -
i'm writing wpf application uses microsoft ribbon system.windows.controls.ribbon namespace. i'm trying follow microsoft's guidelines closely possible, noticed few features mention can't seem find. 1 of these features "prompt". if scroll down way bottom of page linked (or search word "prompt") you'll see illustration , explanation of feature i'm talking about.
i have quite few 'ribbontextbox'es , 'ribboncombobox'es throughout ribbon tabs, each 1 label next it. needless these labels take considerable amount of horizontal space. replace these prompts, since when boxes have content in them self-explanatory.
is there way add prompts ribbon controls? nice clean method (who wouldn't?) i'd appreciate old way get's job done. keep in mind i'll need implement in dozen or 2 different places.
thanks help.
i managed find solution. though it's not official 1 microsoft, remarkably clean , easy implement. found this code , used base make own attached behaviors ribboncombobox; since ribbontextbox inherits normal textbox able use existing behavior (though did modify bit).
in case interested uploaded code files here. not works ribbon controls normal textboxes , comboboxes well. , solution if don't want have use separate control or edit controltemplate of existing one.
Comments
Post a Comment