# HG changeset patch # User Steven Hollidge # Date 1335219621 -3600 # Node ID 352ecaa4fcfdc3d3f2aa112ed7fb88dd45111412 # Parent 4ea16a799a03ef1da40d9a9d67363e1a0bb47bac remove sharpnel diff -r 4ea16a799a03 -r 352ecaa4fcfd SilverlightGlimpse/Libs/GalaSoft.MvvmLight.SL5.XML --- a/SilverlightGlimpse/Libs/GalaSoft.MvvmLight.SL5.XML Mon Apr 23 23:20:01 2012 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,1628 +0,0 @@ - - - - GalaSoft.MvvmLight.SL5 - - - - - A generic command whose sole purpose is to relay its functionality to other - objects by invoking delegates. The default return value for the CanExecute - method is 'true'. This class allows you to accept command parameters in the - Execute and CanExecute callback methods. - - The type of the command parameter. - - - - Initializes a new instance of the RelayCommand class that - can always execute. - - The execution logic. - If the execute argument is null. - - - - Initializes a new instance of the RelayCommand class. - - The execution logic. - The execution status logic. - If the execute argument is null. - - - - Raises the event. - - - - - Defines the method that determines whether the command can execute in its current state. - - Data used by the command. If the command does not require data - to be passed, this object can be set to a null reference - true if this command can be executed; otherwise, false. - - - - Defines the method to be called when the command is invoked. - - Data used by the command. If the command does not require data - to be passed, this object can be set to a null reference - - - - Occurs when changes occur that affect whether the command should execute. - - - - - A base class for objects of which the properties must be observable. - - - - - Verifies that a property name exists in this ViewModel. This method - can be called before the property is used, for instance before - calling RaisePropertyChanged. It avoids errors when a property name - is changed but some places are missed. - This method is only active in DEBUG mode. - - - - - - Raises the PropertyChanging event if needed. - - If the propertyName parameter - does not correspond to an existing property on the current class, an - exception is thrown in DEBUG configuration only. - The name of the property that - changed. - - - - Raises the PropertyChanged event if needed. - - If the propertyName parameter - does not correspond to an existing property on the current class, an - exception is thrown in DEBUG configuration only. - The name of the property that - changed. - - - - Raises the PropertyChanging event if needed. - - The type of the property that - changes. - An expression identifying the property - that changes. - - - - Raises the PropertyChanged event if needed. - - The type of the property that - changed. - An expression identifying the property - that changed. - - - - Extracts the name of a property from an expression. - - The type of the property. - An expression returning the property's name. - The name of the property returned by the expression. - If the expression is null. - If the expression does not represent a property. - - - - Assigns a new value to the property. Then, raises the - PropertyChanged event if needed. - - The type of the property that - changed. - An expression identifying the property - that changed. - The field storing the property's value. - The property's value after the change - occurred. - True if the PropertyChanged event has been raised, - false otherwise. The event is not raised if the old - value is equal to the new value. - - - - Assigns a new value to the property. Then, raises the - PropertyChanged event if needed. - - The type of the property that - changed. - The name of the property that - changed. - The field storing the property's value. - The property's value after the change - occurred. - True if the PropertyChanged event has been raised, - false otherwise. The event is not raised if the old - value is equal to the new value. - - - - Occurs after a property value changes. - - - - - Occurs before a property value changes. - - - - - Provides access to the PropertyChanged event handler to derived classes. - - - - - Provides access to the PropertyChanging event handler to derived classes. - - - - - Provides a message class with a built-in callback. When the recipient - is done processing the message, it can execute the callback to - notify the sender that it is done. Use the - method to execute the callback. The callback method has one parameter. - and - . - - - - - Passes a string message (Notification) to a recipient. - Typically, notifications are defined as unique strings in a static class. To define - a unique string, you can use Guid.NewGuid().ToString() or any other unique - identifier. - - - - - Base class for all messages broadcasted by the Messenger. - You can create your own message types by extending this class. - - - - - Initializes a new instance of the MessageBase class. - - - - - Initializes a new instance of the MessageBase class. - - The message's original sender. - - - - Initializes a new instance of the MessageBase class. - - The message's original sender. - The message's intended target. This parameter can be used - to give an indication as to whom the message was intended for. Of course - this is only an indication, amd may be null. - - - - Gets or sets the message's sender. - - - - - Gets or sets the message's intended target. This property can be used - to give an indication as to whom the message was intended for. Of course - this is only an indication, amd may be null. - - - - - Initializes a new instance of the NotificationMessage class. - - A string containing any arbitrary message to be - passed to recipient(s) - - - - Initializes a new instance of the NotificationMessage class. - - The message's sender. - A string containing any arbitrary message to be - passed to recipient(s) - - - - Initializes a new instance of the NotificationMessage class. - - The message's sender. - The message's intended target. This parameter can be used - to give an indication as to whom the message was intended for. Of course - this is only an indication, amd may be null. - A string containing any arbitrary message to be - passed to recipient(s) - - - - Gets a string containing any arbitrary message to be - passed to recipient(s). - - - - - Initializes a new instance of the class. - - An arbitrary string that will be - carried by the message. - The callback method that can be executed - by the recipient to notify the sender that the message has been - processed. - - - - Initializes a new instance of the class. - - The message's sender. - An arbitrary string that will be - carried by the message. - The callback method that can be executed - by the recipient to notify the sender that the message has been - processed. - - - - Initializes a new instance of the class. - - The message's sender. - The message's intended target. This parameter can be used - to give an indication as to whom the message was intended for. Of course - this is only an indication, amd may be null. - An arbitrary string that will be - carried by the message. - The callback method that can be executed - by the recipient to notify the sender that the message has been - processed. - - - - Executes the callback that was provided with the message with an - arbitrary number of parameters. - - A number of parameters that will - be passed to the callback method. - The object returned by the callback method. - - - - Provides a message class with a built-in callback. When the recipient - is done processing the message, it can execute the callback to - notify the sender that it is done. Use the - method to execute the callback. - - - - - Initializes a new instance of the - class. - - An arbitrary string that will be - carried by the message. - The callback method that can be executed - by the recipient to notify the sender that the message has been - processed. - - - - Initializes a new instance of the - class. - - The message's sender. - An arbitrary string that will be - carried by the message. - The callback method that can be executed - by the recipient to notify the sender that the message has been - processed. - - - - Initializes a new instance of the - class. - - The message's sender. - The message's intended target. This parameter can be used - to give an indication as to whom the message was intended for. Of course - this is only an indication, amd may be null. - An arbitrary string that will be - carried by the message. - The callback method that can be executed - by the recipient to notify the sender that the message has been - processed. - - - - Executes the callback that was provided with the message. - - - - - Basis class for the class. This - class allows a recipient to register for all PropertyChangedMessages without - having to specify the type T. - - - - - Initializes a new instance of the class. - - The message's sender. - The name of the property that changed. - - - - Initializes a new instance of the class. - - The message's sender. - The message's intended target. This parameter can be used - to give an indication as to whom the message was intended for. Of course - this is only an indication, amd may be null. - The name of the property that changed. - - - - Initializes a new instance of the class. - - The name of the property that changed. - - - - Gets or sets the name of the property that changed. - - - - - Stores an without causing a hard reference - to be created to the Action's owner. The owner can be garbage collected at any time. - - - - - Initializes an empty instance of the class. - - - - - Initializes a new instance of the class. - - The action that will be associated to this instance. - - - - Initializes a new instance of the class. - - The action's owner. - The action that will be associated to this instance. - - - - Executes the action. This only happens if the action's owner - is still alive. - - - - - Sets the reference that this instance stores to null. - - - - - Gets or sets the corresponding to this WeakAction's - method passed in the constructor. - - - - - Gets the name of the method that this WeakAction represents. - - - - - Gets or sets a WeakReference to this WeakAction's action's target. - This is not necessarily the same as - , for example if the - method is anonymous. - - - - - Gets or sets a WeakReference to the target passed when constructing - the WeakAction. This is not necessarily the same as - , for example if the - method is anonymous. - - - - - Gets a value indicating whether the Action's owner is still alive, or if it was collected - by the Garbage Collector already. - - - - - Gets the Action's owner. This object is stored as a - . - - - - - - - - - - Passes a string message (Notification) and a generic value (Content) to a recipient. - - The type of the Content property. - - - - Passes a generic value (Content) to a recipient. - - The type of the Content property. - - - - Initializes a new instance of the GenericMessage class. - - The message content. - - - - Initializes a new instance of the GenericMessage class. - - The message's sender. - The message content. - - - - Initializes a new instance of the GenericMessage class. - - The message's sender. - The message's intended target. This parameter can be used - to give an indication as to whom the message was intended for. Of course - this is only an indication, amd may be null. - The message content. - - - - Gets or sets the message's content. - - - - - Initializes a new instance of the NotificationMessage class. - - A value to be passed to recipient(s). - A string containing any arbitrary message to be - passed to recipient(s) - - - - Initializes a new instance of the NotificationMessage class. - - The message's sender. - A value to be passed to recipient(s). - A string containing any arbitrary message to be - passed to recipient(s) - - - - Initializes a new instance of the NotificationMessage class. - - The message's sender. - The message's intended target. This parameter can be used - to give an indication as to whom the message was intended for. Of course - this is only an indication, amd may be null. - A value to be passed to recipient(s). - A string containing any arbitrary message to be - passed to recipient(s) - - - - Gets a string containing any arbitrary message to be - passed to recipient(s). - - - - - The Messenger is a class allowing objects to exchange messages. - - - - - The Messenger is a class allowing objects to exchange messages. - - - - - Registers a recipient for a type of message TMessage. The action - parameter will be executed when a corresponding message is sent. - Registering a recipient does not create a hard reference to it, - so if this recipient is deleted, no memory leak is caused. - - The type of message that the recipient registers - for. - The recipient that will receive the messages. - The action that will be executed when a message - of type TMessage is sent. - - - - Registers a recipient for a type of message TMessage. - The action parameter will be executed when a corresponding - message is sent. See the receiveDerivedMessagesToo parameter - for details on how messages deriving from TMessage (or, if TMessage is an interface, - messages implementing TMessage) can be received too. - Registering a recipient does not create a hard reference to it, - so if this recipient is deleted, no memory leak is caused. - - The type of message that the recipient registers - for. - The recipient that will receive the messages. - A token for a messaging channel. If a recipient registers - using a token, and a sender sends a message using the same token, then this - message will be delivered to the recipient. Other recipients who did not - use a token when registering (or who used a different token) will not - get the message. Similarly, messages sent without any token, or with a different - token, will not be delivered to that recipient. - The action that will be executed when a message - of type TMessage is sent. - - - - Registers a recipient for a type of message TMessage. - The action parameter will be executed when a corresponding - message is sent. See the receiveDerivedMessagesToo parameter - for details on how messages deriving from TMessage (or, if TMessage is an interface, - messages implementing TMessage) can be received too. - Registering a recipient does not create a hard reference to it, - so if this recipient is deleted, no memory leak is caused. - - The type of message that the recipient registers - for. - The recipient that will receive the messages. - A token for a messaging channel. If a recipient registers - using a token, and a sender sends a message using the same token, then this - message will be delivered to the recipient. Other recipients who did not - use a token when registering (or who used a different token) will not - get the message. Similarly, messages sent without any token, or with a different - token, will not be delivered to that recipient. - If true, message types deriving from - TMessage will also be transmitted to the recipient. For example, if a SendOrderMessage - and an ExecuteOrderMessage derive from OrderMessage, registering for OrderMessage - and setting receiveDerivedMessagesToo to true will send SendOrderMessage - and ExecuteOrderMessage to the recipient that registered. - Also, if TMessage is an interface, message types implementing TMessage will also be - transmitted to the recipient. For example, if a SendOrderMessage - and an ExecuteOrderMessage implement IOrderMessage, registering for IOrderMessage - and setting receiveDerivedMessagesToo to true will send SendOrderMessage - and ExecuteOrderMessage to the recipient that registered. - - The action that will be executed when a message - of type TMessage is sent. - - - - Registers a recipient for a type of message TMessage. - The action parameter will be executed when a corresponding - message is sent. See the receiveDerivedMessagesToo parameter - for details on how messages deriving from TMessage (or, if TMessage is an interface, - messages implementing TMessage) can be received too. - Registering a recipient does not create a hard reference to it, - so if this recipient is deleted, no memory leak is caused. - - The type of message that the recipient registers - for. - The recipient that will receive the messages. - If true, message types deriving from - TMessage will also be transmitted to the recipient. For example, if a SendOrderMessage - and an ExecuteOrderMessage derive from OrderMessage, registering for OrderMessage - and setting receiveDerivedMessagesToo to true will send SendOrderMessage - and ExecuteOrderMessage to the recipient that registered. - Also, if TMessage is an interface, message types implementing TMessage will also be - transmitted to the recipient. For example, if a SendOrderMessage - and an ExecuteOrderMessage implement IOrderMessage, registering for IOrderMessage - and setting receiveDerivedMessagesToo to true will send SendOrderMessage - and ExecuteOrderMessage to the recipient that registered. - - The action that will be executed when a message - of type TMessage is sent. - - - - Sends a message to registered recipients. The message will - reach all recipients that registered for this message type - using one of the Register methods. - - The type of message that will be sent. - The message to send to registered recipients. - - - - Sends a message to registered recipients. The message will - reach only recipients that registered for this message type - using one of the Register methods, and that are - of the targetType. - - The type of message that will be sent. - The type of recipients that will receive - the message. The message won't be sent to recipients of another type. - The message to send to registered recipients. - - - - Sends a message to registered recipients. The message will - reach only recipients that registered for this message type - using one of the Register methods, and that are - of the targetType. - - The type of message that will be sent. - The message to send to registered recipients. - A token for a messaging channel. If a recipient registers - using a token, and a sender sends a message using the same token, then this - message will be delivered to the recipient. Other recipients who did not - use a token when registering (or who used a different token) will not - get the message. Similarly, messages sent without any token, or with a different - token, will not be delivered to that recipient. - - - - Unregisters a messager recipient completely. After this method - is executed, the recipient will not receive any messages anymore. - - The recipient that must be unregistered. - - - - Unregisters a message recipient for a given type of messages only. - After this method is executed, the recipient will not receive messages - of type TMessage anymore, but will still receive other message types (if it - registered for them previously). - - The type of messages that the recipient wants - to unregister from. - The recipient that must be unregistered. - - - - Unregisters a message recipient for a given type of messages only and for a given token. - After this method is executed, the recipient will not receive messages - of type TMessage anymore with the given token, but will still receive other message types - or messages with other tokens (if it registered for them previously). - - The recipient that must be unregistered. - The token for which the recipient must be unregistered. - The type of messages that the recipient wants - to unregister from. - - - - Unregisters a message recipient for a given type of messages and for - a given action. Other message types will still be transmitted to the - recipient (if it registered for them previously). Other actions that have - been registered for the message type TMessage and for the given recipient (if - available) will also remain available. - - The type of messages that the recipient wants - to unregister from. - The recipient that must be unregistered. - The action that must be unregistered for - the recipient and for the message type TMessage. - - - - Unregisters a message recipient for a given type of messages, for - a given action and a given token. Other message types will still be transmitted to the - recipient (if it registered for them previously). Other actions that have - been registered for the message type TMessage, for the given recipient and other tokens (if - available) will also remain available. - - The type of messages that the recipient wants - to unregister from. - The recipient that must be unregistered. - The token for which the recipient must be unregistered. - The action that must be unregistered for - the recipient and for the message type TMessage. - - - - Registers a recipient for a type of message TMessage. The action - parameter will be executed when a corresponding message is sent. - Registering a recipient does not create a hard reference to it, - so if this recipient is deleted, no memory leak is caused. - - The type of message that the recipient registers - for. - The recipient that will receive the messages. - The action that will be executed when a message - of type TMessage is sent. - - - - Registers a recipient for a type of message TMessage. - The action parameter will be executed when a corresponding - message is sent. See the receiveDerivedMessagesToo parameter - for details on how messages deriving from TMessage (or, if TMessage is an interface, - messages implementing TMessage) can be received too. - Registering a recipient does not create a hard reference to it, - so if this recipient is deleted, no memory leak is caused. - - The type of message that the recipient registers - for. - The recipient that will receive the messages. - If true, message types deriving from - TMessage will also be transmitted to the recipient. For example, if a SendOrderMessage - and an ExecuteOrderMessage derive from OrderMessage, registering for OrderMessage - and setting receiveDerivedMessagesToo to true will send SendOrderMessage - and ExecuteOrderMessage to the recipient that registered. - Also, if TMessage is an interface, message types implementing TMessage will also be - transmitted to the recipient. For example, if a SendOrderMessage - and an ExecuteOrderMessage implement IOrderMessage, registering for IOrderMessage - and setting receiveDerivedMessagesToo to true will send SendOrderMessage - and ExecuteOrderMessage to the recipient that registered. - - The action that will be executed when a message - of type TMessage is sent. - - - - Registers a recipient for a type of message TMessage. - The action parameter will be executed when a corresponding - message is sent. - Registering a recipient does not create a hard reference to it, - so if this recipient is deleted, no memory leak is caused. - - The type of message that the recipient registers - for. - The recipient that will receive the messages. - A token for a messaging channel. If a recipient registers - using a token, and a sender sends a message using the same token, then this - message will be delivered to the recipient. Other recipients who did not - use a token when registering (or who used a different token) will not - get the message. Similarly, messages sent without any token, or with a different - token, will not be delivered to that recipient. - The action that will be executed when a message - of type TMessage is sent. - - - - Registers a recipient for a type of message TMessage. - The action parameter will be executed when a corresponding - message is sent. See the receiveDerivedMessagesToo parameter - for details on how messages deriving from TMessage (or, if TMessage is an interface, - messages implementing TMessage) can be received too. - Registering a recipient does not create a hard reference to it, - so if this recipient is deleted, no memory leak is caused. - - The type of message that the recipient registers - for. - The recipient that will receive the messages. - A token for a messaging channel. If a recipient registers - using a token, and a sender sends a message using the same token, then this - message will be delivered to the recipient. Other recipients who did not - use a token when registering (or who used a different token) will not - get the message. Similarly, messages sent without any token, or with a different - token, will not be delivered to that recipient. - If true, message types deriving from - TMessage will also be transmitted to the recipient. For example, if a SendOrderMessage - and an ExecuteOrderMessage derive from OrderMessage, registering for OrderMessage - and setting receiveDerivedMessagesToo to true will send SendOrderMessage - and ExecuteOrderMessage to the recipient that registered. - Also, if TMessage is an interface, message types implementing TMessage will also be - transmitted to the recipient. For example, if a SendOrderMessage - and an ExecuteOrderMessage implement IOrderMessage, registering for IOrderMessage - and setting receiveDerivedMessagesToo to true will send SendOrderMessage - and ExecuteOrderMessage to the recipient that registered. - - The action that will be executed when a message - of type TMessage is sent. - - - - Sends a message to registered recipients. The message will - reach all recipients that registered for this message type - using one of the Register methods. - - The type of message that will be sent. - The message to send to registered recipients. - - - - Sends a message to registered recipients. The message will - reach only recipients that registered for this message type - using one of the Register methods, and that are - of the targetType. - - The type of message that will be sent. - The type of recipients that will receive - the message. The message won't be sent to recipients of another type. - The message to send to registered recipients. - - - - Sends a message to registered recipients. The message will - reach only recipients that registered for this message type - using one of the Register methods, and that are - of the targetType. - - The type of message that will be sent. - The message to send to registered recipients. - A token for a messaging channel. If a recipient registers - using a token, and a sender sends a message using the same token, then this - message will be delivered to the recipient. Other recipients who did not - use a token when registering (or who used a different token) will not - get the message. Similarly, messages sent without any token, or with a different - token, will not be delivered to that recipient. - - - - Unregisters a messager recipient completely. After this method - is executed, the recipient will not receive any messages anymore. - - The recipient that must be unregistered. - - - - Unregisters a message recipient for a given type of messages only. - After this method is executed, the recipient will not receive messages - of type TMessage anymore, but will still receive other message types (if it - registered for them previously). - - The recipient that must be unregistered. - The type of messages that the recipient wants - to unregister from. - - - - Unregisters a message recipient for a given type of messages only and for a given token. - After this method is executed, the recipient will not receive messages - of type TMessage anymore with the given token, but will still receive other message types - or messages with other tokens (if it registered for them previously). - - The recipient that must be unregistered. - The token for which the recipient must be unregistered. - The type of messages that the recipient wants - to unregister from. - - - - Unregisters a message recipient for a given type of messages and for - a given action. Other message types will still be transmitted to the - recipient (if it registered for them previously). Other actions that have - been registered for the message type TMessage and for the given recipient (if - available) will also remain available. - - The type of messages that the recipient wants - to unregister from. - The recipient that must be unregistered. - The action that must be unregistered for - the recipient and for the message type TMessage. - - - - Unregisters a message recipient for a given type of messages, for - a given action and a given token. Other message types will still be transmitted to the - recipient (if it registered for them previously). Other actions that have - been registered for the message type TMessage, for the given recipient and other tokens (if - available) will also remain available. - - The type of messages that the recipient wants - to unregister from. - The recipient that must be unregistered. - The token for which the recipient must be unregistered. - The action that must be unregistered for - the recipient and for the message type TMessage. - - - - Provides a way to override the Messenger.Default instance with - a custom instance, for example for unit testing purposes. - - The instance that will be used as Messenger.Default. - - - - Sets the Messenger's default (static) instance to null. - - - - - Provides a non-static access to the static method. - Sets the Messenger's default (static) instance to null. - - - - - Notifies the Messenger that the lists of recipients should - be scanned and cleaned up. - Since recipients are stored as , - recipients can be garbage collected even though the Messenger keeps - them in a list. During the cleanup operation, all "dead" - recipients are removed from the lists. Since this operation - can take a moment, it is only executed when the application is - idle. For this reason, a user of the Messenger class should use - instead of forcing one with the - method. - - - - - Scans the recipients' lists for "dead" instances and removes them. - Since recipients are stored as , - recipients can be garbage collected even though the Messenger keeps - them in a list. During the cleanup operation, all "dead" - recipients are removed from the lists. Since this operation - can take a moment, it is only executed when the application is - idle. For this reason, a user of the Messenger class should use - instead of forcing one with the - method. - - - - - Gets the Messenger's default instance, allowing - to register and send messages in a static manner. - - - - - This interface is meant for the class and can be - useful if you store multiple WeakFunc{T} instances but don't know in advance - what type T represents. - - - - - Executes a func and returns the result. - - A parameter passed as an object, - to be casted to the appropriate type. - - - - Use this class to send a message requesting to display a message box with features - corresponding to this message's properties. The Callback property should be used - to notify the message's sender about the user's choice in the message box. - Typically, you can use this message typ's recipient will be an element of the View, - and the sender will possibly be a ViewModel. - - - - - Initializes a new instance of the DialogMessage class. - - The text displayed by the message box. - A callback method that should be executed to deliver the result - of the message box to the object that sent the message. - - - - Initializes a new instance of the DialogMessage class. - - The message's original sender. - The text displayed by the message box. - A callback method that should be executed to deliver the result - of the message box to the object that sent the message. - - - - Initializes a new instance of the DialogMessage class. - - The message's original sender. - The message's intended target. This parameter can be used - to give an indication as to whom the message was intended for. Of course - this is only an indication, amd may be null. - The text displayed by the message box. - A callback method that should be executed to deliver the result - of the message box to the object that sent the message. - - - - Utility method, checks if the property is - null, and if it is not null, executes it. - - The result that must be passed - to the dialog message caller. - - - - Gets or sets the buttons displayed by the message box. - - - - - Gets a callback method that should be executed to deliver the result - of the message box to the object that sent the message. - - - - - Gets or sets the caption for the message box. - - - - - Gets or sets which result is the default in the message box. - - - - - This interface is meant for the class and can be - useful if you store multiple WeakAction{T} instances but don't know in advance - what type T represents. - - - - - Executes an action. - - A parameter passed as an object, - to be casted to the appropriate type. - - - - Deletes all references, which notifies the cleanup method - that this entry must be deleted. - - - - - The target of the WeakAction. - - - - - Stores a Func<T> without causing a hard reference - to be created to the Func's owner. The owner can be garbage collected at any time. - - - - - Initializes an empty instance of the WeakFunc class. - - - - - Initializes a new instance of the WeakFunc class. - - The func that will be associated to this instance. - - - - Initializes a new instance of the WeakFunc class. - - The func's owner. - The func that will be associated to this instance. - - - - Executes the action. This only happens if the func's owner - is still alive. - - - - - Sets the reference that this instance stores to null. - - - - - Gets or sets the corresponding to this WeakFunc's - method passed in the constructor. - - - - - Gets the name of the method that this WeakFunc represents. - - - - - Gets or sets a WeakReference to this WeakFunc's action's target. - This is not necessarily the same as - , for example if the - method is anonymous. - - - - - Gets or sets a WeakReference to the target passed when constructing - the WeakFunc. This is not necessarily the same as - , for example if the - method is anonymous. - - - - - Gets a value indicating whether the Func's owner is still alive, or if it was collected - by the Garbage Collector already. - - - - - Gets the Func's owner. This object is stored as a - . - - - - - Gets the owner of the Func that was passed as parameter. - This is not necessarily the same as - , for example if the - method is anonymous. - - - - - Provides a message class with a built-in callback. When the recipient - is done processing the message, it can execute the callback to - notify the sender that it is done. Use the - method to execute the callback. The callback method has one parameter. - . - - The type of the callback method's - only parameter. - - - - Initializes a new instance of the - class. - - An arbitrary string that will be - carried by the message. - The callback method that can be executed - by the recipient to notify the sender that the message has been - processed. - - - - Initializes a new instance of the - class. - - The message's sender. - An arbitrary string that will be - carried by the message. - The callback method that can be executed - by the recipient to notify the sender that the message has been - processed. - - - - Initializes a new instance of the - class. - - The message's sender. - The message's intended target. This parameter can be used - to give an indication as to whom the message was intended for. Of course - this is only an indication, amd may be null. - An arbitrary string that will be - carried by the message. - The callback method that can be executed - by the recipient to notify the sender that the message has been - processed. - - - - Executes the callback that was provided with the message. - - A parameter requested by the message's - sender and providing additional information on the recipient's - state. - - - - Helper class for dispatcher operations on the UI thread. - - - - - Executes an action on the UI thread. If this method is called - from the UI thread, the action is executed immendiately. If the - method is called from another thread, the action will be enqueued - on the UI thread's dispatcher and executed asynchronously. - For additional operations on the UI thread, you can get a - reference to the UI thread's dispatcher thanks to the property - . - - The action that will be executed on the UI - thread. - - - - This method should be called once on the UI thread to ensure that - the property is initialized. - In a Silverlight application, call this method in the - Application_Startup event handler, after the MainPage is constructed. - In WPF, call this method on the static App() constructor. - - - - - Gets a reference to the UI thread's dispatcher, after the - method has been called on the UI thread. - - - - - Stores an Action without causing a hard reference - to be created to the Action's owner. The owner can be garbage collected at any time. - - The type of the Action's parameter. - - - - Initializes a new instance of the WeakAction class. - - The action that will be associated to this instance. - - - - Initializes a new instance of the WeakAction class. - - The action's owner. - The action that will be associated to this instance. - - - - Executes the action. This only happens if the action's owner - is still alive. The action's parameter is set to default(T). - - - - - Executes the action. This only happens if the action's owner - is still alive. - - A parameter to be passed to the action. - - - - Executes the action with a parameter of type object. This parameter - will be casted to T. This method implements - and can be useful if you store multiple WeakAction{T} instances but don't know in advance - what type T represents. - - The parameter that will be passed to the action after - being casted to T. - - - - Sets all the actions that this WeakAction contains to null, - which is a signal for containing objects that this WeakAction - should be deleted. - - - - - Gets the name of the method that this WeakAction represents. - - - - - Gets a value indicating whether the Action's owner is still alive, or if it was collected - by the Garbage Collector already. - - - - - A base class for the ViewModel classes in the MVVM pattern. - - - - - Defines a common interface for classes that should be cleaned up, - but without the implications that IDisposable presupposes. An instance - implementing ICleanup can be cleaned up without being - disposed and garbage collected. - - - - - Cleans up the instance, for example by saving its state, - removing resources, etc... - - - - - Initializes a new instance of the ViewModelBase class. - - - - - Initializes a new instance of the ViewModelBase class. - - An instance of a - used to broadcast messages to other objects. If null, this class - will attempt to broadcast using the Messenger's default - instance. - - - - Unregisters this instance from the Messenger class. - To cleanup additional resources, override this method, clean - up and then call base.Cleanup(). - - - - - Broadcasts a PropertyChangedMessage using either the instance of - the Messenger that was passed to this class (if available) - or the Messenger's default instance. - - The type of the property that - changed. - The value of the property before it - changed. - The value of the property after it - changed. - The name of the property that - changed. - - - - Raises the PropertyChanged event if needed, and broadcasts a - PropertyChangedMessage using the Messenger instance (or the - static default instance if no Messenger instance is available). - - The type of the property that - changed. - The name of the property that - changed. - The property's value before the change - occurred. - The property's value after the change - occurred. - If true, a PropertyChangedMessage will - be broadcasted. If false, only the event will be raised. - If the propertyName parameter - does not correspond to an existing property on the current class, an - exception is thrown in DEBUG configuration only. - - - - Raises the PropertyChanged event if needed, and broadcasts a - PropertyChangedMessage using the Messenger instance (or the - static default instance if no Messenger instance is available). - - The type of the property that - changed. - An expression identifying the property - that changed. - The property's value before the change - occurred. - The property's value after the change - occurred. - If true, a PropertyChangedMessage will - be broadcasted. If false, only the event will be raised. - - - - Assigns a new value to the property. Then, raises the - PropertyChanged event if needed, and broadcasts a - PropertyChangedMessage using the Messenger instance (or the - static default instance if no Messenger instance is available). - - The type of the property that - changed. - An expression identifying the property - that changed. - The field storing the property's value. - The property's value after the change - occurred. - If true, a PropertyChangedMessage will - be broadcasted. If false, only the event will be raised. - - - - Assigns a new value to the property. Then, raises the - PropertyChanged event if needed, and broadcasts a - PropertyChangedMessage using the Messenger instance (or the - static default instance if no Messenger instance is available). - - The type of the property that - changed. - The name of the property that - changed. - The field storing the property's value. - The property's value after the change - occurred. - If true, a PropertyChangedMessage will - be broadcasted. If false, only the event will be raised. - - - - Gets a value indicating whether the control is in design mode - (running under Blend or Visual Studio). - - - - - Gets a value indicating whether the control is in design mode - (running in Blend or Visual Studio). - - - - - Gets or sets an instance of a used to - broadcast messages to other objects. If null, this class will - attempt to broadcast using the Messenger's default instance. - - - - - Passes a string property name (PropertyName) and a generic value - ( and ) to a recipient. - This message type can be used to propagate a PropertyChanged event to - a recipient using the messenging system. - - The type of the OldValue and NewValue property. - - - - Initializes a new instance of the class. - - The message's sender. - The property's value before the change occurred. - The property's value after the change occurred. - The name of the property that changed. - - - - Initializes a new instance of the class. - - The property's value before the change occurred. - The property's value after the change occurred. - The name of the property that changed. - - - - Initializes a new instance of the class. - - The message's sender. - The message's intended target. This parameter can be used - to give an indication as to whom the message was intended for. Of course - this is only an indication, amd may be null. - The property's value before the change occurred. - The property's value after the change occurred. - The name of the property that changed. - - - - Gets the value that the property has after the change. - - - - - Gets the value that the property had before the change. - - - - - Stores an Func without causing a hard reference - to be created to the Func's owner. The owner can be garbage collected at any time. - - The type of the Func's parameter. - The type of the Func's return value. - - - - Initializes a new instance of the WeakFunc class. - - The func that will be associated to this instance. - - - - Initializes a new instance of the WeakFunc class. - - The func's owner. - The func that will be associated to this instance. - - - - Executes the func. This only happens if the func's owner - is still alive. The func's parameter is set to default(T). - - - - - Executes the func. This only happens if the func's owner - is still alive. - - A parameter to be passed to the action. - - - - Executes the func with a parameter of type object. This parameter - will be casted to T. This method implements - and can be useful if you store multiple WeakFunc{T} instances but don't know in advance - what type T represents. - - The parameter that will be passed to the func after - being casted to T. - The result of the execution as object, to be casted to T. - - - - Sets all the funcs that this WeakFunc contains to null, - which is a signal for containing objects that this WeakFunc - should be deleted. - - - - - Gets or sets the name of the method that this WeakFunc represents. - - - - - Gets a value indicating whether the Func's owner is still alive, or if it was collected - by the Garbage Collector already. - - - - - A command whose sole purpose is to relay its functionality to other - objects by invoking delegates. The default return value for the CanExecute - method is 'true'. This class does not allow you to accept command parameters in the - Execute and CanExecute callback methods. - - - - - Initializes a new instance of the RelayCommand class that - can always execute. - - The execution logic. - If the execute argument is null. - - - - Initializes a new instance of the RelayCommand class. - - The execution logic. - The execution status logic. - If the execute argument is null. - - - - Raises the event. - - - - - Defines the method that determines whether the command can execute in its current state. - - This parameter will always be ignored. - true if this command can be executed; otherwise, false. - - - - Defines the method to be called when the command is invoked. - - This parameter will always be ignored. - - - - Occurs when changes occur that affect whether the command should execute. - - - - diff -r 4ea16a799a03 -r 352ecaa4fcfd SilverlightGlimpse/Libs/GalaSoft.MvvmLight.SL5.dll Binary file SilverlightGlimpse/Libs/GalaSoft.MvvmLight.SL5.dll has changed diff -r 4ea16a799a03 -r 352ecaa4fcfd SilverlightGlimpse/Libs/GalaSoft.MvvmLight.SL5.pdb Binary file SilverlightGlimpse/Libs/GalaSoft.MvvmLight.SL5.pdb has changed diff -r 4ea16a799a03 -r 352ecaa4fcfd SilverlightGlimpse/Libs/Microsoft.Practices.ServiceLocation.dll Binary file SilverlightGlimpse/Libs/Microsoft.Practices.ServiceLocation.dll has changed diff -r 4ea16a799a03 -r 352ecaa4fcfd SilverlightGlimpse/Libs/Microsoft.Practices.ServiceLocation.xml --- a/SilverlightGlimpse/Libs/Microsoft.Practices.ServiceLocation.xml Mon Apr 23 23:20:01 2012 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,263 +0,0 @@ - - - - Microsoft.Practices.ServiceLocation - - - - - The standard exception thrown when a ServiceLocator has an error in resolving an object. - - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class with a specified error message. - - - The message that describes the error. - - - - - Initializes a new instance of the class with a specified error message and a reference to the inner exception that is the cause of this exception. - - - The error message that explains the reason for the exception. - - - The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified. - - - - - The generic Service Locator interface. This interface is used - to retrieve services (instances identified by type and optional - name) from a container. - - - - - Get an instance of the given . - - Type of object requested. - if there is an error resolving - the service instance. - The requested service instance. - - - - Get an instance of the given named . - - Type of object requested. - Name the object was registered with. - if there is an error resolving - the service instance. - The requested service instance. - - - - Get all instances of the given currently - registered in the container. - - Type of object requested. - if there is are errors resolving - the service instance. - A sequence of instances of the requested . - - - - Get an instance of the given . - - Type of object requested. - if there is are errors resolving - the service instance. - The requested service instance. - - - - Get an instance of the given named . - - Type of object requested. - Name the object was registered with. - if there is are errors resolving - the service instance. - The requested service instance. - - - - Get all instances of the given currently - registered in the container. - - Type of object requested. - if there is are errors resolving - the service instance. - A sequence of instances of the requested . - - - - A strongly-typed resource class, for looking up localized strings, etc. - - - - - Returns the cached ResourceManager instance used by this class. - - - - - Overrides the current thread's CurrentUICulture property for all - resource lookups using this strongly typed resource class. - - - - - Looks up a localized string similar to Activation error occured while trying to get all instances of type {0}. - - - - - Looks up a localized string similar to Activation error occured while trying to get instance of type {0}, key "{1}". - - - - - This class provides the ambient container for this application. If your - framework defines such an ambient container, use ServiceLocator.Current - to get it. - - - - - Set the delegate that is used to retrieve the current container. - - Delegate that, when called, will return - the current ambient container. - - - - The current ambient container. - - - - - This class is a helper that provides a default implementation - for most of the methods of . - - - - - Implementation of . - - The requested service. - if there is an error in resolving the service instance. - The requested object. - - - - Get an instance of the given . - - Type of object requested. - if there is an error resolving - the service instance. - The requested service instance. - - - - Get an instance of the given named . - - Type of object requested. - Name the object was registered with. - if there is an error resolving - the service instance. - The requested service instance. - - - - Get all instances of the given currently - registered in the container. - - Type of object requested. - if there is are errors resolving - the service instance. - A sequence of instances of the requested . - - - - Get an instance of the given . - - Type of object requested. - if there is are errors resolving - the service instance. - The requested service instance. - - - - Get an instance of the given named . - - Type of object requested. - Name the object was registered with. - if there is are errors resolving - the service instance. - The requested service instance. - - - - Get all instances of the given currently - registered in the container. - - Type of object requested. - if there is are errors resolving - the service instance. - A sequence of instances of the requested . - - - - When implemented by inheriting classes, this method will do the actual work of resolving - the requested service instance. - - Type of instance requested. - Name of registered service you want. May be null. - The requested service instance. - - - - When implemented by inheriting classes, this method will do the actual work of - resolving all the requested service instances. - - Type of service requested. - Sequence of service instance objects. - - - - Format the exception message for use in an - that occurs while resolving a single service. - - The actual exception thrown by the implementation. - Type of service requested. - Name requested. - The formatted exception message string. - - - - Format the exception message for use in an - that occurs while resolving multiple service instances. - - The actual exception thrown by the implementation. - Type of service requested. - The formatted exception message string. - - - - This delegate type is used to provide a method that will - return the current container. Used with the - static accessor class. - - An . - - - diff -r 4ea16a799a03 -r 352ecaa4fcfd SilverlightGlimpse/Libs/System.Windows.Controls.Data.dll Binary file SilverlightGlimpse/Libs/System.Windows.Controls.Data.dll has changed diff -r 4ea16a799a03 -r 352ecaa4fcfd SilverlightGlimpse/Libs/System.Windows.Controls.Navigation.dll Binary file SilverlightGlimpse/Libs/System.Windows.Controls.Navigation.dll has changed diff -r 4ea16a799a03 -r 352ecaa4fcfd SilverlightGlimpse/Libs/System.Windows.Interactivity.dll Binary file SilverlightGlimpse/Libs/System.Windows.Interactivity.dll has changed diff -r 4ea16a799a03 -r 352ecaa4fcfd SilverlightGlimpse/Libs/System.Windows.Interactivity.xml --- a/SilverlightGlimpse/Libs/System.Windows.Interactivity.xml Mon Apr 23 23:20:01 2012 +0100 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,1025 +0,0 @@ - - - - System.Windows.Interactivity - - - - - Represents a collection of IAttachedObject with a shared AssociatedObject and provides change notifications to its contents when that AssociatedObject changes. - - - - - An interface for an object that can be attached to another object. - - - - - Attaches to the specified object. - - The object to attach to. - - - - Detaches this instance from its associated object. - - - - - Gets the associated object. - - The associated object. - Represents the object the instance is attached to. - - - - Initializes a new instance of the class. - - Internal, because this should not be inherited outside this assembly. - - - - Called immediately after the collection is attached to an AssociatedObject. - - - - - Called when the collection is being detached from its AssociatedObject, but before it has actually occurred. - - - - - Called when a new item is added to the collection. - - The new item. - - - - Called when an item is removed from the collection. - - The removed item. - - - Cannot add the instance to a collection more than once. - - - - Attaches to the specified object. - - The object to attach to. - The IAttachedObject is already attached to a different object. - - - - Detaches this instance from its associated object. - - - - - The object on which the collection is hosted. - - - - - Gets the associated object. - - The associated object. - - - - Encapsulates state information and zero or more ICommands into an attachable object. - - The type the can be attached to. - - Behavior is the base class for providing attachable state and commands to an object. - The types the Behavior can be attached to can be controlled by the generic parameter. - Override OnAttached() and OnDetaching() methods to hook and unhook any necessary handlers - from the AssociatedObject. - - - - - Encapsulates state information and zero or more ICommands into an attachable object. - - This is an infrastructure class. Behavior authors should derive from Behavior<T> instead of from this class. - - - - Called after the behavior is attached to an AssociatedObject. - - Override this to hook up functionality to the AssociatedObject. - - - - Called when the behavior is being detached from its AssociatedObject, but before it has actually occurred. - - Override this to unhook functionality from the AssociatedObject. - - - - Attaches to the specified object. - - The object to attach to. - The Behavior is already hosted on a different element. - dependencyObject does not satisfy the Behavior type constraint. - - - - Detaches this instance from its associated object. - - - - - The type to which this behavior can be attached. - - - - - Gets the object to which this behavior is attached. - - - - - Gets the associated object. - - The associated object. - - - - Initializes a new instance of the class. - - - - - Gets the object to which this is attached. - - - - - Represents a collection of behaviors with a shared AssociatedObject and provides change notifications to its contents when that AssociatedObject changes. - - - - - Initializes a new instance of the class. - - Internal, because this should not be inherited outside this assembly. - - - - Called immediately after the collection is attached to an AssociatedObject. - - - - - Called when the collection is being detached from its AssociatedObject, but before it has actually occurred. - - - - - Called when a new item is added to the collection. - - The new item. - - - - Called when an item is removed from the collection. - - The removed item. - - - - Enumerates possible values for reusable property value editors. - - - - - Uses the element picker, if supported, to edit this property at design time. - - - - - Uses the storyboard picker, if supported, to edit this property at design time. - - - - - Uses the state picker, if supported, to edit this property at design time. - - - - - Uses the element-binding picker, if supported, to edit this property at design time. - - - - - Uses the property-binding picker, if supported, to edit this property at design time. - - - - - Associates the given editor type with the property on which the CustomPropertyValueEditor is applied. - - Use this attribute to get improved design-time editing for properties that denote element (by name), storyboards, or states (by name). - - - - Initializes a new instance of the class. - - The custom property value editor. - - - - Gets or sets the custom property value editor. - - The custom property value editor. - - - - Provides design tools information about what to instantiate for a given action or command. - - - - - Initializes a new instance of the class. - - The type this attribute applies to. - The type of to instantiate. - A single argument for the specified . - is not derived from TriggerBase. - This constructor is useful if the specifed has a single argument. The - resulting code will be CLS compliant. - - - - Initializes a new instance of the class. - - The type this attribute applies to. - The type of to instantiate. - The constructor arguments for the specified . - is not derived from TriggerBase. - - - - Instantiates this instance. - - The specified by the DefaultTriggerAttribute. - - - - Gets the type that this DefaultTriggerAttribute applies to. - - The type this DefaultTriggerAttribute applies to. - - - - Gets the type of the to instantiate. - - The type of the to instantiate. - - - - Gets the parameters to pass to the constructor. - - The parameters to pass to the constructor. - - - - This method will use the VisualTreeHelper.GetParent method to do a depth first walk up - the visual tree and return all ancestors of the specified object, including the object itself. - - The object in the visual tree to find ancestors of. - Returns itself an all ancestors in the visual tree. - - - - EventObserver is designed to help manage event handlers by detatching when disposed. Creating this object will also attach in the constructor. - - - - - Creates an instance of EventObserver and attaches to the supplied event on the supplied target. Call dispose to detach. - - The event to attach and detach from. - The target object the event is defined on. Null if the method is static. - The delegate to attach to the event. - - - - Detaches the handler from the event. - - - - - A trigger that listens for a specified event on its source and fires when that event is fired. - - - - - Represents a trigger that can listen to an element other than its AssociatedObject. - - The type that this trigger can be associated with. - - EventTriggerBase extends TriggerBase to add knowledge of another object than the one it is attached to. - This allows a user to attach a Trigger/Action pair to one element and invoke the Action in response to a - change in another object somewhere else. Override OnSourceChanged to hook or unhook handlers on the source - element, and OnAttached/OnDetaching for the associated element. The type of the Source element can be - constrained by the generic type parameter. If you need control over the type of the - AssociatedObject, set a TypeConstraintAttribute on your derived type. - - - - - Represents a trigger that can listen to an object other than its AssociatedObject. - - This is an infrastructure class. Trigger authors should derive from EventTriggerBase<T> instead of this class. - - - - Represents an object that can invoke Actions conditionally. - - This is an infrastructure class. Trigger authors should derive from Trigger<T> instead of this class. - - - - Invoke all actions associated with this trigger. - - Derived classes should call this to fire the trigger. - - - - Called after the trigger is attached to an AssociatedObject. - - - - - Called when the trigger is being detached from its AssociatedObject, but before it has actually occurred. - - - - - Attaches to the specified object. - - The object to attach to. - Cannot host the same trigger on more than one object at a time. - dependencyObject does not satisfy the trigger type constraint. - - - - Detaches this instance from its associated object. - - - - - Gets the object to which the trigger is attached. - - The associated object. - - - - Gets the type constraint of the associated object. - - The associated object type constraint. - - - - Gets the actions associated with this trigger. - - The actions associated with this trigger. - - - - Event handler for registering to PreviewInvoke. - - - - - Gets the associated object. - - The associated object. - - - - Specifies the name of the Event this EventTriggerBase is listening for. - - - - - - Called when the event associated with this EventTriggerBase is fired. By default, this will invoke all actions on the trigger. - - The instance containing the event data. - Override this to provide more granular control over when actions associated with this trigger will be invoked. - - - - Called when the source changes. - - The old source. - The new source. - This function should be overridden in derived classes to hook functionality to and unhook functionality from the changing source objects. - - - - Called after the trigger is attached to an AssociatedObject. - - - - - Called when the trigger is being detached from its AssociatedObject, but before it has actually occurred. - - - - Could not find eventName on the Target. - - - - Gets the type constraint of the associated object. - - The associated object type constraint. - Define a TypeConstraintAttribute on a derived type to constrain the types it may be attached to. - - - - Gets the source type constraint. - - The source type constraint. - - - - Gets or sets the target object. If TargetObject is not set, the target will look for the object specified by TargetName. If an element referred to by TargetName cannot be found, the target will default to the AssociatedObject. This is a dependency property. - - The target object. - - - - Gets or sets the name of the element this EventTriggerBase listens for as a source. If the name is not set or cannot be resolved, the AssociatedObject will be used. This is a dependency property. - - The name of the source element. - - - - Gets the resolved source. If is not set or cannot be resolved, defaults to AssociatedObject. - - The resolved source object. - In general, this property should be used in place of AssociatedObject in derived classes. - The element pointed to by does not satisify the type constraint. - - - - Initializes a new instance of the class. - - - - - Called when the source property changes. - - Override this to hook functionality to and unhook functionality from the specified source, rather than the AssociatedObject. - The old source. - The new source. - - - - Gets the resolved source. If is not set or cannot be resolved, defaults to AssociatedObject. - - The resolved source object. - In general, this property should be used in place of AssociatedObject in derived classes. - - - - Initializes a new instance of the class. - - - - - Initializes a new instance of the class. - - Name of the event. - - - - Gets or sets the name of the event to listen for. This is a dependency property. - - The name of the event. - - - - Static class that owns the Triggers and Behaviors attached properties. Handles propagation of AssociatedObject change notifications. - - - - - This property is used as the internal backing store for the public Triggers attached property. - - - - - This property is used as the internal backing store for the public Behaviors attached property. - - - - - Gets the TriggerCollection containing the triggers associated with the specified object. - - The object from which to retrieve the triggers. - A TriggerCollection containing the triggers associated with the specified object. - - - - Gets the associated with a specified object. - - The object from which to retrieve the . - A containing the behaviors associated with the specified object. - - - Cannot host the same BehaviorCollection on more than one object at a time. - - - Cannot host the same TriggerCollection on more than one object at a time. - - - - A helper function to take the place of FrameworkElement.IsLoaded, as this property is not available in Silverlight. - - The element of interest. - True if the element has been loaded; otherwise, False. - - - - Executes a specified ICommand when invoked. - - - - - Represents an attachable object that encapsulates a unit of functionality. - - The type to which this action can be attached. - - - - Represents an attachable object that encapsulates a unit of functionality. - - This is an infrastructure class. Action authors should derive from TriggerAction<T> instead of this class. - - - - Attempts to invoke the action. - - The parameter to the action. If the action does not require a parameter, the parameter may be set to a null reference. - - - - Invokes the action. - - The parameter to the action. If the action does not require a parameter, the parameter may be set to a null reference. - - - - Called after the action is attached to an AssociatedObject. - - - - - Called when the action is being detached from its AssociatedObject, but before it has actually occurred. - - - - - Attaches to the specified object. - - The object to attach to. - Cannot host the same TriggerAction on more than one object at a time. - dependencyObject does not satisfy the TriggerAction type constraint. - - - - Detaches this instance from its associated object. - - - - - Gets or sets a value indicating whether this action will run when invoked. This is a dependency property. - - - True if this action will be run when invoked; otherwise, False. - - - - - Gets the object to which this action is attached. - - The associated object. - - - - Gets the associated object type constraint. - - The associated object type constraint. - - - - Gets or sets a value indicating whether this instance is attached. - - True if this instance is attached; otherwise, False. - - - - Gets the associated object. - - The associated object. - - - - Initializes a new instance of the class. - - - - - Gets the object to which this is attached. - - The associated object. - - - - Gets the associated object type constraint. - - The associated object type constraint. - - - - Invokes the action. - - The parameter to the action. If the action does not require a parameter, the parameter may be set to a null reference. - - - - Gets or sets the name of the command this action should invoke. - - The name of the command this action should invoke. - This property will be superseded by the Command property if both are set. - - - - Gets or sets the command this action should invoke. This is a dependency property. - - The command to execute. - This property will take precedence over the CommandName property if both are set. - - - - Gets or sets the command parameter. This is a dependency property. - - The command parameter. - This is the value passed to ICommand.CanExecute and ICommand.Execute. - - - - Provides data about which objects were affected when resolving a name change. - - - - - Helper class to handle the logic of resolving a TargetName into a Target element - based on the context provided by a host element. - - - - - Attempts to update the resolved object from the name within the context of the namescope reference element. - - The old resolved object. - - Resets the existing target and attempts to resolve the current TargetName from the - context of the current Host. If it cannot resolve from the context of the Host, it will - continue up the visual tree until it resolves. If it has not resolved it when it reaches - the root, it will set the Target to null and write a warning message to Debug output. - - - - - Occurs when the resolved element has changed. - - - - - Gets or sets the name of the element to attempt to resolve. - - The name to attempt to resolve. - - - - The resolved object. Will return the reference element if TargetName is null or empty, or if a resolve has not been attempted. - - - - - Gets or sets the reference element from which to perform the name resolution. - - The reference element. - - - - Gets or sets a value indicating whether the reference element load is pending. - - - True if [pending reference element load]; otherwise, False. - - - If the Host has not been loaded, the name will not be resolved. - In that case, delay the resolution and track that fact with this property. - - - - - Represents an action that can be targeted to affect an object other than its AssociatedObject. - - The type constraint on the target. - - TargetedTriggerAction extends TriggerAction to add knowledge of another element than the one it is attached to. - This allows a user to invoke the action on an element other than the one it is attached to in response to a - trigger firing. Override OnTargetChanged to hook or unhook handlers on the target element, and OnAttached/OnDetaching - for the associated element. The type of the Target element can be constrained by the generic type parameter. If - you need control over the type of the AssociatedObject, set a TypeConstraintAttribute on your derived type. - - - - - Represents an action that can be targeted to affect an object other than its AssociatedObject. - - This is an infrastructure class. Action authors should derive from TargetedTriggerAction<T> instead of this class. - - - - Called when the target changes. - - The old target. - The new target. - This function should be overriden in derived classes to hook and unhook functionality from the changing source objects. - - - - Called after the action is attached to an AssociatedObject. - - - - - Called when the action is being detached from its AssociatedObject, but before it has actually occurred. - - - - - Gets or sets the target object. If TargetObject is not set, the target will look for the object specified by TargetName. If an element referred to by TargetName cannot be found, the target will default to the AssociatedObject. This is a dependency property. - - The target object. - - - - Gets or sets the name of the object this action targets. If Target is set, this property is ignored. If Target is not set and TargetName is not set or cannot be resolved, the target will default to the AssociatedObject. This is a dependency property. - - The name of the target object. - - - - Gets the target object. If TargetObject is set, returns TargetObject. Else, if TargetName is not set or cannot be resolved, defaults to the AssociatedObject. - - The target object. - In general, this property should be used in place of AssociatedObject in derived classes. - The Target element does not satisfy the type constraint. - - - - Gets the associated object type constraint. - - The associated object type constraint. - Define a TypeConstraintAttribute on a derived type to constrain the types it may be attached to. - - - - Gets the target type constraint. - - The target type constraint. - - - - Initializes a new instance of the class. - - - - - Called when the target property changes. - - Override this to hook and unhook functionality on the specified Target, rather than the AssociatedObject. - The old target. - The new target. - - - - Gets the target object. If TargetName is not set or cannot be resolved, defaults to the AssociatedObject. - - The target. - In general, this property should be used in place of AssociatedObject in derived classes. - - - - Represents a collection of actions with a shared AssociatedObject and provides change notifications to its contents when that AssociatedObject changes. - - - - - Initializes a new instance of the class. - - Internal, because this should not be inherited outside this assembly. - - - - Called immediately after the collection is attached to an AssociatedObject. - - - - - Called when the collection is being detached from its AssociatedObject, but before it has actually occurred. - - - - - Called when a new item is added to the collection. - - The new item. - - - - Called when an item is removed from the collection. - - The removed item. - - - - Represents an object that can invoke actions conditionally. - - The type to which this trigger can be attached. - - TriggerBase is the base class for controlling actions. Override OnAttached() and - OnDetaching() to hook and unhook handlers on the AssociatedObject. You may - constrain the types that a derived TriggerBase may be attached to by specifying - the generic parameter. Call InvokeActions() to fire all Actions associated with - this TriggerBase. - - - - - Initializes a new instance of the class. - - - - - Gets the object to which the trigger is attached. - - The associated object. - - - - Gets the type constraint of the associated object. - - The associated object type constraint. - - - - Argument passed to PreviewInvoke event. Assigning Cancelling to True will cancel the invoking of the trigger. - - This is an infrastructure class. Behavior attached to a trigger base object can add its behavior as a listener to TriggerBase.PreviewInvoke. - - - - Represents a collection of triggers with a shared AssociatedObject and provides change notifications to its contents when that AssociatedObject changes. - - - - - Initializes a new instance of the class. - - Internal, because this should not be inherited outside this assembly. - - - - Called immediately after the collection is attached to an AssociatedObject. - - - - - Called when the collection is being detached from its AssociatedObject, but before it has actually occurred. - - - - - Called when a new item is added to the collection. - - The new item. - - - - Called when an item is removed from the collection. - - The removed item. - - - - Specifies type constraints on the AssociatedObject of TargetedTriggerAction and EventTriggerBase. - - - - - Initializes a new instance of the class. - - The constraint type. - - - - Gets the constraint type. - - The constraint type. - - - - A strongly-typed resource class, for looking up localized strings, etc. - - - - - Returns the cached ResourceManager instance used by this class. - - - - - Overrides the current thread's CurrentUICulture property for all - resource lookups using this strongly typed resource class. - - - - - Looks up a localized string similar to Cannot set the same BehaviorCollection on multiple objects.. - - - - - Looks up a localized string similar to An instance of a Behavior cannot be attached to more than one object at a time.. - - - - - Looks up a localized string similar to Cannot host an instance of a TriggerAction in multiple TriggerCollections simultaneously. Remove it from one TriggerCollection before adding it to another.. - - - - - Looks up a localized string similar to Cannot set the same TriggerCollection on multiple objects.. - - - - - Looks up a localized string similar to An instance of a trigger cannot be attached to more than one object at a time.. - - - - - Looks up a localized string similar to The command "{0}" does not exist or is not publicly exposed on {1}.. - - - - - Looks up a localized string similar to "{0}" is not a valid type for the TriggerType parameter. Make sure "{0}" derives from TriggerBase.. - - - - - Looks up a localized string similar to Cannot add the same instance of "{0}" to a "{1}" more than once.. - - - - - Looks up a localized string similar to The event "{0}" on type "{1}" has an incompatible signature. Make sure the event is public and satisfies the EventHandler delegate.. - - - - - Looks up a localized string similar to Cannot find an event named "{0}" on type "{1}".. - - - - - Looks up a localized string similar to An object of type "{0}" cannot have a {3} property of type "{1}". Instances of type "{0}" can have only a {3} property of type "{2}".. - - - - - Looks up a localized string similar to Cannot attach type "{0}" to type "{1}". Instances of type "{0}" can only be attached to objects of type "{2}".. - - - - - Looks up a localized string similar to Unable to resolve TargetName "{0}".. - - - -