Version

Tag Property (UltraCalendarInfo)

User defined data associated with the component.
Syntax
'Declaration
 
Public Property Tag As Object
public object Tag {get; set;}
Remarks

The Tag property may be used to store information in the component. The component itself does use this data but will serialize it if it has been set.

Example
This example uses the Tag property to associate the component with the Form on which it is sited.

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

        '	Set the component's Tag property to the parent form.
        Me.ultraCalendarInfo1.Tag = Me

    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)
		{

			//--------------------------------------------------------------------------------
			//	Tag
			//
			//	This example uses the Tag property to associate the component with the Form
			//	on which it is sited.
			//--------------------------------------------------------------------------------

			//	Set the component's Tag property to the parent form.
			this.ultraCalendarInfo1.Tag = this;
		
		}
Requirements

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

See Also