ModelItem.GetCurrentValue Method

When overridden in a derived class, returns the current value of the underlying model object the ModelItem is wrapping.

Namespace:  Microsoft.Windows.Design.Model
Assembly:  Microsoft.Windows.Design.Interaction (in Microsoft.Windows.Design.Interaction.dll)

public abstract Object GetCurrentValue()

Return Value

Type: System.Object
Returns an object that represents the current value of the underlying model object the ModelItem is wrapping.

You can inspect this object, but you should not make any changes to it. Changes made to the returned object will not be incorporated into the designer. The GetCurrentValue method may return either an existing or a new cloned instance of the object.

Community Additions

ADD
Show: