共用方式為


ProgressBar 類別

定義

代表 Windows 的進度條控制。

public ref class ProgressBar sealed : System::Windows::Forms::Control
public ref class ProgressBar : System::Windows::Forms::Control
public sealed class ProgressBar : System.Windows.Forms.Control
[System.ComponentModel.DefaultBindingProperty("Value")]
[System.Runtime.InteropServices.ClassInterface(System.Runtime.InteropServices.ClassInterfaceType.AutoDispatch)]
[System.Runtime.InteropServices.ComVisible(true)]
public class ProgressBar : System.Windows.Forms.Control
[System.ComponentModel.DefaultBindingProperty("Value")]
public class ProgressBar : System.Windows.Forms.Control
type ProgressBar = class
    inherit Control
[<System.ComponentModel.DefaultBindingProperty("Value")>]
[<System.Runtime.InteropServices.ClassInterface(System.Runtime.InteropServices.ClassInterfaceType.AutoDispatch)>]
[<System.Runtime.InteropServices.ComVisible(true)>]
type ProgressBar = class
    inherit Control
[<System.ComponentModel.DefaultBindingProperty("Value")>]
type ProgressBar = class
    inherit Control
Public NotInheritable Class ProgressBar
Inherits Control
Public Class ProgressBar
Inherits Control
繼承
屬性

範例

以下程式碼範例使用 ProgressBar 控制項來顯示檔案複製操作的進度。 範例中使用 和 MinimumMaximum 屬性來指定一個等價於複製檔案數量的範圍 ProgressBar 。 程式碼也使用 StepPerformStep 屬性,並以該方法在檔案複製時增加 的 ProgressBar 值。 這個例子需要你有一個ProgressBar在 內Form建立的控制項,pBar1並且有一個方法,CopyFile稱為(回傳布林值,表示檔案複製操作已成功完成)來執行檔案複製操作。 程式碼還要求建立包含要複製檔案的字串陣列,並傳給 CopyWithProgress 範例中定義的方法,且該方法必須從 中的其他方法或事件 Form呼叫。

private:
   void CopyWithProgress( array<String^>^filenames )
   {
      // Display the ProgressBar control.
      pBar1->Visible = true;

      // Set Minimum to 1 to represent the first file being copied.
      pBar1->Minimum = 1;

      // Set Maximum to the total number of files to copy.
      pBar1->Maximum = filenames->Length;

      // Set the initial value of the ProgressBar.
      pBar1->Value = 1;

      // Set the Step property to a value of 1 to represent each file being copied.
      pBar1->Step = 1;

      // Loop through all files to copy.
      for ( int x = 1; x <= filenames->Length; x++ )
      {
         // Copy the file and increment the ProgressBar if successful.
         if ( CopyFile( filenames[ x - 1 ] ))
         {
            // Perform the increment on the ProgressBar.
            pBar1->PerformStep();
         }
      }
   }
private void CopyWithProgress(string[] filenames)
{
    // Display the ProgressBar control.
    pBar1.Visible = true;
    // Set Minimum to 1 to represent the first file being copied.
    pBar1.Minimum = 1;
    // Set Maximum to the total number of files to copy.
    pBar1.Maximum = filenames.Length;
    // Set the initial value of the ProgressBar.
    pBar1.Value = 1;
    // Set the Step property to a value of 1 to represent each file being copied.
    pBar1.Step = 1;
    
    // Loop through all files to copy.
    for (int x = 1; x <= filenames.Length; x++)
    {
        // Copy the file and increment the ProgressBar if successful.
        if (CopyFile(filenames[x-1]))
        {
            // Perform the increment on the ProgressBar.
            pBar1.PerformStep();
        }
    }
}
Private Sub CopyWithProgress(ByVal ParamArray filenames As String())
    ' Display the ProgressBar control.
    pBar1.Visible = True
    ' Set Minimum to 1 to represent the first file being copied.
    pBar1.Minimum = 1
    ' Set Maximum to the total number of files to copy.
    pBar1.Maximum = filenames.Length
    ' Set the initial value of the ProgressBar.
    pBar1.Value = 1
    ' Set the Step property to a value of 1 to represent each file being copied.
    pBar1.Step = 1

    ' Loop through all files to copy.
    Dim x As Integer
    for x = 1 To filenames.Length - 1
        ' Copy the file and increment the ProgressBar if successful.
        If CopyFile(filenames(x - 1)) = True Then
            ' Perform the increment on the ProgressBar.
            pBar1.PerformStep()
        End If
    Next x
End Sub

備註

ProgressBar控制項在視覺上顯示長操作的進度,採用以下三種風格之一:

  • 分段的方塊,從左到右逐步遞增。

  • 一條從左到右填滿的連續條。

  • 一個以招牌式方式橫跨 的 ProgressBar 方塊。

Style屬性決定了展示的風格ProgressBar。 請注意, ProgressBar 控制鍵只能水平方向。 關於如何建立垂直導向 ProgressBar的範例,請參見該 ProgressBarRenderer 類別。 ProgressBar此控制項通常用於應用程式執行如複製檔案或列印文件等任務時。 如果應用程式沒有視覺提示,使用者可能會認為該應用程式無反應。 在應用程式中使用 , ProgressBar 你可以提醒使用者應用程式正在執行冗長的任務,且仍在回應中。

MaximumMinimum屬性定義了代表任務進度的值範圍。 Minimum屬性通常設定為 0,Maximum屬性通常設定為表示任務完成的值。 例如,為了正確顯示複製一組檔案的進度, Maximum 屬性可以設定為要複製的檔案總數。

屬性 Value 代表應用程式在完成操作過程中所取得的進展。 該物件顯示 ProgressBar 的價值僅近似該物業目前的價值 Value 。 根據 的 ProgressBar大小,屬性 Value 決定何時顯示下一個區塊或增加條狀圖大小。

除了直接更改Value屬性外,還有許多方法可以修改其他物件ProgressBar所顯示的數值。 你可以用這個 Step 屬性指定一個特定的值來遞增該 Value 屬性,然後呼叫 PerformStep 該方法來增加該值。 要改變增量值,你可以使用該 Increment 方法並指定一個用來增加 Value 屬性的值。

備註

ForeColor BackColor ProgressBar而當 Windows XP 家庭版、Windows XP 專業版、Windows Server 2003 及以上版本啟用視覺樣式時,變更將不予遵守。

建構函式

名稱 Description
ProgressBar()

初始化 ProgressBar 類別的新執行個體。

屬性

名稱 Description
AccessibilityObject

讓被 AccessibleObject 指派到控制室。

(繼承來源 Control)
AccessibleDefaultActionDescription

取得或設定控制項的預設動作描述,供無障礙客戶端應用程式使用。

(繼承來源 Control)
AccessibleDescription

取得或設定無障礙客戶端應用程式所使用的控制項描述。

(繼承來源 Control)
AccessibleName

取得或設定無障礙客戶端應用程式所使用的控制項名稱。

(繼承來源 Control)
AccessibleRole

取得或設定控制的可及角色。

(繼承來源 Control)
AllowDrop

取得或設定一個值,指示控制器是否能接受使用者拖曳到的資料。

Anchor

取得或設定控制項綁定容器的邊緣,並決定控制項如何與父控制項進行調整大小。

(繼承來源 Control)
AutoScrollOffset

取得或設定,將此控制捲動至。ScrollControlIntoView(Control)

(繼承來源 Control)
AutoSize

此性質對此類別無關。

(繼承來源 Control)
BackColor

取得或設定此 ProgressBar 控制的背景色。

BackColor

取得或設定控制點的背景色。

(繼承來源 Control)
BackgroundImage

取得或設定控制 ProgressBar 的背景影像。

BackgroundImageLayout

取得或設定進度條背景圖片的佈局。

BindingContext

取得或設定 BindingContext 控制。

(繼承來源 Control)
Bottom

取得控制項底部邊緣與容器用戶端區域頂部邊緣之間的距離(像素)。

(繼承來源 Control)
Bounds

取得或設定控制項的大小與位置,包括非用戶端元素,以像素為單位,相對於父控制項。

(繼承來源 Control)
CanEnableIme

會取得一個值,表示該屬性是否 ImeMode 能被設定為主動值,以支援 IME。

(繼承來源 Control)
CanFocus

會獲得一個值,表示控制點是否能獲得焦點。

(繼承來源 Control)
CanRaiseEvents

判斷事件是否能在控制組上引發。

(繼承來源 Control)
CanSelect

會得到一個值,表示是否可以選擇該控制項。

(繼承來源 Control)
Capture

取得或設定一個值,表示控制器是否已捕捉該滑鼠。

(繼承來源 Control)
CausesValidation

取得或設定一個值,指示控制項在獲得焦點時,是否會對需要驗證的控制項執行驗證。

ClientRectangle

取得代表控制區客戶端區域的矩形。

(繼承來源 Control)
ClientSize

取得或設定控制區客戶區域的高度與寬度。

(繼承來源 Control)
CompanyName

取得包含控制權的公司名稱或應用程式的創建者名稱。

(繼承來源 Control)
Container

得到 IContainer 包含 Component的 。

(繼承來源 Component)
ContainsFocus

會獲得一個值,表示該控制項或其子控制項目前是否擁有輸入焦點。

(繼承來源 Control)
ContextMenu
已淘汰.

取得或設定與控制鍵相關的捷徑選單。

(繼承來源 Control)
ContextMenuStrip

取得或設定 ContextMenuStrip 與此控制相關聯的

(繼承來源 Control)
Controls

取得控制中包含的控制項集合。

(繼承來源 Control)
Created

會得到一個值,表示控制是否已被建立。

(繼承來源 Control)
CreateParams

覆寫 CreateParams

CreateParams

當控制句柄建立時,會取得所需的建立參數。

(繼承來源 Control)
Cursor

當滑鼠指標位於控制器上時,會顯示或設定游標。

(繼承來源 Control)
DataBindings

取得控制項的資料綁定。

(繼承來源 Control)
DataContext

取得或設定資料上下文以進行資料綁定。 這是一個環境音屬性。

(繼承來源 Control)
DefaultCursor

取得或設定控制鍵的預設游標。

(繼承來源 Control)
DefaultImeMode

可獲得控制項所支援的預設輸入法編輯器(IME)模式。

DefaultImeMode

可獲得控制項所支援的預設輸入法編輯器(IME)模式。

(繼承來源 Control)
DefaultMargin

取得預設控制點間設定的像素空間。

(繼承來源 Control)
DefaultMaximumSize

取得控制項預設最大大小的長度與高度(像素數)。

(繼承來源 Control)
DefaultMinimumSize

取得控制項預設最小大小的長度與高度(像素)。

(繼承來源 Control)
DefaultPadding

取得控制項內容的預設內部間距(像素)。

(繼承來源 Control)
DefaultSize

會得到預設大小的控制器。

DefaultSize

會得到預設大小的控制器。

(繼承來源 Control)
DesignMode

會得到一個值,表示目前 Component 是否處於設計模式。

(繼承來源 Component)
DeviceDpi

取得目前顯示控制項所在顯示器的 DPI 值。

(繼承來源 Control)
DisplayRectangle

取得代表控制器顯示區域的矩形。

(繼承來源 Control)
Disposing

會取得一個值,表示基底 Control 類別是否正在處理中。

(繼承來源 Control)
Dock

取得或設定哪些控制邊界對接到其父控制,並決定控制點如何與父控制進行調整大小。

(繼承來源 Control)
DoubleBuffered

取得或設定一個值,指示控制項是否應該使用次級緩衝區重新繪製表面。

Enabled

取得或設定一個值,表示控制項是否能回應使用者互動。

(繼承來源 Control)
Events

會取得與此 Component連結的事件處理程序清單。

(繼承來源 Component)
Focused

會得到一個值,表示控制器是否有輸入焦點。

(繼承來源 Control)
Font

取得或設定 ProgressBar.

FontHeight

取得或設定控制鍵字型的高度。

(繼承來源 Control)
ForeColor

取得或設定控制鍵的前景色。

ForeColor

取得或設定控制鍵的前景色。

(繼承來源 Control)
Handle

它會得到控制項綁定的視窗把手。

(繼承來源 Control)
HasChildren

會取得一個值,表示該控制是否包含一個或多個子控制項。

(繼承來源 Control)
Height

取得或設定控制點的高度。

(繼承來源 Control)
ImeMode

取得或設定輸入法編輯器(IME)的 ProgressBar

ImeModeBase

取得或設定控制的 IME 模式。

(繼承來源 Control)
InvokeRequired

會獲得一個值,表示呼叫者在呼叫控制項時是否必須呼叫呼叫方法,因為呼叫者使用的執行緒與該控制項建立的執行緒不同。

(繼承來源 Control)
IsAccessible

取得或設定一個值,指示該控制項是否對無障礙應用程式可見。

(繼承來源 Control)
IsAncestorSiteInDesignMode

顯示該控制點的前祖是否被設置在 DesignMode 中。 這個屬性是唯讀的。

(繼承來源 Control)
IsDisposed

