KeyEventArgs.IsRepeat Özellik
Tanım
Önemli
Bazı bilgiler ürünün ön sürümüyle ilgilidir ve sürüm öncesinde önemli değişiklikler yapılmış olabilir. Burada verilen bilgilerle ilgili olarak Microsoft açık veya zımni hiçbir garanti vermez.
Olay tarafından başvuruda bulunilen klavye tuşunun yinelenen bir tuş olup olmadığını gösteren bir değer alır.
public:
property bool IsRepeat { bool get(); };
public bool IsRepeat { get; }
member this.IsRepeat : bool
Public ReadOnly Property IsRepeat As Boolean
Özellik Değeri
true
anahtar yinelenirse; aksi takdirde , false
. Varsayılan değer yoktur.
Örnekler
Aşağıdaki örnek, özelliğinin durumunu alarak bir örneğiyle KeyEventArgs ilişkili anahtarın IsRepeat yinelenen bir anahtar olup olmadığını denetler.
// e is an instance of KeyEventArgs.
// btnIsRepeat is a Button.
if (e.IsRepeat)
{
btnIsRepeat.Background = Brushes.AliceBlue;
}
' e is an instance of KeyEventArgs.
' btnIsRepeat is a Button.
If e.IsRepeat Then
btnIsRepeat.Background = Brushes.AliceBlue
End If
Şunlara uygulanır
Ayrıca bkz.
GitHub'da bizimle işbirliği yapın
Bu içeriğin kaynağı GitHub'da bulunabilir; burada ayrıca sorunları ve çekme isteklerini oluşturup gözden geçirebilirsiniz. Daha fazla bilgi için katkıda bulunan kılavuzumuzu inceleyin.