<
OLAP for WPF and Silverlight | ComponentOne
C1.WPF.Olap Namespace / C1OlapPanel Class / ViewDefinition Property

In This Topic
    ViewDefinition Property (C1OlapPanel)
    In This Topic
    Gets or sets an XML string containing an Olap view definition.
    Syntax
    'Declaration
     
    Public Property ViewDefinition As String
    public string ViewDefinition {get; set;}
    Remarks

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

    Example
    The code below loads an Olap view from the application settings when the application starts, and saves them back when the application ends.
    See Also