會有一個值,表示控制權是否已被處理掉。

(繼承來源 Control)
IsHandleCreated

會得到一個值,表示該控制項是否有與其相關的 handle。

(繼承來源 Control)
IsMirrored

會得到一個值,表示該控制是否為鏡像。

(繼承來源 Control)
LayoutEngine

會取得控制點的佈局引擎的快取實例。

(繼承來源 Control)
Left

取得或設定控制項左邊與容器客戶端區域左邊之間的距離(像素)。

(繼承來源 Control)
Location

取得或設定控制器左上角相對於容器左上角的座標。

(繼承來源 Control)
Margin

取得或設定控制區之間的空格。

(繼承來源 Control)
MarqueeAnimationSpeed

它會設定進度方塊在進度條上滾動所需的時間,單位是毫秒。

Maximum

取得或設定控制範圍的最大值。

MaximumSize

取得或設定的上限是可以指定的上限 GetPreferredSize(Size)

(繼承來源 Control)
Minimum

取得或設定控制範圍的最小值。

MinimumSize

取得或設定的尺寸是可指定的下限 GetPreferredSize(Size)

(繼承來源 Control)
Name

取得或設定控制的名稱。

(繼承來源 Control)
Padding

取得或設定控制項邊緣 ProgressBar 與其內容之間的空間。

Parent

取得或設定控制的父容器。

(繼承來源 Control)
PreferredSize

大小相當於一個長方形區域,控制器可以放進去。

(繼承來源 Control)
ProductName

取得包含控制項的組件產品名稱。

(繼承來源 Control)
ProductVersion

取得包含控制項的組裝版本。

(繼承來源 Control)
RecreatingHandle

會取得一個值,表示該控制項目前是否正在重新建立其句柄。

(繼承來源 Control)
Region

取得或設定與控制項相關的視窗區域。

(繼承來源 Control)
RenderRightToLeft
已淘汰.
已淘汰.

該物業現已過時。

(繼承來源 Control)
ResizeRedraw

會取得或設定一個值,表示控制項在調整時是否會自行重新繪製。

(繼承來源 Control)
Right

取得控制器右邊與容器用戶端區域左邊之間的距離(像素)。

(繼承來源 Control)
RightToLeft

取得或設定一個值,指示控制項的元素是否對齊以支援使用由右到左字型的區域。

RightToLeft

取得或設定一個值,指示 control 元素是否對齊以支援使用右至左字型的區域。

(繼承來源 Control)
RightToLeftLayout

取得或設定一個值,表示該及所包含的任何文字是否 ProgressBar 從右向左顯示。

ScaleChildren

會得到一個決定子控制項縮放的值。

(繼承來源 Control)
ShowFocusCues

會得到一個值,指示控制器是否應該顯示焦點矩形。

(繼承來源 Control)
ShowKeyboardCues

會取得一個值,表示使用者介面是否處於顯示或隱藏鍵盤加速器的適當狀態。

(繼承來源 Control)
Site

取得或設定控制點。

(繼承來源 Control)
Size

設定控制器的高度與寬度。

(繼承來源 Control)
Step

取得或設定呼叫該方法時,進度條當前位置增加 PerformStep() 的幅度。

Style

取得或設定進度條上進度應該如何顯示。

TabIndex

取得或設定容器內控制項的制表順序。

(繼承來源 Control)
TabStop

覆寫 TabStop

Tag

取得或設定包含控制項資料的物件。

(繼承來源 Control)
Text

取得或設定與此控制項相關的文字。

Top

取得或設定控制面板頂端與容器用戶端區域頂端之間的距離(以像素為單位)。

(繼承來源 Control)
TopLevelControl

取得沒有被其他 Windows Forms 控制項保護的父控制權。 通常,這是控制所包含的最 Form 外層。

(繼承來源 Control)
UseWaitCursor

取得或設定一個值,指示是否使用等待游標來控制目前的控制項及所有子控制項。

(繼承來源 Control)
Value

取得或設定進度條目前的位置。

Visible

取得或設定一個值,表示該控制項及其所有子控制項是否被顯示。

(繼承來源 Control)
Width

設定或設定控制寬度。

(繼承來源 Control)
WindowTarget

此性質對此類別無關。

(繼承來源 Control)

方法

名稱 Description
AccessibilityNotifyClients(AccessibleEvents, Int32, Int32)

通知無障礙用戶端應用程式 AccessibleEvents 指定於指定子控制項的指定內容。

(繼承來源 Control)
AccessibilityNotifyClients(AccessibleEvents, Int32)

通知無障礙用戶端應用程式指定子控制項的指定 AccessibleEvents 內容。

(繼承來源 Control)
BeginInvoke(Action)

在建立控制項底層句柄的執行緒上,非同步執行指定的代理。

(繼承來源 Control)
BeginInvoke(Delegate, Object[])

在建立控制項底層句柄的執行緒上,以非同步方式執行指定的代理,並使用指定的參數。

(繼承來源 Control)
BeginInvoke(Delegate)

在建立控制項底層句柄的執行緒上,非同步執行指定的代理。

(繼承來源 Control)
BringToFront()

把控制權帶到Z階的最前面。

(繼承來源 Control)
Contains(Control)

取得一個值,表示指定控制是否為控制項的子節點。

(繼承來源 Control)
CreateAccessibilityInstance()

為控制項建立一個新的無障礙物件 ProgressBar 實例。

CreateAccessibilityInstance()

為控制項建立一個新的無障礙物件。

(繼承來源 Control)
CreateControl()

強制建立可見控制項,包括建立 handle 及任何可見子控制項。

(繼承來源 Control)
CreateControlsInstance()

為該控制建立一個新的控制集合實例。

(繼承來源 Control)
CreateGraphics()

為控制創造出 Graphics 關鍵。

(繼承來源 Control)
CreateHandle()

這樣可以產生控制的把手。

CreateHandle()

這樣可以產生控制的把手。

(繼承來源 Control)
CreateObjRef(Type)

建立一個物件,包含產生代理伺服器所需的所有相關資訊,用於與遠端物件通訊。

(繼承來源 MarshalByRefObject)
DefWndProc(Message)

將指定的訊息傳送到預設視窗程序。

(繼承來源 Control)
DestroyHandle()

會破壞與控制器相關的把手。

(繼承來源 Control)
Dispose()

釋放所有由 Component.

(繼承來源 Component)
Dispose(Boolean)

釋放由 Control 子控制項及其子控制項使用的非管理資源,並可選擇性地釋放受管理資源。

(繼承來源 Control)
DoDragDrop(Object, DragDropEffects, Bitmap, Point, Boolean)

開始拖曳行動。

