Nevron .NET Vision
Nevron.UI.WinForm.Docking Namespace / NStyleComposite Class / AddStyle Method / AddStyle(Int32,NStyle,Boolean) Method

In This Topic
    AddStyle(Int32,NStyle,Boolean) Method
    In This Topic
    Add a style to the composite and assigns it the specified id. If replaceExisting is true an exisiting style with the same id will be replaced, otherwise an exception will be thrown.
    Public Overloads Sub AddStyle( _
       ByVal styleID As System.Integer, _
       ByVal style As NStyle, _
       ByVal replaceExisting As System.Boolean _
    Dim instance As NStyleComposite
    Dim styleID As System.Integer
    Dim style As NStyle
    Dim replaceExisting As System.Boolean
    instance.AddStyle(styleID, style, replaceExisting)
    public void AddStyle( styleID,
       NStyle style,
       System.bool replaceExisting



    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