Nevron .NET Vision
Nevron.UI.WinForm.Docking Namespace / INStyleComposite Interface / AddStyle Method / AddStyle(Int32,NStyle,Boolean) Method
The unique id to use.
The style to register.
True to replace an existing style, registered with the same id, false otherwise.


In This Topic
    AddStyle(Int32,NStyle,Boolean) Method
    In This Topic
    Registers the specified style with the specified id.
    Syntax
    'Declaration
     
    
    Overloads Sub AddStyle( _
       ByVal styleID As System.Integer, _
       ByVal style As NStyle, _
       ByVal replaceExisting As System.Boolean _
    ) 
    'Usage
     
    
    Dim instance As INStyleComposite
    Dim styleID As System.Integer
    Dim style As NStyle
    Dim replaceExisting As System.Boolean
     
    instance.AddStyle(styleID, style, replaceExisting)
    void AddStyle( 
       System.int styleID,
       NStyle style,
       System.bool replaceExisting
    )

    Parameters

    styleID
    The unique id to use.
    style
    The style to register.
    replaceExisting
    True to replace an existing style, registered with the same id, false otherwise.
    Requirements

    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