Ying Lin
Ying Lin

Reputation: 11

Source code about WPF control

I want to overwrite ScrollBar, so i want to view its sourcecode. Not ControlTemplate.

Upvotes: 0

Views: 472

Answers (2)

Echilon
Echilon

Reputation: 10254

JustDecompile is a similar tool to Reflector, but I think you'd be best creating your own ControlTemplate. Is there some specific functionality you need to implement.

Upvotes: 0

Josh
Josh

Reputation: 69262

Reflector - http://www.red-gate.com/products/reflector

But creating your own ScrollBar class won't make other controls use it. The only thing you can do in that case is create a new control template for the existing ScrollBar which you've indicated you don't want to do.

Upvotes: 1

Related Questions