Share via


StateElement.RaiseStateChanged Method (String, 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 _
)
'Usage
Dim instance As StateElement
Dim key As String
Dim newValue As Object

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

Parameters

  • key
  • newValue

See Also

Reference

StateElement Class
StateElement Members
Microsoft.Practices.CompositeUI Namespace