Share via


StateElement.RaiseStateChanged Method (String, Object, Object)

Raises the StateChanged event for the given state key (can be null if it is unknown).

Namespace: Microsoft.Practices.CompositeUI
Assembly: Microsoft.Practices.CompositeUI (in microsoft.practices.compositeui.dll)

Syntax

'Declaration
Public Sub RaiseStateChanged ( _
    key As String, _
    newValue As Object, _
    oldValue As Object _
)
'Usage
Dim instance As StateElement
Dim key As String
Dim newValue As Object
Dim oldValue As Object

instance.RaiseStateChanged(key, newValue, oldValue)
public void RaiseStateChanged (
    string key,
    Object newValue,
    Object oldValue
)
public:
void RaiseStateChanged (
    String^ key, 
    Object^ newValue, 
    Object^ oldValue
)
public void RaiseStateChanged (
    String key, 
    Object newValue, 
    Object oldValue
)
public function RaiseStateChanged (
    key : String, 
    newValue : Object, 
    oldValue : Object
)

Parameters

  • key
  • newValue
  • oldValue

See Also

Reference

StateElement Class
StateElement Members
Microsoft.Practices.CompositeUI Namespace