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

C1.Win.FlexPivot.4.5.2 アセンブリ > C1.Win.FlexPivot 名前空間 > C1FlexPivotPanel クラス : ViewDefinition プロパティ
Gets or sets an XML string containing an FlexPivot view definition.
シンタックス
'宣言
 
Public Property ViewDefinition As System.String
public System.string ViewDefinition {get; set;}
解説

This property is typically used to persist the current view as an application setting, so views are preserved across sessions.

使用例
The code below loads an FlexPivot view from the application settings when the application starts, and saves them back when the application ends.
public Form1()
{
  InitializeComponent();
  
  // assign data to FlexPivot panel
  _c1FlexPivotPanel.DataSource = GetDataTable();
  
  // load/create default view
  try
  {
    _c1FlexPivotPanel.ViewDefinition = Properties.Settings.Default.FlexPivotView;
  }
  catch { }
}
            
// save this view as the default
void _btnSaveAsDefault_Click(object sender, EventArgs e)
{
  try
  {
    Properties.Settings.Default.FlexPivotView = _c1FlexPivotPanel.ViewDefinition;
    Properties.Settings.Default.Save();
  }
  catch (Exception x)
  {
    MessageBox.Show(x.Message, "Error", MessageBoxButtons.OK, MessageBoxIcon.Error);
  }
}
参照

C1FlexPivotPanel クラス
C1FlexPivotPanel メンバ