Visual Basic (Declaration) | |
---|---|
Public Overloads Sub Add( _ ByVal name As System.String, _ ByVal nameOfParent As System.String _ ) |
C# | |
---|---|
public void Add( System.string name, System.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.
Styles are cascaded. Any properties not specified in the child Style are inherited from the parent Style.