ScrollViewer.IsDeferredScrollingEnabled 속성

정의

사용자가 ThumbScrollBar을 끌 때 콘텐츠가 고정되는지 여부를 나타내는 값을 가져오거나 설정합니다.

public:
 property bool IsDeferredScrollingEnabled { bool get(); void set(bool value); };
public bool IsDeferredScrollingEnabled { get; set; }
member this.IsDeferredScrollingEnabled : bool with get, set
Public Property IsDeferredScrollingEnabled As Boolean

속성 값

Boolean

사용자가 ThumbScrollBar을 끌 때 콘텐츠가 고정되면 true이고, 그렇지 않으면 false입니다.

예제

다음 예제에서는 속성이 ScrollViewer .로 설정된 것을 IsDeferredScrollingEnabled 보여 줄 수 있습니다 true.

<ScrollViewer Grid.Column="0" Grid.Row="0"  Height="200" Name="sv1"  IsDeferredScrollingEnabled="true">
    <StackPanel>
    <TextBlock Text="1" Height="50"/>
    <TextBlock Text="2" Height="50"/>
    <TextBlock Text="3" Height="50"/>
    <TextBlock Text="4" Height="50"/>
    <TextBlock Text="5" Height="50"/>
    <TextBlock Text="6" Height="50"/>
    <TextBlock Text="7" Height="50"/>
    <TextBlock Text="8" Height="50"/>
    <TextBlock Text="9" Height="50"/>
    <TextBlock Text="10" Height="50"/>
    </StackPanel>
</ScrollViewer>

설명

많은 수의 항목을 표시 하면 성능 문제가 발생할 수 있습니다. 이 경우 지연 스크롤을 사용하는 것이 유용할 수 있습니다. 자세한 내용은 성능 최적화: 컨트롤을 참조하세요.

이 속성은 인스턴스 속성 및 연결된 속성으로 사용할 수 있습니다.

적용 대상