Version

SetExtraSharedProps Method

Sets the object held in ExtraSharedProps at the specified index.
Syntax
'Declaration
 
Protected Sub SetExtraSharedProps( _
   ByVal extraSharedProps As Object, _
   ByVal extraSharedPropsIndex As Integer _
) 
protected void SetExtraSharedProps( 
   object extraSharedProps,
   int extraSharedPropsIndex
)

Parameters

extraSharedProps
The extra shared props to be stored.
extraSharedPropsIndex
The index of the extra shared props to set.
Remarks

ExtraSharedProps is an internal mechanism used to support extra properties that may be shared among tools derived from the existing tool classes. The operation of ExtraSharedProps does not change the properties of the SharedProps object. ExtraSharedProps is only useful for developers who are deriving their own tools from this class; its operation is transparent to the developer who is simply using the existing features of the control in their application.

The extraSharedPropsIndex should be taken from the base implementation's ExtraSharedPropsCount which should be overridden and incremented in each tool type providing its own extra shared props.

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