(繼承來源 Control)
DoDragDrop(Object, DragDropEffects)

開始拖放操作。

(繼承來源 Control)
DoDragDropAsJson<T>(T, DragDropEffects, Bitmap, Point, Boolean)

代表 Windows 的進度條控制。

(繼承來源 Control)
DoDragDropAsJson<T>(T, DragDropEffects)

代表 Windows 的進度條控制。

(繼承來源 Control)
DrawToBitmap(Bitmap, Rectangle)

支援渲染到指定的位圖。

(繼承來源 Control)
EndInvoke(IAsyncResult)

取得由 IAsyncResult 通過的非同步操作的回傳值。

(繼承來源 Control)
Equals(Object)

判斷指定的物件是否等於目前的物件。

(繼承來源 Object)
FindForm()

取回控制點所在的表單。

(繼承來源 Control)
Focus()

將輸入焦點設定在控制器上。

(繼承來源 Control)
GetAccessibilityObjectById(Int32)

取得指定的 AccessibleObject

(繼承來源 Control)
GetAutoSizeMode()

取得一個值,表示當該控制項的屬性被啟用時 AutoSize ,其行為將如何。

(繼承來源 Control)
GetChildAtPoint(Point, GetChildAtPointSkip)

取得位於指定座標的子控制項,並指定是否忽略特定類型的子控制項。

(繼承來源 Control)
GetChildAtPoint(Point)

取得位於指定座標的子控制項。

(繼承來源 Control)
GetContainerControl()

回傳下一個 ContainerControl 控制項的父控制鏈。

(繼承來源 Control)
GetHashCode()

做為預設哈希函式。

(繼承來源 Object)
GetLifetimeService()
已淘汰.

取得目前控制此實例生命週期政策的終身服務物件。

(繼承來源 MarshalByRefObject)
GetNextControl(Control, Boolean)

以子控制項的制表順序,向前或往後取下一個控制項。

(繼承來源 Control)
GetPreferredSize(Size)

取出可容納控制點的矩形區域大小。

(繼承來源 Control)
GetScaledBounds(Rectangle, SizeF, BoundsSpecified)

取得控制可縮放範圍的範圍。

(繼承來源 Control)
GetService(Type)

回傳一個由 或Component其 所提供的Container服務的物件。

(繼承來源 Component)
GetStyle(ControlStyles)

取得該控制項指定控制樣式位元的值。

(繼承來源 Control)
GetTopLevel()

判斷該控制是否為頂層控制。

(繼承來源 Control)
GetType()

取得目前實例的 Type

(繼承來源 Object)
Hide()

隱藏控制權,不讓使用者知道。

(繼承來源 Control)
Increment(Int32)

將進度條當前位置向前推進指定數量。

InitializeLifetimeService()
已淘汰.

取得一個終身服務物件以控制此實例的終身政策。

(繼承來源 MarshalByRefObject)
InitLayout()

控制點被加入另一個容器後才被呼叫。

(繼承來源 Control)
Invalidate()

會使整個控制節點的表面失效,並導致控制點重新繪製。

(繼承來源 Control)
Invalidate(Boolean)

會使控制區的特定區域失效,並導致傳送繪圖訊息給控制區。 可選擇性地,使分配給控制項的子控制項失效。

(繼承來源 Control)
Invalidate(Rectangle, Boolean)

會使指定的控制區失效(將其加入控制項的更新區,也就是下一次繪製操作將被重新繪製的區域),並導致向控制項發送繪製訊息。 可選擇性地,使分配給控制項的子控制項失效。

(繼承來源 Control)
Invalidate(Rectangle)

會使指定的控制區失效(將其加入控制項的更新區,也就是下一次繪製操作將被重新繪製的區域),並導致向控制項發送繪製訊息。

(繼承來源 Control)
Invalidate(Region, Boolean)

會使指定的控制區失效(將其加入控制項的更新區,也就是下一次繪製操作將被重新繪製的區域),並導致向控制項發送繪製訊息。 可選擇性地,使分配給控制項的子控制項失效。

(繼承來源 Control)
Invalidate(Region)

會使指定的控制區失效(將其加入控制項的更新區,也就是下一次繪製操作將被重新繪製的區域),並導致向控制項發送繪製訊息。

(繼承來源 Control)
Invoke(Action)

在擁有控制項底層視窗代柄的執行緒上執行指定的代理。

(繼承來源 Control)
Invoke(Delegate, Object[])

執行指定的代理,在擁有控制項底層視窗代柄的執行緒上,並使用指定的參數清單。

(繼承來源 Control)
Invoke(Delegate)

在擁有控制項底層視窗代柄的執行緒上執行指定的代理。

(繼承來源 Control)
Invoke<T>(Func<T>)

在擁有控制項底層視窗代柄的執行緒上執行指定的代理。

(繼承來源 Control)
InvokeAsync(Action, CancellationToken)

在擁有控制項代碼的執行緒上非同步呼叫指定的同步回撥。

(繼承來源 Control)
InvokeAsync(Func<CancellationToken,ValueTask>, CancellationToken)

在擁有控制項句柄的執行緒上執行指定的非同步回撥。

(繼承來源 Control)
InvokeAsync<T>(Func<CancellationToken,ValueTask<T>>, CancellationToken)

在擁有控制項的執行緒執行指定的非同步回撥。

(繼承來源 Control)
InvokeAsync<T>(Func<T>, CancellationToken)

在擁有控制項代碼的執行緒上非同步呼叫指定的同步回撥。

(繼承來源 Control)
InvokeGotFocus(Control, EventArgs)

在指定控制點下 GotFocus 提高事件。

(繼承來源 Control)
InvokeLostFocus(Control, EventArgs)

在指定控制點下 LostFocus 提高事件。

(繼承來源 Control)
InvokeOnClick(Control, EventArgs)

在指定控制點下 Click 提高事件。

(繼承來源 Control)
InvokePaint(Control, PaintEventArgs)

在指定控制點下 Paint 提高事件。

(繼承來源 Control)
InvokePaintBackground(Control, PaintEventArgs)

在指定控制點下 PaintBackground 提高事件。

(繼承來源 Control)
IsInputChar(Char)

判斷某個字元是否為控制器識別的輸入字元。

(繼承來源 Control)
IsInputKey(Keys)

判斷指定的金鑰是一般輸入金鑰還是需要預處理的特殊金鑰。

(繼承來源 Control)
LogicalToDeviceUnits(Int32)

將邏輯 DPI 值轉換為其等效的 DeviceUnit DPI 值。

(繼承來源 Control)
LogicalToDeviceUnits(Size)

透過依當前 DPI 縮放,並將寬度與高度向下取整數值,將一個大小從邏輯轉換為裝置單位。

(繼承來源 Control)
MemberwiseClone()

建立目前 Object的淺層複本。

(繼承來源 Object)
MemberwiseClone(Boolean)

建立一個 MarshalByRefObject 目前物件的淺層複製品。

(繼承來源 MarshalByRefObject)
NotifyInvalidate(Rectangle)

Invalidated 事件中指定控制區域的事件提出以致無效。

(繼承來源 Control)
OnAutoSizeChanged(EventArgs)

引發 AutoSizeChanged 事件。

(繼承來源 Control)
OnBackColorChanged(EventArgs)

引發 BackColorChanged 事件。

OnBackColorChanged(EventArgs)

引發 BackColorChanged 事件。

(繼承來源 Control)
OnBackgroundImageChanged(EventArgs)

引發 BackgroundImageChanged 事件。

(繼承來源 Control)
OnBackgroundImageLayoutChanged(EventArgs)

引發 BackgroundImageLayoutChanged 事件。

(繼承來源 Control)
OnBindingContextChanged(EventArgs)

引發 BindingContextChanged 事件。

(繼承來源 Control)
OnCausesValidationChanged(EventArgs)

引發 CausesValidationChanged 事件。

(繼承來源 Control)
OnChangeUICues(UICuesEventArgs)

引發 ChangeUICues 事件。

(繼承來源 Control)
OnClick(EventArgs)

引發 Click 事件。

(繼承來源 Control)
OnClientSizeChanged(EventArgs)

引發 ClientSizeChanged 事件。

(繼承來源 Control)
OnContextMenuChanged(EventArgs)
已淘汰.

引發 ContextMenuChanged 事件。

(繼承來源 Control)
OnContextMenuStripChanged(EventArgs)

引發 ContextMenuStripChanged 事件。

(繼承來源 Control)
OnControlAdded(ControlEventArgs)

引發 ControlAdded 事件。

(繼承來源 Control)
OnControlRemoved(ControlEventArgs)

引發 ControlRemoved 事件。

(繼承來源 Control)
OnCreateControl()

代表 Windows 的進度條控制。

OnCreateControl()

提升了方法。CreateControl()

(繼承來源 Control)
OnCursorChanged(EventArgs)

引發 CursorChanged 事件。

(繼承來源 Control)
OnDataContextChanged(EventArgs)

代表 Windows 的進度條控制。

(繼承來源 Control)
OnDockChanged(EventArgs)

引發 DockChanged 事件。

(繼承來源 Control)
OnDoubleClick(EventArgs)

引發 DoubleClick 事件。

(繼承來源 Control)
OnDpiChangedAfterParent(EventArgs)

引發 DpiChangedAfterParent 事件。

(繼承來源 Control)
OnDpiChangedBeforeParent(EventArgs)

引發 DpiChangedBeforeParent 事件。

(繼承來源 Control)
OnDragDrop(DragEventArgs)

引發 DragDrop 事件。

(繼承來源 Control)
OnDragEnter(DragEventArgs)

引發 DragEnter 事件。

(繼承來源 Control)
OnDragLeave(EventArgs)

引發 DragLeave 事件。

(繼承來源 Control)
OnDragOver(DragEventArgs)

引發 DragOver 事件。

(繼承來源 Control)
OnEnabledChanged(EventArgs)

引發 EnabledChanged 事件。

(繼承來源 Control)
OnEnter(EventArgs)

引發 Enter 事件。

(繼承來源 Control)
OnFontChanged(EventArgs)

引發 FontChanged 事件。

(繼承來源 Control)
OnForeColorChanged(EventArgs)

引發 ForeColorChanged 事件。

OnForeColorChanged(EventArgs)

引發 ForeColorChanged 事件。

(繼承來源 Control)
OnGiveFeedback(GiveFeedbackEventArgs)

引發 GiveFeedback 事件。

(繼承來源 Control)
OnGotFocus(EventArgs)

引發 GotFocus 事件。

(繼承來源 Control)
OnHandleCreated(EventArgs)

覆寫 OnHandleCreated(EventArgs)

OnHandleCreated(EventArgs)

引發 HandleCreated 事件。

(繼承來源 Control)
OnHandleDestroyed(EventArgs)

引發 HandleDestroyed 事件。

OnHandleDestroyed(EventArgs)

引發 HandleDestroyed 事件。

(繼承來源 Control)
OnHelpRequested(HelpEventArgs)

引發 HelpRequested 事件。

(繼承來源 Control)
OnImeModeChanged(EventArgs)

引發 ImeModeChanged 事件。

(繼承來源 Control)
OnInvalidated(InvalidateEventArgs)

引發 Invalidated 事件。

(繼承來源 Control)
OnKeyDown(KeyEventArgs)

引發 KeyDown 事件。

(繼承來源 Control)
OnKeyPress(KeyPressEventArgs)

引發 KeyPress 事件。

(繼承來源 Control)
OnKeyUp(KeyEventArgs)

引發 KeyUp 事件。

(繼承來源 Control)
OnLayout(LayoutEventArgs)

引發 Layout 事件。

(繼承來源 Control)
OnLeave(EventArgs)

引發 Leave 事件。

(繼承來源 Control)
OnLocationChanged(EventArgs)

引發 LocationChanged 事件。

(繼承來源 Control)
OnLostFocus(EventArgs)

引發 LostFocus 事件。

(繼承來源 Control)
OnMarginChanged(EventArgs)

引發 MarginChanged 事件。

(繼承來源 Control)
OnMouseCaptureChanged(EventArgs)

引發 MouseCaptureChanged 事件。

(繼承來源 Control)
OnMouseClick(MouseEventArgs)

引發 MouseClick 事件。

(繼承來源 Control)
OnMouseDoubleClick(MouseEventArgs)

引發 MouseDoubleClick 事件。

(繼承來源 Control)
OnMouseDown(MouseEventArgs)

引發 MouseDown 事件。

(繼承來源 Control)
OnMouseEnter(EventArgs)

引發 MouseEnter 事件。

(繼承來源 Control)
OnMouseHover(EventArgs)

引發 MouseHover 事件。

(繼承來源 Control)
OnMouseLeave(EventArgs)

引發 MouseLeave 事件。

(繼承來源 Control)
OnMouseMove(MouseEventArgs)

引發 MouseMove 事件。

(繼承來源 Control)
OnMouseUp(MouseEventArgs)

引發 MouseUp 事件。

(繼承來源 Control)
OnMouseWheel(MouseEventArgs)

引發 MouseWheel 事件。

