Search
Calendar.SaveViewSettings Method (XmlDocument, String)
See Also
 





Saves the view settings to the specified XML document under the specified name.

Namespace: MindFusion.Scheduling.WinForms
Assembly: MindFusion.Scheduling

 Syntax

C#  Copy Code

public void SaveViewSettings (
    XmlDocument document,
    string name
)

Visual Basic  Copy Code

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

 Parameters

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

 Remarks

This method stores the current view settings (such as the item position within a List view whose FreeDrag property is enabled) to the specified document where they can be subsequently restored from by a call to LoadViewSettings.

 See Also