Gets or sets the Style that is the parent of the current style.

If non-null, that style provides the values for non-ambient properties of the current style that have not been explicitly set.

If null, such properties have default values.

This property is null by default.

Namespace:  C1.C1Preview
Assembly:  C1.C1Report.2 (in C1.C1Report.2.dll)

Syntax

C#
public Style Parent { get; set; }
Visual Basic
Public Property Parent As Style
	Get
	Set

Remarks

Initially a Style object does not have any explicitly set properties. This means that the effective values of all ambient properties (such as font) are inherited from the style of the containing object, while the effective values of all non-ambient properties (such as borders) are inherited from the style specified by this property.

See Also