Nevron .NET Vision
Nevron.UI.WebForm.Controls Namespace / NStateManager Class / CreateStateObject Method
The id of the new state.
The image control to be stored into the state.

In This Topic
    CreateStateObject Method (NStateManager)
    In This Topic
    Creates a new state instance.
    Protected MustOverride Function CreateStateObject( _
       ByVal stateId As System.String, _
       ByVal imageControl As NImage _
    ) As NStateObject
    Dim instance As NStateManager
    Dim stateId As System.String
    Dim imageControl As NImage
    Dim value As NStateObject
    value = instance.CreateStateObject(stateId, imageControl)
    protected abstract NStateObject CreateStateObject( 
       System.string stateId,
       NImage imageControl


    The id of the new state.
    The image control to be stored into the state.

    Return Value

    The state object.

    Target Platforms: 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