MindFusion.Wpf Pack Programmer's Guide
ChartForm Class
Remarks See Also
 





Represents a form which can be used to create and modify chart objects within a worksheet.

Namespace: MindFusion.Spreadsheet.Wpf.StandardForms
Assembly: MindFusion.Spreadsheet.Wpf.StandardForms

 Syntax

C#  Copy Code

public class ChartForm : Window, IComponentConnector

Visual Basic  Copy Code

Public Class ChartForm
    Inherits Window
    Implements IComponentConnector

 Remarks

This form can be used to insert new or edit existing Chart objects in a Worksheet. To use the form, create an instance of the ChartForm class, by providing the related worksheet or the chart to edit, and call the ShowDialog method. The changes made through the form are automatically applied to the target chart. The following image displays the chart form:

 Example

The code below demonstrates how to display the chart form for an existing Chart object.

C#  Copy Code

var form = new ChartForm(worksheet, chart);
form.ShowDialog();

Visual Basic  Copy Code

Dim form As New ChartForm(worksheet, chart)
form.ShowDialog()

 Inheritance Hierarchy

System.Object
    System.Windows.Threading.DispatcherObject
        System.Windows.DependencyObject
            System.Windows.Media.Visual
                System.Windows.UIElement
                    System.Windows.FrameworkElement
                        System.Windows.Controls.Control
                            System.Windows.Controls.ContentControl
                                System.Windows.Window
                                    MindFusion.Spreadsheet.Wpf.StandardForms.ChartForm

 See Also

ChartForm Members
MindFusion.Spreadsheet.Wpf.StandardForms Namespace