TextBoxBase.CanRedo 속성

정의

가장 최근의 실행 취소 작업을 다시 실행할 수 있는지 여부를 나타내는 값을 가져옵니다.

public:
 property bool CanRedo { bool get(); };
public bool CanRedo { get; }
member this.CanRedo : bool
Public ReadOnly Property CanRedo As Boolean

속성 값

Boolean

가장 최근의 실행 취소 작업을 다시 실행할 수 있으면 true이고, 그렇지 않으면 false입니다.

이 속성에는 기본값이 없습니다.

예제

다음 코드 예제에서는 속성을 사용 하 여 CanRedo 가장 최근의 실행 취소 작업을 다시 실행할 수 있는지 여부를 확인 하는 방법을 보여 줍니다.

private void redoAction(object sender, RoutedEventArgs e)
{
    if (myTextBox.CanRedo == true)
    {
        myTextBox.Redo();
    }
}
Private Sub redoAction(ByVal sender As Object, ByVal e As RoutedEventArgs)

    If myTextBox.CanRedo = True Then
        myTextBox.Redo()
    Else : Return
    End If
End Sub

적용 대상

추가 정보