(繼承來源 Control)
OnMove(EventArgs)

引發 Move 事件。

(繼承來源 Control)
OnNotifyMessage(Message)

通知 Windows 訊息的控制單位。

(繼承來源 Control)
OnPaddingChanged(EventArgs)

引發 PaddingChanged 事件。

(繼承來源 Control)
OnPaint(PaintEventArgs)

引發 Paint 事件。

(繼承來源 Control)
OnPaintBackground(PaintEventArgs)

繪製控制背景。

(繼承來源 Control)
OnParentBackColorChanged(EventArgs)

當控制容器的屬性價值改變時BackColor,會觸發BackColorChanged事件。

(繼承來源 Control)
OnParentBackgroundImageChanged(EventArgs)

當控制容器的屬性價值改變時BackgroundImage,會觸發BackgroundImageChanged事件。

(繼承來源 Control)
OnParentBindingContextChanged(EventArgs)

當控制容器的屬性價值改變時BindingContext,會觸發BindingContextChanged事件。

(繼承來源 Control)
OnParentChanged(EventArgs)

引發 ParentChanged 事件。

(繼承來源 Control)
OnParentCursorChanged(EventArgs)

引發 CursorChanged 事件。

(繼承來源 Control)
OnParentDataContextChanged(EventArgs)

代表 Windows 的進度條控制。

(繼承來源 Control)
OnParentEnabledChanged(EventArgs)

當控制容器的屬性價值改變時Enabled,會觸發EnabledChanged事件。

(繼承來源 Control)
OnParentFontChanged(EventArgs)

當控制容器的屬性價值改變時Font,會觸發FontChanged事件。

(繼承來源 Control)
OnParentForeColorChanged(EventArgs)

當控制容器的屬性價值改變時ForeColor,會觸發ForeColorChanged事件。

(繼承來源 Control)
OnParentRightToLeftChanged(EventArgs)

當控制容器的屬性價值改變時RightToLeft,會觸發RightToLeftChanged事件。

(繼承來源 Control)
OnParentVisibleChanged(EventArgs)

當控制容器的屬性價值改變時Visible,會觸發VisibleChanged事件。

(繼承來源 Control)
OnPreviewKeyDown(PreviewKeyDownEventArgs)

引發 PreviewKeyDown 事件。

(繼承來源 Control)
OnPrint(PaintEventArgs)

引發 Paint 事件。

(繼承來源 Control)
OnQueryContinueDrag(QueryContinueDragEventArgs)

引發 QueryContinueDrag 事件。

(繼承來源 Control)
OnRegionChanged(EventArgs)

引發 RegionChanged 事件。

(繼承來源 Control)
OnResize(EventArgs)

引發 Resize 事件。

(繼承來源 Control)
OnRightToLeftChanged(EventArgs)

引發 RightToLeftChanged 事件。

(繼承來源 Control)
OnRightToLeftLayoutChanged(EventArgs)

引發 RightToLeftLayout 事件。

OnSizeChanged(EventArgs)

引發 SizeChanged 事件。

(繼承來源 Control)
OnStyleChanged(EventArgs)

引發 StyleChanged 事件。

(繼承來源 Control)
OnSystemColorsChanged(EventArgs)

引發 SystemColorsChanged 事件。

(繼承來源 Control)
OnTabIndexChanged(EventArgs)

引發 TabIndexChanged 事件。

(繼承來源 Control)
OnTabStopChanged(EventArgs)

引發 TabStopChanged 事件。

(繼承來源 Control)
OnTextChanged(EventArgs)

引發 TextChanged 事件。

(繼承來源 Control)
OnValidated(EventArgs)

引發 Validated 事件。

(繼承來源 Control)
OnValidating(CancelEventArgs)

引發 Validating 事件。

(繼承來源 Control)
OnVisibleChanged(EventArgs)

引發 VisibleChanged 事件。

(繼承來源 Control)
PerformLayout()

強制控制項對所有子控制項套用版面邏輯。

(繼承來源 Control)
PerformLayout(Control, String)

強制控制項對所有子控制項套用版面邏輯。

(繼承來源 Control)
PerformStep()

將進度條當前位置依財產數量 Step 推進。

PointToClient(Point)

將指定螢幕點的位置計算成用戶端座標。

(繼承來源 Control)
PointToScreen(Point)

將指定客戶端點的位置計算成螢幕座標。

(繼承來源 Control)
PreProcessControlMessage(Message)

在訊息迴圈內預先處理鍵盤或輸入訊息,然後再發送。

(繼承來源 Control)
PreProcessMessage(Message)

在訊息迴圈內預先處理鍵盤或輸入訊息,然後再發送。

(繼承來源 Control)
ProcessCmdKey(Message, Keys)

處理指令鍵。

(繼承來源 Control)
ProcessDialogChar(Char)

處理對話字元。

(繼承來源 Control)
ProcessDialogKey(Keys)

處理對話鍵。

(繼承來源 Control)
ProcessKeyEventArgs(Message)

處理關鍵訊息並產生適當的控制事件。

(繼承來源 Control)
ProcessKeyMessage(Message)

處理鍵盤訊息。

(繼承來源 Control)
ProcessKeyPreview(Message)

預覽鍵盤訊息。

(繼承來源 Control)
ProcessMnemonic(Char)

處理助記詞。

(繼承來源 Control)
RaiseDragEvent(Object, DragEventArgs)

提升相應的拖曳事件。

(繼承來源 Control)
RaiseKeyEvent(Object, KeyEventArgs)

提出相應的關鍵事件。

(繼承來源 Control)
RaiseMouseEvent(Object, MouseEventArgs)

觸發相應的鼠事件。

(繼承來源 Control)
RaisePaintEvent(Object, PaintEventArgs)

提升相應的塗裝事件。

(繼承來源 Control)
RecreateHandle()

強制重新製作控制的把手。

(繼承來源 Control)
RectangleToClient(Rectangle)

計算指定螢幕矩形在客戶端座標中的大小與位置。

(繼承來源 Control)
RectangleToScreen(Rectangle)

計算指定客戶端矩形在螢幕座標中的大小與位置。

(繼承來源 Control)
Refresh()

強制控制項使其客戶端區域失效,並立即重新繪製自己及所有子控制項。

(繼承來源 Control)
RescaleConstantsForDpi(Int32, Int32)

提供當 DPI 變動時調整控制鍵的常數。

(繼承來源 Control)
ResetBackColor()

將屬性 BackColor 重置為預設值。

(繼承來源 Control)
ResetBindings()

會讓綁定到的 BindingSource 控制項重新讀取清單中的所有項目並刷新它們的顯示值。

