ContentElement.IsEnabledCore Eigenschaft
Definition
protected:
virtual property bool IsEnabledCore { bool get(); };
protected virtual bool IsEnabledCore { get; }
member this.IsEnabledCore : bool
Protected Overridable ReadOnly Property IsEnabledCore As Boolean
Eigenschaftswert
true
, wenn das Element aktiviert ist, andernfalls false
.true
if the element is enabled; otherwise, false
.
Hinweise
Hinweise für VererberNotes to inheritors
Die Standard Implementierung dieser Eigenschaft speichert den Wert zwischen und berechnet auch, ob das übergeordnete Element dieses Elements aktiviert ist.The default implementation of this property caches the value and also calculates whether the parent element of this element is enabled. Wenn das übergeordnete Element nicht aktiviert ist, kann das untergeordnete Element nicht effektiv in praktischer Benutzeroberfläche aktiviert werden.If the parent is not enabled, the child element cannot be effectively enabled in practical user interface. Wenn Sie diese Implementierung außer Kraft setzen möchten, stellen Sie sicher, dass Sie die Basis Implementierung zum Beibehalten dieses Verhaltens aufzurufen.If you choose to override this implementation, make certain that you call the base implementation to preserve this behavior.