Version

CachePropertyValue(EmbeddableEditorOwnerBase,Object,Int32,Object,Object,Object) Method

Calculates the resolved value for the specified property index using the specified owner and default value information and then caches it at the specified index.
Syntax
'Declaration
 
Public Overloads Function CachePropertyValue( _
   ByVal owner As EmbeddableEditorOwnerBase, _
   ByVal ownerContext As Object, _
   ByVal propIndex As Integer, _
   ByVal editorValue As Object, _
   ByVal defaultValue As Object, _
   ByVal resolveValue As Object _
) As Object
public object CachePropertyValue( 
   EmbeddableEditorOwnerBase owner,
   object ownerContext,
   int propIndex,
   object editorValue,
   object defaultValue,
   object resolveValue
)

Parameters

owner
Owner that is using the editor. This is used to obtain the appropriate component role
ownerContext
Owner context of the editor. This is used to obtain the appropriate component role
propIndex
Index of the property at which the value should be cached
editorValue
Current editor value
defaultValue
Default value for the property that can be used to compare against the editor value and application style value.
resolveValue
Resolved value that should be returned/cached if all the values are default or unspecified.

Return Value

The cached value.
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also