C# 클래스 Dev2.Studio.Dock.UiElementHelper

Static class for dealing with UIElement related members.
파일 보기 프로젝트 열기: Warewolf-ESB/Warewolf 1 사용 예제들

공개 메소드들

메소드 설명
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