VS 2005 SP3
I have worked with the progress bar many times.
However, I need to have one that is vertical. However, I can't find any property that will rotate it.
Is the progress bar always in a horizontal position and cannot be changed.
Many thanks,
Vertical Progressions act as a bridge between the anchor and grade-level standards, showing us how a given standard evolves over time and extends previous learning.
There are 2 types of progress bars: determinate and indeterminate. The former is used when the amount of information that needs to be loaded is detectable. The latter is used when the system is unsure how much needs to be loaded or how long it will take.
A progress bar is a graphical control element used to visualize the progression of an extended computer operation, such as a download, file transfer, or installation. Sometimes, the graphic is accompanied by a textual representation of the progress in a percent format.
Try this:
public class VerticalProgressBar : ProgressBar {
protected override CreateParams CreateParams {
get {
CreateParams cp = base.CreateParams;
cp.Style |= 0x04;
return cp;
}
}
}
From: MSDN Forums
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With