Class ProgressbarReflectable
Represents progress bar able to reflect functionality of referenced toolstrip progress bar.
Inheritance
System.Object
ProgressbarReflectable
Namespace: Syncfusion.Windows.Forms.Tools
Assembly: Syncfusion.Tools.Windows.dll
Syntax
public class ProgressbarReflectable : ToolStripProgressBar, INativeMessageFilter, IQuickItem
Constructors
ProgressbarReflectable()
Creates new instance of ProgressbarReflectable.
Declaration
public ProgressbarReflectable()
ProgressbarReflectable(ToolStripProgressBar)
Constructor of the ProgressbarReflectable
Declaration
public ProgressbarReflectable(ToolStripProgressBar reflectedItem)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Forms.ToolStripProgressBar | reflectedItem | The ToolStripProgressBar instance. |
ProgressbarReflectable(ToolStripProgressBar, Boolean)
Declaration
public ProgressbarReflectable(ToolStripProgressBar reflectedItem, bool bExactCopy)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Forms.ToolStripProgressBar | reflectedItem | |
System.Boolean | bExactCopy |
Properties
ReflectedComponent
Declaration
public Component ReflectedComponent { get; }
Property Value
Type |
---|
System.ComponentModel.Component |
ReflectedProgressBar
Gets or sets reflected progress bar.
Declaration
public ToolStripProgressBar ReflectedProgressBar { get; set; }
Property Value
Type |
---|
System.Windows.Forms.ToolStripProgressBar |
Size
Gets or sets the size of the System.Windows.Forms.ToolStripItem.
Declaration
public override Size Size { get; set; }
Property Value
Type | Description |
---|---|
System.Drawing.Size | An ordered pair of type System.Drawing.Size representing the width and height of a rectangle. |
Methods
Dispose(Boolean)
Declaration
protected override void Dispose(bool disposing)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | disposing |
GetPreferredSize(Size)
Retrieves the size of a rectangular area into which a control can be fitted.
Declaration
public override Size GetPreferredSize(Size constrainingSize)
Parameters
Type | Name | Description |
---|---|---|
System.Drawing.Size | constrainingSize | he custom-sized area for a control. |
Returns
Type | Description |
---|---|
System.Drawing.Size | An ordered pair of type System.Drawing.Size representing the width and height of a rectangle. |
OnLayout(LayoutEventArgs)
To update size of the ProgressBar in higher scaling
Declaration
protected override void OnLayout(LayoutEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Forms.LayoutEventArgs | e |
ProcessMessage(ref Message)
Processes messages of sub classed progress bar.
Declaration
public bool ProcessMessage(ref Message m)
Parameters
Type | Name | Description |
---|---|---|
System.Windows.Forms.Message | m | Passes the windows messages |
Returns
Type |
---|
System.Boolean |
Reflects(IComponent)
Declaration
public bool Reflects(IComponent c)
Parameters
Type | Name | Description |
---|---|---|
System.ComponentModel.IComponent | c |
Returns
Type |
---|
System.Boolean |
Reset()
Declaration
public void Reset()