If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.

Re: Rounded Combobox

I'm no expert on control templates but I think when you define a control template you are defining the entire control. So the combobox that you apply that template to will be JUST that border that you have defined and nothing else - hence the drop down arrow disappearing.
From what I remember, you can assign special names to "parts" of your control template and then WPF will treat them in the same way as their standard control counterpart. For example the little dropdown arrow might be named PART_DropDown in the standard combobox control template, so if you define something in your template and name it that same name then WPF will make it do the same things as the normal one would do (but without the same visual effects obviously as thats for you to define). I'm not sure whether the little arrow in a combobox is actually a separate part though, but you can find out by using Expression Blend to edit a copy of the combobox control template and examining the 'internals' of it.

Sorry if any of the above is not 100&#37; correct but its been a while since I did anything like that. Have a look on the web for Control Template tutorials

Re: Rounded Combobox

Upon searching and trial and error I was able to get the look that I want. It occured to me that a ComboBox is composed of various controls and I needed to modify the borders of those controls to suit my needs. Attached is a sample project that has the modified control template if anyone is interested.

Re: [RESOLVED] Rounded Combobox

Hi,

I am interested in control templates of the control available in the NetVerse screen.I searched MSDN couldn;t get the ones i wanted.
I saw your netverse screen and with you sample project i could see only combobox template not the other ones..i just need the button,textbox templates as available in the screen

Advertiser Disclosure:
Some of the products that appear on this site are from companies from which QuinStreet receives compensation. This compensation may impact how and where products appear on this site including, for example, the order in which they appear. QuinStreet does not include all companies or all types of products available in the marketplace.