PropertyMetadata.OnApply(DependencyProperty, Type) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Provides processing when this PropertyMetadata is applied to a dependency property.
protected:
virtual void OnApply(System::Workflow::ComponentModel::DependencyProperty ^ dependencyProperty, Type ^ targetType);
protected virtual void OnApply (System.Workflow.ComponentModel.DependencyProperty dependencyProperty, Type targetType);
abstract member OnApply : System.Workflow.ComponentModel.DependencyProperty * Type -> unit
override this.OnApply : System.Workflow.ComponentModel.DependencyProperty * Type -> unit
Protected Overridable Sub OnApply (dependencyProperty As DependencyProperty, targetType As Type)
Parameters
- dependencyProperty
- DependencyProperty
The DependencyProperty to which this PropertyMetadata has been applied.
- targetType
- Type
The type associated with this metadata if this instance is type-specific metadata. If this is default metadata, this value is a null reference (Nothing
in Visual Basic).
Remarks
Sends notification that this metadata has been applied to a property, and the metadata is being sealed. This routine is no-op in this implementation.
Applies to
Σχόλια
https://aka.ms/ContentUserFeedback.
Σύντομα διαθέσιμα: Καθ' όλη τη διάρκεια του 2024 θα καταργήσουμε σταδιακά τα ζητήματα GitHub ως μηχανισμό ανάδρασης για το περιεχόμενο και θα το αντικαταστήσουμε με ένα νέο σύστημα ανάδρασης. Για περισσότερες πληροφορίες, ανατρέξτε στο θέμα:Υποβολή και προβολή σχολίων για