FarPoint.Win.SpreadJ アセンブリ > FarPoint.Win.Spread.Model 名前空間 > DefaultSheetDataModel クラス : ParentRelationName プロパティ |
'Declaration Public ReadOnly Property ParentRelationName As String
'使用法 Dim instance As DefaultSheetDataModel Dim value As String value = instance.ParentRelationName
public string ParentRelationName {get;}
private void fpSpread1ChildViewCreated(object sender, FarPoint.Win.Spread.ChildViewCreatedEventArgs e) { FarPoint.Win.Spread.Model.DefaultSheetDataModel dm; dm = e.SheetView.Models.Data; string s; s = dm.ParentRelationName; MessageBox.Show("The name of the parent relation is " + s); }
Private Sub FpSpread1ChildViewCreated(ByVal sender As Object, ByVal e As FarPoint.Win.Spread.ChildViewCreatedEventArgs) Handles fpSpread1.ChildViewCreated Dim dm As FarPoint.Win.Spread.Model.DefaultSheetDataModel dm = e.SheetView.Models.Data Dim s As String s = dm.ParentRelationName MessageBox.Show("The name of the parent relation is " & s) End Sub