VisualTransition.GeneratedDuration 속성

정의

한 상태에서 다른 상태로 전환하는 데 소요되는 시간을 가져오거나 설정합니다.

public:
 property System::Windows::Duration GeneratedDuration { System::Windows::Duration get(); void set(System::Windows::Duration value); };
[System.ComponentModel.TypeConverter(typeof(System.Windows.DurationConverter))]
public System.Windows.Duration GeneratedDuration { get; set; }
[<System.ComponentModel.TypeConverter(typeof(System.Windows.DurationConverter))>]
member this.GeneratedDuration : System.Windows.Duration with get, set
Public Property GeneratedDuration As Duration

속성 값

한 상태에서 다른 상태로 전환하는 데 소요되는 시간입니다.

특성

예제

다음 예제에서는 컨트롤 0.5 초가로 이동 하는 지정 된 MouseOver 상태입니다. 전체 예제를 보려면 ControlTemplate을 만들어 기존 컨트롤의 모양 사용자 지정합니다.

<!--Take one half second to trasition to the MouseOver state.-->
<VisualTransition To="MouseOver" 
                  GeneratedDuration="0:0:0.5" />

설명

전환 하는 걸리는 시간을 설정 하 여 지정할 수 있습니다는 GeneratedDuration 속성입니다. 설정 하는 경우는 GeneratedDuration 속성인 전환이 발생 하는 데 걸리는 시간을 지정 하는 합니다.

적용 대상