Custom ProgressBar ControlTemplate?

I couldn't figure out what result you are trying to achieve. It seems strange that you are using four nested levels of rotation. For example, your borderIndicator will be upside down since it will be affected by all four LayoutTransforms: gridLayout will rotate it +90 and PART_Track, PART_Indicator and borderIndicator will all rotate it -90.

Thus the total rotation will be +90-90-90-90 = -180. Is this what you intended? Another thing that is unexpected is the way you are using a Border inside a Decorator.

Obviously your code-behind is designed to affects PART_Track and PART_Indicator somehow, but it is not clear what you are doing to the Decorator that prevents it from actually being a Border and doing the work of the Border that is currently inside it Having said all that, here is where I think the problem lies: Setter Property="VerticalAlignment" TargetName="borderIndicator" Value="Bottom Since Border has no natural size, a VerticalAlignment of "Bottom" will cause it to have zero height I would definitely suggest you find a way to reduce the number of LayoutTransforms you apply. In fact, it appears to me that only the outer two are actually necessary. Also I would consider merging the Decorator and the Border.

I couldn't figure out what result you are trying to achieve. It seems strange that you are using four nested levels of rotation. For example, your borderIndicator will be upside down since it will be affected by all four LayoutTransforms: gridLayout will rotate it +90 and PART_Track, PART_Indicator and borderIndicator will all rotate it -90.

Thus the total rotation will be +90-90-90-90 = -180. Is this what you intended? Another thing that is unexpected is the way you are using a Border inside a Decorator.

Obviously your code-behind is designed to affects PART_Track and PART_Indicator somehow, but it is not clear what you are doing to the Decorator that prevents it from actually being a Border and doing the work of the Border that is currently inside it. Having said all that, here is where I think the problem lies: Since Border has no natural size, a VerticalAlignment of "Bottom" will cause it to have zero height. I would definitely suggest you find a way to reduce the number of LayoutTransforms you apply.In fact, it appears to me that only the outer two are actually necessary.

Also I would consider merging the Decorator and the Border.

Thanks - that sent me on the right path. I'd "vote up," but I can't yet, after finally becoming a member after lurking all this time... – Wonko the Sane Mar 4 '10 at 17:35 Although you can't "vote up" yet, you can mark my answer as correct since you are the questioner. – Ray Burns Mar 4 '10 at 18:05 Ah, thanks.

I'll get this new-fangled internet thing yet. :) – Wonko the Sane Mar 8 '10 at 19:19.

I couldn't figure out what result you are trying to achieve. It seems strange that you are using four nested levels of rotation. For example, your borderIndicator will be upside down since it will be affected by all four LayoutTransforms: gridLayout will rotate it +90 and PART_Track, PART_Indicator and borderIndicator will all rotate it -90.

Thus the total rotation will be +90-90-90-90 = -180. Is this what you intended?

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions