Storyboard.GetIsPaused 方法

定義

擷取值,這個值指出為這個 Clock 所建立的 Storyboard 是否已暫停。

多載

GetIsPaused()

擷取值,這個值指出為這個 Clock 所建立的 Storyboard 是否已暫停。

GetIsPaused(FrameworkContentElement)

擷取值,這個值指出為這個 Clock 所建立的 Storyboard 是否已暫停。

GetIsPaused(FrameworkElement)

擷取值,這個值指出為這個 Clock 所建立的 Storyboard 是否已暫停。

GetIsPaused()

擷取值,這個值指出為這個 Clock 所建立的 Storyboard 是否已暫停。

public:
 bool GetIsPaused();
public bool GetIsPaused ();
member this.GetIsPaused : unit -> bool
Public Function GetIsPaused () As Boolean

傳回

如果暫停之前為這個 Clock 建立的 Storyboard 則為 true,否則為 false

備註

若要使用這個方法來擷取分鏡腳本時鐘的相關資訊,腳本必須可控制。 若要在程式碼中控制分鏡腳本,您必須使用分鏡腳本方法的適當 Begin 多載,並指定 true 使其可控制。 如需範例,請參閱 如何:在腳本啟動時控制分鏡腳本

另請參閱

適用於

GetIsPaused(FrameworkContentElement)

擷取值,這個值指出為這個 Clock 所建立的 Storyboard 是否已暫停。

public:
 bool GetIsPaused(System::Windows::FrameworkContentElement ^ containingObject);
public bool GetIsPaused (System.Windows.FrameworkContentElement containingObject);
member this.GetIsPaused : System.Windows.FrameworkContentElement -> bool
Public Function GetIsPaused (containingObject As FrameworkContentElement) As Boolean

參數

containingObject
FrameworkContentElement

呼叫 Begin(FrameworkContentElement, Boolean) 方法時指定的物件。 此物件包含為這個腳本和其子系所建立的 Clock 物件。

傳回

如果暫停之前為這個 Clock 建立的 Storyboard 則為 true,否則為 false

備註

若要使用這個方法來擷取分鏡腳本時鐘的相關資訊,腳本必須可控制。 若要在程式碼中控制分鏡腳本,您必須使用分鏡腳本方法的適當 Begin 多載,並指定 true 使其可控制。 如需範例,請參閱 如何:在腳本啟動時控制分鏡腳本

另請參閱

適用於

GetIsPaused(FrameworkElement)

擷取值,這個值指出為這個 Clock 所建立的 Storyboard 是否已暫停。

public:
 bool GetIsPaused(System::Windows::FrameworkElement ^ containingObject);
public bool GetIsPaused (System.Windows.FrameworkElement containingObject);
member this.GetIsPaused : System.Windows.FrameworkElement -> bool
Public Function GetIsPaused (containingObject As FrameworkElement) As Boolean

參數

containingObject
FrameworkElement

呼叫 Begin(FrameworkElement, Boolean) 方法時指定的物件。 此物件包含為這個腳本和其子系所建立的 Clock 物件。

傳回

如果暫停之前為這個 Clock 建立的 Storyboard 則為 true,否則為 false

備註

若要使用這個方法來擷取分鏡腳本時鐘的相關資訊,腳本必須可控制。 若要在程式碼中控制分鏡腳本,您必須使用分鏡腳本方法的適當 Begin 多載,並指定 true 使其可控制。 如需範例,請參閱 如何:在腳本啟動時控制分鏡腳本

另請參閱

適用於