PocketPlanner Programmer's Guide

Calendar.LoadViewSettings Method (XmlDocument, String)

See Also

Loads the view settings under the specified name from the specified XML document.

Namespace: MindFusion.Scheduling.Compact
Assembly: PocketPlanner

 Syntax

C#

public void LoadViewSettings (
    XmlDocument document,
    string name
)

Visual Basic

Public Sub LoadViewSettings ( _
    document As XmlDocument, _
    name As String _
)

 Parameters

document
A .NET System.Xml.XmlDocument to load the settings from.
name
The name of the XML element where the settings should be looked for. If the name is null (Nothing in Visual Basic), the name of the control is used as a key.

 Remarks

This method restores view settings (such as the item position within a List view whose FreeDrag property is enabled) where they were previously saved by a call to SaveViewSettings.

 See Also