Storyboard.GetCurrentTime 메서드

정의

CurrentTime에 대해 만들어진 ClockStoryboard을 검색합니다.

오버로드

GetCurrentTime()

CurrentTime에 대해 만들어진 ClockStoryboard을 검색합니다.

GetCurrentTime(FrameworkContentElement)

CurrentTime에 대해 만들어진 ClockStoryboard을 검색합니다.

GetCurrentTime(FrameworkElement)

CurrentTime에 대해 만들어진 ClockStoryboard을 검색합니다.

GetCurrentTime()

CurrentTime에 대해 만들어진 ClockStoryboard을 검색합니다.

public:
 TimeSpan GetCurrentTime();
public TimeSpan GetCurrentTime ();
member this.GetCurrentTime : unit -> TimeSpan
Public Function GetCurrentTime () As TimeSpan

반환

TimeSpan

이 Storyboard의 Clock이 Stopped이면 null이고, 그렇지 않으면 Storyboard Clock의 현재 시간입니다.

설명

스토리 보드의 클록에 대 한 정보를 검색 하려면이 메서드를 사용 하려면 스토리 보드 제어 가능 해야 합니다. 스토리 보드를 코드에서 제어할 수 있도록 해당 스토리 보드의 오버 로드를 사용 해야 합니다 Begin 메서드를 지정 하 고 true 제어할 수 있도록 합니다. 예를 들어 참조 방법:는 Storyboard를 시작한 후 제어입니다.

추가 정보

적용 대상

GetCurrentTime(FrameworkContentElement)

CurrentTime에 대해 만들어진 ClockStoryboard을 검색합니다.

public:
 Nullable<TimeSpan> GetCurrentTime(System::Windows::FrameworkContentElement ^ containingObject);
public TimeSpan? GetCurrentTime (System.Windows.FrameworkContentElement containingObject);
member this.GetCurrentTime : System.Windows.FrameworkContentElement -> Nullable<TimeSpan>
Public Function GetCurrentTime (containingObject As FrameworkContentElement) As Nullable(Of TimeSpan)

매개 변수

containingObject
FrameworkContentElement

Begin(FrameworkContentElement, Boolean) 메서드가 호출되었을 때 지정된 개체입니다. 이 개체에는 이 스토리보드 및 해당 자식에 대해 생성된 Clock 개체가 포함됩니다.

반환

Nullable<TimeSpan>

이 Storyboard의 Clock이 Stopped이면 null이고, 그렇지 않으면 Storyboard Clock의 현재 시간입니다.

설명

스토리 보드의 클록에 대 한 정보를 검색 하려면이 메서드를 사용 하려면 스토리 보드 제어 가능 해야 합니다. 스토리 보드를 코드에서 제어할 수 있도록 해당 스토리 보드의 오버 로드를 사용 해야 합니다 Begin 메서드를 지정 하 고 true 제어할 수 있도록 합니다. 예를 들어 참조 방법:는 Storyboard를 시작한 후 제어입니다.

추가 정보

적용 대상

GetCurrentTime(FrameworkElement)

CurrentTime에 대해 만들어진 ClockStoryboard을 검색합니다.

public:
 Nullable<TimeSpan> GetCurrentTime(System::Windows::FrameworkElement ^ containingObject);
public TimeSpan? GetCurrentTime (System.Windows.FrameworkElement containingObject);
member this.GetCurrentTime : System.Windows.FrameworkElement -> Nullable<TimeSpan>
Public Function GetCurrentTime (containingObject As FrameworkElement) As Nullable(Of TimeSpan)

매개 변수

containingObject
FrameworkElement

Begin(FrameworkElement, Boolean) 메서드가 호출되었을 때 지정된 개체입니다. 이 개체에는 이 스토리보드 및 해당 자식에 대해 생성된 Clock 개체가 포함됩니다.

반환

Nullable<TimeSpan>

이 Storyboard의 Clock이 Stopped이면 null이고, 그렇지 않으면 Storyboard Clock의 현재 시간입니다.

설명

스토리 보드의 클록에 대 한 정보를 검색 하려면이 메서드를 사용 하려면 스토리 보드 제어 가능 해야 합니다. 스토리 보드를 코드에서 제어할 수 있도록 해당 스토리 보드의 오버 로드를 사용 해야 합니다 Begin 메서드를 지정 하 고 true 제어할 수 있도록 합니다. 예를 들어 참조 방법:는 Storyboard를 시작한 후 제어입니다.

추가 정보

적용 대상