(繼承來源 Control)
ResetCursor()

將屬性 Cursor 重置為預設值。

(繼承來源 Control)
ResetFont()

將屬性 Font 重置為預設值。

(繼承來源 Control)
ResetForeColor()

將 重置 ForeColor 回預設值。

ResetForeColor()

將屬性 ForeColor 重置為預設值。

(繼承來源 Control)
ResetImeMode()

將屬性 ImeMode 重置為預設值。

(繼承來源 Control)
ResetMouseEventArgs()

重置控制以處理事件 MouseLeave

(繼承來源 Control)
ResetRightToLeft()

將屬性 RightToLeft 重置為預設值。

(繼承來源 Control)
ResetText()

將屬性 Text 重置為其預設值(Empty)。

(繼承來源 Control)
ResumeLayout()

恢復慣用的版面邏輯。

(繼承來源 Control)
ResumeLayout(Boolean)

恢復一般版面邏輯,並可選擇性地立即強制放置待處理版面請求。

(繼承來源 Control)
RtlTranslateAlignment(ContentAlignment)

將指定 ContentAlignment 內容轉換為適當的 ContentAlignment 內容,以支援從右到左的文字。

(繼承來源 Control)
RtlTranslateAlignment(HorizontalAlignment)

將指定 HorizontalAlignment 內容轉換為適當的 HorizontalAlignment 內容,以支援從右到左的文字。

(繼承來源 Control)
RtlTranslateAlignment(LeftRightAlignment)

將指定 LeftRightAlignment 內容轉換為適當的 LeftRightAlignment 內容,以支援從右到左的文字。

(繼承來源 Control)
RtlTranslateContent(ContentAlignment)

將指定 ContentAlignment 內容轉換為適當的 ContentAlignment 內容,以支援從右到左的文字。

(繼承來源 Control)
RtlTranslateHorizontal(HorizontalAlignment)

將指定 HorizontalAlignment 內容轉換為適當的 HorizontalAlignment 內容,以支援從右到左的文字。

(繼承來源 Control)
RtlTranslateLeftRight(LeftRightAlignment)

將指定 LeftRightAlignment 內容轉換為適當的 LeftRightAlignment 內容,以支援從右到左的文字。

(繼承來源 Control)
Scale(Single, Single)
已淘汰.
已淘汰.

可以擴展整個控制系統和子控制。

(繼承來源 Control)
Scale(Single)
已淘汰.
已淘汰.

這會調整控制範圍,也會影響任何子控制。

(繼承來源 Control)
Scale(SizeF)

依照指定的縮放因子調整控制項及所有子控制項。

(繼承來源 Control)
ScaleBitmapLogicalToDevice(Bitmap)

當 DPI 變動時,會將邏輯位圖值縮放到其等效的裝置單位值。

(繼承來源 Control)
ScaleControl(SizeF, BoundsSpecified)

縮放控制點的位置、大小、填充和邊距。

(繼承來源 Control)
ScaleCore(Single, Single)

這個方法對這門課來說並不適用。

(繼承來源 Control)
Select()

啟動控制。

(繼承來源 Control)
Select(Boolean, Boolean)

啟動兒童控制系統。 可選擇性地指定制表順序中的方向來選擇控制項。

(繼承來源 Control)
SelectNextControl(Control, Boolean, Boolean, Boolean, Boolean)

啟動下一個控制。

(繼承來源 Control)
SendToBack()

將控制權傳送到Z-order的後方。

(繼承來源 Control)
SetAutoSizeMode(AutoSizeMode)

設定一個值,表示當控制項屬性被啟用時 AutoSize 的行為。

(繼承來源 Control)
SetBounds(Int32, Int32, Int32, Int32, BoundsSpecified)

將控制項的指定範圍設為指定位置與大小。

(繼承來源 Control)
SetBounds(Int32, Int32, Int32, Int32)

將控制項的界限設為指定的位置與大小。

(繼承來源 Control)
SetBoundsCore(Int32, Int32, Int32, Int32, BoundsSpecified)

負責設定此控制範圍的工作。

(繼承來源 Control)
SetClientSizeCore(Int32, Int32)

設定控制區客戶端區域的大小。

(繼承來源 Control)
SetStyle(ControlStyles, Boolean)

將指定 ControlStyles 旗標設為或 truefalse

(繼承來源 Control)
SetTopLevel(Boolean)

將控制設定為頂層控制。

(繼承來源 Control)
SetVisibleCore(Boolean)

將控制項設定為指定的可見狀態。

(繼承來源 Control)
Show()

向使用者顯示控制權。

(繼承來源 Control)
SizeFromClientSize(Size)

根據用戶端區域的高度與寬度來決定整個控制點的大小。

(繼承來源 Control)
SuspendLayout()

暫時暫停控制的佈局邏輯。

(繼承來源 Control)
ToString()

回傳一個代表控制項的 ProgressBar 字串。

Update()

會導致控制項在其客戶端區域內重新繪製失效區域。

(繼承來源 Control)
UpdateBounds()

更新控制點的邊界,顯示目前的大小與位置。

(繼承來源 Control)
UpdateBounds(Int32, Int32, Int32, Int32, Int32, Int32)

更新控制項的邊界,並更新指定的大小、位置與用戶端大小。

(繼承來源 Control)
UpdateBounds(Int32, Int32, Int32, Int32)

更新控制項的邊界,並指定大小與位置。

(繼承來源 Control)
UpdateStyles()

強制將分配的樣式重新套用到控制項上。

(繼承來源 Control)
UpdateZOrder()

更新其父節點 z 順序中的控制項。

(繼承來源 Control)
WndProc(Message)

處理 Windows 訊息。

(繼承來源 Control)

事件

名稱 Description
AutoSizeChanged

這個活動與本班無關。

(繼承來源 Control)
BackColorChanged

當房產變更時 BackColor 發生。

BackColorChanged

發生於 BackColor 屬性的值變更時。

(繼承來源 Control)
BackgroundImageChanged

發生於 BackgroundImage 屬性的值變更時。

BackgroundImageLayoutChanged

發生於 BackgroundImageLayout 屬性的值變更時。

BindingContextChanged

發生於 BindingContext 屬性的值變更時。

(繼承來源 Control)
CausesValidationChanged

發生於 CausesValidation 屬性的值變更時。

ChangeUICues

當焦點或鍵盤使用者介面(UI)提示改變時,會發生這種情況。

(繼承來源 Control)
Click

當按下控制器時會發生。

(繼承來源 Control)
ClientSizeChanged

發生於 ClientSize 屬性的值變更時。

(繼承來源 Control)
ContextMenuChanged
已淘汰.

