EventSetter Constructors
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.
Initializes a new instance of the EventSetter class.
Overloads
EventSetter() |
Initializes a new instance of the EventSetter class. |
EventSetter(RoutedEvent, Delegate) |
Initializes a new instance of the EventSetter class, using the provided event and handler parameters. |
EventSetter()
Initializes a new instance of the EventSetter class.
public:
EventSetter();
public EventSetter ();
Public Sub New ()
Applies to
EventSetter(RoutedEvent, Delegate)
Initializes a new instance of the EventSetter class, using the provided event and handler parameters.
public:
EventSetter(System::Windows::RoutedEvent ^ routedEvent, Delegate ^ handler);
public EventSetter (System.Windows.RoutedEvent routedEvent, Delegate handler);
new System.Windows.EventSetter : System.Windows.RoutedEvent * Delegate -> System.Windows.EventSetter
Public Sub New (routedEvent As RoutedEvent, handler As Delegate)
Parameters
- routedEvent
- RoutedEvent
The particular routed event that the EventSetter responds to.
- handler
- Delegate
The handler to assign in this setter.
Remarks
This signature is typically used if you creating an EventSetter in code, or in code-behind to create an EventSetter that augments an existing style prior to use.
Applies to
Σχόλια
https://aka.ms/ContentUserFeedback.
Σύντομα διαθέσιμα: Καθ' όλη τη διάρκεια του 2024 θα καταργήσουμε σταδιακά τα ζητήματα GitHub ως μηχανισμό ανάδρασης για το περιεχόμενο και θα το αντικαταστήσουμε με ένα νέο σύστημα ανάδρασης. Για περισσότερες πληροφορίες, ανατρέξτε στο θέμα:Υποβολή και προβολή σχολίων για