C# Class Dev2.Studio.Dock.UiElementHelper

Static class for dealing with UIElement related members.
Afficher le fichier Open project: Warewolf-ESB/Warewolf Class Usage Examples

Méthodes publiques

Méthode Description
AddHandler ( DependencyObject element, System.Windows.RoutedEvent routedEvent, Delegate handler ) : void

Adds a handler for the specified event on the specified element

RaiseEvent ( DependencyObject element, RoutedEventArgs e ) : void

Raises an event for the specified event arguments on the specified element

RemoveHandler ( DependencyObject element, System.Windows.RoutedEvent routedEvent, Delegate handler ) : void

Removes a handler for the specified event on the specified element

Method Details

AddHandler() public static méthode

Adds a handler for the specified event on the specified element
public static AddHandler ( DependencyObject element, System.Windows.RoutedEvent routedEvent, Delegate handler ) : void
element System.Windows.DependencyObject The element that listens to the event
routedEvent System.Windows.RoutedEvent The event to listen for
handler System.Delegate The delegate to add
Résultat void

RaiseEvent() public static méthode

Raises an event for the specified event arguments on the specified element
public static RaiseEvent ( DependencyObject element, RoutedEventArgs e ) : void
element System.Windows.DependencyObject The element that listens to the event
e System.Windows.RoutedEventArgs The arguments for the routed event to be raised
Résultat void

RemoveHandler() public static méthode

Removes a handler for the specified event on the specified element
public static RemoveHandler ( DependencyObject element, System.Windows.RoutedEvent routedEvent, Delegate handler ) : void
element System.Windows.DependencyObject The element that listens to the event
routedEvent System.Windows.RoutedEvent The event to unhook from
handler System.Delegate The delegate to remove
Résultat void