PrintDocument for WinForms
Parent プロパティ (Style)


C1.PrintDocument.6 アセンブリ > C1.C1Preview 名前空間 > Style クラス : Parent プロパティ
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.

シンタックス
'宣言
 
Public Property Parent As Style
'使用法
 
Dim instance As Style
Dim value As Style
 
instance.Parent = value
 
value = instance.Parent
public Style Parent {get; set;}
解説
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.
参照

Style クラス
Style メンバ