ActiveReports 11
Add(String,String) Method

GrapeCity.ActiveReports.v11 Assembly > GrapeCity.ActiveReports.SectionReportModel Namespace > StyleSheet Class > Add Method : Add(String,String) Method
Specifies the name of the new Style object.
Specifies the parent Style whose properties will be inherited by the new Style.
Adds a new Style object to the collection and sets its parent style to the specified parent Style.
Syntax
'Declaration
 
Public Overloads Sub Add( _
   ByVal name As String, _
   ByVal nameOfParent As String _
) 
public void Add( 
   string name,
   string nameOfParent
)

Parameters

name
Specifies the name of the new Style object.
nameOfParent
Specifies the parent Style whose properties will be inherited by the new Style.
Remarks
Styles are cascaded. Any properties not specified in the child Style are inherited from the parent Style.
See Also

Reference

StyleSheet Class
StyleSheet Members
Overload List