FlexPivot for WinForms
ViewDefinition プロパティ (C1PivotEngine)
使用例 

C1.PivotEngine アセンブリ > C1.PivotEngine 名前空間 > C1PivotEngine クラス : ViewDefinition プロパティ
Gets or sets the PivotEngine view definition as an XML string.
シンタックス
'宣言
 
Public Property ViewDefinition As System.String
public System.string ViewDefinition {get; set;}
解説
This property is typically used to persist the current PivotEngine view as an application setting.
使用例

The code below shows how to save a PivotEngine view as an application setting when the application ends and how to load it when the application starts.

The code assumes that the application settings contain a string property called "PivotEngineView".

public Form1()
{
  InitializeComponent();
            
  // load default view
  C1PivotEngine fp = GetPivotEngine();
  string view = Properties.Settings.Default.PivotEngineView;
  if (!string.IsNullOrEmpty(view))
  {
    fp.ViewDefinition = Properties.Settings.Default.PivotEngineView;
  }
}
protected override void OnClosed(EventArgs e)
{
  // save current view as default
  C1PivotEngine fp = GetPivotEngine();
  Properties.Settings.Default.PivotView = fp.ViewDefinition;
  Properties.Settings.Default.Save();
}
参照

C1PivotEngine クラス
C1PivotEngine メンバ