Visual Basic (Declaration) | |
---|---|
Public Property Parent As ISheetStyleModel |
Visual Basic (Usage) | Copy Code |
---|---|
Dim instance As DefaultSheetStyleModel Dim value As ISheetStyleModel instance.Parent = value value = instance.Parent |
C# | |
---|---|
public ISheetStyleModel Parent {get; set;} |
Property Value
ISheetStyleModel object with the parent style modelIf the parent style model is not null, then it is called to compose cell, column, row, or model default styles in GetCompositeInfo.
This example illustrates the use of this member by returning the parent of the model.
C# | Copy Code |
---|---|
FarPoint.Win.Spread.Model.DefaultSheetStyleModel defstyleModel = new FarPoint.Win.Spread.Model.DefaultSheetStyleModel();
defstyleModel = (FarPoint.Win.Spread.Model.DefaultSheetStyleModel)fpSpread1.ActiveSheet.Models.Style;
listBox1.Items.Add(defstyleModel.Parent); |
Visual Basic | Copy Code |
---|---|
Dim defstyleModel As New FarPoint.Win.Spread.Model.DefaultSheetStyleModel() defstyleModel = FpSpread1.ActiveSheet.Models.Style ListBox1.Items.Add(defstyleModel.Parent) |
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