C# Класс Dev2.Studio.Dock.UiElementHelper

Static class for dealing with UIElement related members.
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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

Описание методов

AddHandler() публичный статический Метод

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
Результат void

RaiseEvent() публичный статический Метод

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
Результат void

RemoveHandler() публичный статический Метод

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
Результат void