Επεξεργασία

Κοινή χρήση μέσω


XamlSetValueEventArgs.CallBase Method

Definition

When overridden in a derived class, provides a way to invoke a SetValue callback as defined on a base class of the current acting type.

public:
 virtual void CallBase();
public virtual void CallBase ();
abstract member CallBase : unit -> unit
override this.CallBase : unit -> unit
Public Overridable Sub CallBase ()

Remarks

CallBase might be invoked as part of a ReceiveMarkupExtension implementation, in cases where the implementation is expecting a particular markup extension as the primary case but wants a way to attempt alternative cases without immediately failing. This is useful for dealing with a markup extension that might itself be extensible.

The "current acting type information" is only available internally, and refers to the type of the instance where the set operation is occurring. XamlSetMarkupExtensionEventArgs and XamlSetTypeConverterEventArgs both override this method by using the internal current acting type information.

Notes to Inheritors

The default implementation is empty.

Applies to