ContentElement.IsKeyboardFocusWithin Özellik
Tanım
Klavye odağının öğe veya alt öğeler içinde herhangi bir yerde olup olmadığını gösteren bir değer alır.Gets a value that indicates whether keyboard focus is anywhere within the element or child elements.
public:
property bool IsKeyboardFocusWithin { bool get(); };
public bool IsKeyboardFocusWithin { get; }
member this.IsKeyboardFocusWithin : bool
Public ReadOnly Property IsKeyboardFocusWithin As Boolean
Özellik Değeri
true
klavye odağı öğe veya onun alt öğeleri üzerinde ise, Aksi takdirde, false
.true
if keyboard focus is on the element or its child elements; otherwise, false
. Varsayılan değer: false
.The default is false
.
Uygulamalar
Açıklamalar
IsKeyboardFocusWithinChangedTüretilmiş bir sınıf olayı bastırmak için geçersiz kılınmadığı müddetçe, bu özelliğin değerindeki değişiklikler genellikle olayı yükseltir OnIsKeyboardFocusWithinChanged .Changes to the value of this property typically raise the IsKeyboardFocusWithinChanged event, unless a derived class has overridden OnIsKeyboardFocusWithinChanged to suppress the event.
Bu özelliği doğrudan ayarlamayın, ancak çağırarak Focus veya bir istek yaparak odağı öğesine ayarlayabilirsiniz MoveFocus .You do not set this property directly, but you can set the focus to the element by calling Focus, or by making a MoveFocus request. Bu yöntem çağrılarından herhangi biri bu özellik değerini değiştirebilir.Either of these method calls might change this property value.
Bağımlılık Özelliği BilgileriDependency Property Information
Tanımlayıcı alanıIdentifier field | IsKeyboardFocusWithinProperty |
Meta veri özellikleri olarak ayarlandı true Metadata properties set to true |
YokNone |