ToolTipService.ShowDuration 연결된 속성

정의

도구 설명이 표시된 상태로 유지되는 시간을 가져오거나 설정합니다.

see GetShowDuration, and SetShowDuration
see GetShowDuration, and SetShowDuration
see GetShowDuration, and SetShowDuration

예외

InitialShowDelay 속성의 값이 0보다 작습니다.

예제

다음 예제에서는 설정 하는 방법을 보여 있습니다는 ShowDuration 도구 설명에 대 한 속성입니다.

<Ellipse Height="25" Width="50" 
      Fill="Gray" 
      HorizontalAlignment="Left"
      ToolTipService.InitialShowDelay="1000"
      ToolTipService.ShowDuration="7000"
      ToolTipService.BetweenShowDelay="2000"
      ToolTipService.Placement="Right" 
      ToolTipService.PlacementRectangle="50,0,0,0"
      ToolTipService.HorizontalOffset="10" 
      ToolTipService.VerticalOffset="20"
      ToolTipService.HasDropShadow="false"
      ToolTipService.ShowOnDisabled="true" 
      ToolTipService.IsEnabled="true"
      ToolTipOpening="whenToolTipOpens"
      ToolTipClosing="whenToolTipCloses"
      >
  <Ellipse.ToolTip>
    <BulletDecorator>
      <BulletDecorator.Bullet>
        <Ellipse Height="10" Width="20" Fill="Blue"/>
      </BulletDecorator.Bullet>
      <TextBlock>Uses the ToolTipService class</TextBlock>
    </BulletDecorator>
  </Ellipse.ToolTip>
</Ellipse>
ToolTipService.SetShowDuration(ellipse1, 7000);
ToolTipService.SetShowDuration(ellipse1, 7000)

설명

이 속성은 사용자가 도구 설명을 정의하는 개체 위로 마우스 포인터를 일시 중지하는 동안 도구 설명이 표시되는 시간을 정의합니다. 사용자가 개체에서 마우스 포인터를 이동하면 도구 설명이 닫힙니다.

이 속성은 연결된 속성입니다. 코드에서 이 속성의 값을 얻거나 설정하는 방법에 대한 자세한 내용은 및 SetShowDuration 메서드를 GetShowDuration 참조하세요.

종속성 속성 정보

식별자 필드 ShowDurationProperty
메타 데이터 속성 설정 true 없음

적용 대상

추가 정보