Question: By default the next item in wp7 panorama bleeds into the currently selected panorama item by a few pixels and I would like to show a bit more of the next item.

Is there a way to control the amount of pixels? I tried setting margins and paddings and tried editing the controlTemplate, but had no success.

Answer: 
You want to override overloaded function but hiding rules don't work like this.

"The hiding rule says that an entity in an inner scope hides things with the same name in an outer scope."

Note, it is irrelevant that it has different signature i.e. `gogo(int* a)` will hide all `gogo(whatever)` functions from the Base. Overriding occurs only when your functions have same name, same signatures and virtual (so, only `gogo(int* a)` will be overrided).

The C++FAQ book suggest to use "non-virtual overloads that call non-overloaded virtuals." (chapter 29.05). Basically you create non-virtual overloaded functions in base class:

`gogo(int a) and gogo(int* a)`

which will call virtual functions respectively:

> 
> virtual gogo\_i(int a) and virtual gogo\_pi(int\* a)
> 
> 
> 

And override this virtuals in Derived class.
Basically, function overloading happens only when the functions of same name are defined in the same scope.Now, Base class has its own scope and derived class has its own. 

So, when u don't redefine a function in the derived class and call that function, the compiler checks the scope of derived, discovers that there is no such function defined in there. Then it checks the scope of base class, discovers the function and accordingly binds the function call to this particular definition.

But, when u redefine the function with different signature, the compiler matches the call with this function, sees inconsistency and simply complains.

you can change this behaviour by adding "using Base::gogo; " in derived class defenision.
I hope this explains.