ProgressBar | marshal by reference, disposable |
System.Windows.Forms (system.windows.forms.dll) | sealed class |
The ProgressBar class wraps the Win32 progress
control to graphically represent the completion of a long operation.
You can specify the Minimum and
Maximum value that can be represented by the
control, along with the current Value. The control
fills from the minimum on the left to the maximum on the right. Note
that it does not honor right-to-left reading, so left and right
really do mean left and right.
You can also specify a Step, which will be added
to the current Value each time you call
PerformStep(), or you can Increment() the value by a particular amount.
public sealed class ProgressBar : Control {
// Public Constructors
public ProgressBar();
// Public Instance Properties
public override bool AllowDrop{set; get; }
// overrides Control
public override Color BackColor{set; get; }
// overrides Control
public override Image BackgroundImage{set; get; }
// overrides Control
public bool CausesValidation{set; get; }
// overrides Control
public override Font Font{set; get; }
// overrides Control
public override Color ForeColor{set; get; }
// overrides Control
public ImeMode ImeMode{set; get; }
// overrides Control
public int Maximum{set; get; }
public int Minimum{set; get; }
public override RightToLeft RightToLeft{set; get; }
// overrides Control
public int Step{set; get; }
public bool TabStop{set; get; }
// overrides Control
public override string Text{set; get; }
// overrides Control
public int Value{set; get; }
// Protected Instance Properties
protected override CreateParams CreateParams{get; }
// overrides Control
protected override ImeMode DefaultImeMode{get; }
// overrides Control
protected override Size DefaultSize{get; }
// overrides Control
// Public Instance Methods
public void Increment(int value);
public void PerformStep();
public override string ToString(); // overrides System.ComponentModel.Component
// Protected Instance Methods
protected override void CreateHandle(); // overrides Control
protected override void OnHandleCreated(EventArgs e); // overrides Control
// Events
public event EventHandler DoubleClick;
// overrides Control
public event EventHandler Enter;
// overrides Control
public event KeyEventHandler KeyDown;
// overrides Control
public event KeyPressEventHandler KeyPress;
// overrides Control
public event KeyEventHandler KeyUp;
// overrides Control
public event EventHandler Leave;
// overrides Control
public event PaintEventHandler Paint;
// overrides Control
}
Hierarchy
System.Object
System.MarshalByRefObject
System.ComponentModel.Component(System.ComponentModel.IComponen,
System.IDisposable)
Control(IOleContro, IOleObject,
IOleInPlaceObject,
IOleInPlaceActiveObject,
IOleWindow, IViewObject,
IViewObject2, IPersist,
IPersistStreamInit,
IPersistPropertyBag,
IPersistStorage,
IQuickActivate,
System.ComponentModel.ISynchronizeInvoke,
IWin32Window) ProgressBar
|