'Declaration Public Enum CalendarInfoCategories Inherits System.Enum
public enum CalendarInfoCategories : System.Enum
Member | Description |
---|---|
All | All properties |
AppearancesCollection | The appearances collection |
Appointments | The appointments collection |
DateCollections | All date related collections (e.g. DaysOfWeek, WeeksOfYear, etc.) |
DateSettings | The DateSettings collection. |
DaysOfMonth | The DaysOfMonth collection |
DaysOfWeek | The DaysOfWeek collection |
DaysOfYear | The DaysOfYear collection |
General | All component level properties |
Holidays | The holidays collection |
MonthsOfYear | The MonthsOfYear collection |
None | No customization options are allowed. Note, this is a flagged enumeratior so None is only honored when not combined with other values from the enumeration. |
Notes | The notes collection |
Owners | The Owners collection |
Projects | The Projects collection. |
Reserved | For internal use only |
Tasks | The Tasks collection. |
WeeksOfYear | The WeeksOfYear collection |
Years | All date specific objects |
Imports Infragistics.Win Imports Infragistics.Win.UltraWinSchedule Imports System.IO Imports System.Globalization Private Sub button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles button1.Click ' Create a new memory stream Dim stream As System.IO.MemoryStream = New System.IO.MemoryStream() ' Save the state of the UltraCalendarInfo object to the memory stream Me.ultraCalendarInfo1.Save(stream, CalendarInfoCategories.All) ' Create a new instance of the UltraCalendarInfo object Dim calendarInfo As UltraCalendarInfo = New UltraCalendarInfo() ' Reset the stream position before we load the data stream.Position = 0 ' Load the state of the saved UltraCalendarInfo object to the new one calendarInfo.Load(stream, CalendarInfoCategories.All) End Sub
using System.Diagnostics; using Infragistics.Win; using Infragistics.Win.UltraWinSchedule; using System.IO; using System.Globalization; private void button1_Click(object sender, System.EventArgs e) { // Create a new memory stream System.IO.MemoryStream stream = new System.IO.MemoryStream(); // Save the state of the UltraCalendarInfo object to the memory stream this.ultraCalendarInfo1.Save( stream, CalendarInfoCategories.All ); // Create a new instance of the UltraCalendarInfo object UltraCalendarInfo calendarInfo = new UltraCalendarInfo(); // Reset the stream position before we load the data stream.Position = 0; // Load the state of the saved UltraCalendarInfo object to the new one calendarInfo.Load( stream, CalendarInfoCategories.All ); }
Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2