Version

AppointmentShadowVisible Property

Gets/sets whether shadows are rendered for the UIElement that represents an Appointment.
Syntax
'Declaration
 
Public Property AppointmentShadowVisible As Infragistics.Win.DefaultableBoolean
public Infragistics.Win.DefaultableBoolean AppointmentShadowVisible {get; set;}
Remarks

When the ViewStyle property of the UltraScheduleControlBase.CalendarLook associated with this UltraDayView control is set to Standard, the AppointmentShadowVisible property resolves to False; when ViewStyle is set to Office2003, the AppointmentShadowVisible property resolves to True. The property can of course be explicitly set to true or false, independent of the current view style.

Note: To enable the Office2003 view style, set the ViewStyle property to DefaultableBoolean.True on the UltraCalendarLook object that is associated with this UltraDayView control.

Example
The following code sample demonstrates how to use the AppointmentShadowVisible property to display shadows around the UIElements that represent Appointments in the user interface.

Imports Infragistics.Win
Imports Infragistics.Win.UltraWinSchedule

    Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click

        '	If the AppointmentShadowVisible property resolves to false,
        '	set it to DefaultableBoolean.True
        If Not Me.UltraDayView1.AppointmentShadowVisibleResolved Then
            Me.UltraDayView1.AppointmentShadowVisible = DefaultableBoolean.True
        End If

    End Sub
using Infragistics.Win;
using Infragistics.Win.UltraWinSchedule;

		private void Button1_Click(object sender, System.EventArgs e)
		{
			//	If the AppointmentShadowVisible property resolves to false,
			//	set it to DefaultableBoolean.True
			if ( ! this.ultraDayView1.AppointmentShadowVisibleResolved )
				this.ultraDayView1.AppointmentShadowVisible = DefaultableBoolean.True;
		}
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