C# Class Illusion.Message

Host's attached properties related to routed UI messaging.
Exibir arquivo Open project: kasicass/kasicass

Public Properties

Property Type Description
AttachProperty System.Windows.DependencyProperty

Public Methods

Method Description
GetAttach ( DependencyObject d ) : string

Gets the attached triggers and messages.

GetHandler ( DependencyObject d ) : object

Gets the message handler for this element.

SetAttach ( DependencyObject d, string attachText ) : void

Sets the attached triggers and messages.

SetHandler ( DependencyObject d, object value ) : void

Places a message handler on this element.

Private Methods

Method Description
OnAttachChanged ( DependencyObject d, System.Windows.DependencyPropertyChangedEventArgs e ) : void

Method Details

GetAttach() public static method

Gets the attached triggers and messages.
public static GetAttach ( DependencyObject d ) : string
d System.Windows.DependencyObject The element that was attached to.
return string

GetHandler() public static method

Gets the message handler for this element.
public static GetHandler ( DependencyObject d ) : object
d System.Windows.DependencyObject The element.
return object

SetAttach() public static method

Sets the attached triggers and messages.
public static SetAttach ( DependencyObject d, string attachText ) : void
d System.Windows.DependencyObject The element to attach to.
attachText string The parsable attachment text.
return void

SetHandler() public static method

Places a message handler on this element.
public static SetHandler ( DependencyObject d, object value ) : void
d System.Windows.DependencyObject The element.
value object The message handler.
return void

Property Details

AttachProperty public_oe static_oe property

A property definition representing attached triggers and messages.
public static DependencyProperty,System.Windows AttachProperty
return System.Windows.DependencyProperty