發生於 ContextMenu 屬性的值變更時。

(繼承來源 Control)
ContextMenuStripChanged

發生於 ContextMenuStrip 屬性的值變更時。

(繼承來源 Control)
ControlAdded

當新增控制項加入 Control.ControlCollection時,會發生。

(繼承來源 Control)
ControlRemoved

當控制項從 中移除 Control.ControlCollection時發生。

(繼承來源 Control)
CursorChanged

發生於 Cursor 屬性的值變更時。

(繼承來源 Control)
DataContextChanged

發生於 DataContext 屬性的值變更時。

(繼承來源 Control)
Disposed

當元件被呼叫方法 Dispose() 時會發生。

(繼承來源 Component)
DockChanged

發生於 Dock 屬性的值變更時。

(繼承來源 Control)
DoubleClick

當使用者雙擊控制鍵時會發生。

DpiChangedAfterParent

當控制器的 DPI 設定在父控制器或表單的 DPI 改變後,程式方式更改時會發生。

(繼承來源 Control)
DpiChangedBeforeParent

當控制器的 DPI 設定在父控制器或表單的 DPI 變更事件尚未發生之前,程式化地更改時就會發生。

(繼承來源 Control)
DragDrop

當拖放操作完成時會發生。

(繼承來源 Control)
DragEnter

當物體被拖入控制範圍時,會發生這種情況。

(繼承來源 Control)
DragLeave

當物體被拖出控制範圍時,會發生這種情況。

(繼承來源 Control)
DragOver

當物體被拖過控制範圍時會發生。

(繼承來源 Control)
EnabledChanged

發生於 Enabled 屬性值變更時。

(繼承來源 Control)
Enter

當焦點進入 ProgressBar 控制時會發生。

FontChanged

發生於 Font 屬性的值變更時。

ForeColorChanged

當房產價值變動時 ForeColor 發生。

ForeColorChanged

當房產價值變動時 ForeColor 發生。

(繼承來源 Control)
GiveFeedback

發生在拖曳操作期間。

(繼承來源 Control)
GotFocus

當控制裝置被聚焦時發生。

(繼承來源 Control)
HandleCreated

當控制器被建立把柄時,會發生這種情況。

(繼承來源 Control)
HandleDestroyed

當控制器的把手正在被摧毀時,會發生這種情況。

(繼承來源 Control)
HelpRequested

當使用者請求控制權協助時會發生。

(繼承來源 Control)
ImeModeChanged

發生於 ImeMode 屬性的值變更時。

Invalidated

當控制器顯示需要重新繪製時,會發生這種情況。

(繼承來源 Control)
KeyDown

當使用者在控制器保持對焦狀態時按下按鍵時會發生。

KeyPress

當使用者在控制器保持對焦狀態時按下按鍵時會發生。

KeyUp

當使用者在控制器保持對焦時放開按鍵時會發生。

Layout

當控制項應該重新定位其子控制項時,會發生這種情況。

(繼承來源 Control)
Leave

當專注力離開 ProgressBar 控制時會發生。

LocationChanged

發生於 Location 屬性值變更時。

(繼承來源 Control)
LostFocus

當控制失焦時會發生。

(繼承來源 Control)
MarginChanged

當對照組的邊界改變時會發生。

(繼承來源 Control)
MouseCaptureChanged

當控制組失去滑鼠捕捉時會發生。

(繼承來源 Control)
MouseClick

當滑鼠點擊控制鍵時會發生。

(繼承來源 Control)
MouseDoubleClick

當使用者雙擊控制鍵時會發生。

MouseDown

當滑鼠指標放在控制器上,按下滑鼠按鈕時會發生。

(繼承來源 Control)
MouseEnter

當滑鼠指標進入控制鍵時會發生。

(繼承來源 Control)
MouseHover

當滑鼠指標放在控制器上時會發生。

(繼承來源 Control)
MouseLeave

當滑鼠指標離開控制鍵時會發生。

(繼承來源 Control)
MouseMove

當滑鼠指標移到控制器上時會發生。

(繼承來源 Control)
MouseUp

當滑鼠指標放在控制器上方並放開滑鼠按鈕時,會發生這種情況。

(繼承來源 Control)
MouseWheel

當滑鼠滾輪移動時,控制器仍保持對焦。

(繼承來源 Control)
Move

當控制桿移動時會發生。

(繼承來源 Control)
PaddingChanged

發生於 Padding 屬性的值變更時。

Paint

當 被 ProgressBar 抽取時發生。

ParentChanged

當房產價值變動時 Parent 發生。

(繼承來源 Control)
PreviewKeyDown

當按鍵在該控制鍵上時,會發生在事件發生 KeyDown 前。

(繼承來源 Control)
QueryAccessibilityHelp

AccessibleObject 提供無障礙應用程式協助時,會發生這種情況。

(繼承來源 Control)
QueryContinueDrag

發生在拖放操作期間,使拖曳源判斷是否應該取消拖放操作。

(繼承來源 Control)
RegionChanged

發生於 Region 屬性的值變更時。

(繼承來源 Control)
Resize

當控制大小被調整時會發生。

(繼承來源 Control)
RightToLeftChanged

當房產價值變動時 RightToLeft 發生。

RightToLeftChanged

當房產價值變動時 RightToLeft 發生。

(繼承來源 Control)
RightToLeftLayoutChanged

當房產變更時 RightToLeftLayout 發生。

SizeChanged

當房產價值變動時 Size 發生。

(繼承來源 Control)
StyleChanged

當控制風格改變時會發生。

(繼承來源 Control)
SystemColorsChanged

當系統顏色改變時會發生。

(繼承來源 Control)
TabIndexChanged

當房產價值變動時 TabIndex 發生。

(繼承來源 Control)
TabStopChanged

當房產變更時 TabStop 發生。

TextChanged

當房產變更時 Text 發生。

Validated

當控制驗證完成時發生。

(繼承來源 Control)
Validating

當對照組進行驗證時會發生。

(繼承來源 Control)
VisibleChanged

當房產價值變動時 Visible 發生。

(繼承來源 Control)

明確介面實作

名稱 Description
IDropTarget.OnDragDrop(DragEventArgs)

引發 DragDrop 事件。

(繼承來源 Control)
IDropTarget.OnDragEnter(DragEventArgs)

引發 DragEnter 事件。

(繼承來源 Control)
IDropTarget.OnDragLeave(EventArgs)

引發 DragLeave 事件。

(繼承來源 Control)
IDropTarget.OnDragOver(DragEventArgs)

引發 DragOver 事件。

(繼承來源 Control)

適用於