Intersoft ClientUI Documentation
UXCalendar Class
Members  See Also  Send Feedback
Intersoft.Client.UI.Aqua.UXInput Namespace : UXCalendar Class






Represents a control that enables a user to select a date by using a visual calendar display.

Object Model

UXCalendar Class

Syntax

Visual Basic (Declaration) 
<StyleTypedPropertyAttribute(Property="CalendarItemStyle", StyleTargetType=Intersoft.Client.UI.Aqua.UXInput.UXCalendarItem)>
<StyleTypedPropertyAttribute(Property="CalendarWeekNumberStyle", StyleTargetType=Intersoft.Client.UI.Aqua.UXInput.UXCalendarWeekNumber)>
<TemplatePartAttribute(Name="ContentTransition", Type=Intersoft.Client.UI.Controls.ContentTransition)>
<TemplatePartAttribute(Name="NextButton", Type=Intersoft.Client.UI.Aqua.UXButton)>
<StyleTypedPropertyAttribute(Property="CalendarDayButtonStyle", StyleTargetType=Intersoft.Client.UI.Aqua.UXInput.UXCalendarDayButton)>
<StyleTypedPropertyAttribute(Property="CalendarButtonStyle", StyleTargetType=Intersoft.Client.UI.Aqua.UXInput.UXCalendarButton)>
<TemplatePartAttribute(Name="PreviousButton", Type=Intersoft.Client.UI.Aqua.UXButton)>
<TemplatePartAttribute(Name="RootElement", Type=System.Windows.Controls.Grid)>
<StyleTypedPropertyAttribute(Property="CalendarDayNameStyle", StyleTargetType=Intersoft.Client.UI.Aqua.UXInput.UXCalendarDayName)>
<TemplatePartAttribute(Name="ItemsCurrent", Type=Intersoft.Client.UI.Controls.UXItemsControl)>
<TemplatePartAttribute(Name="HeaderButton", Type=Intersoft.Client.UI.Aqua.UXButton)>
<TemplatePartAttribute(Name="CalendarHeader", Type=System.Windows.Controls.Grid)>
<TemplatePartAttribute(Name="TodayLink", Type=Intersoft.Client.UI.Aqua.UXHyperlinkButton)>
Public Class UXCalendar 
   Inherits Intersoft.Client.Framework.ISControl
   Implements IControlIFramework, ILicensing 
Visual Basic (Usage)Copy Code
Dim instance As UXCalendar
C# 
[StyleTypedPropertyAttribute(Property="CalendarItemStyle", StyleTargetType=Intersoft.Client.UI.Aqua.UXInput.UXCalendarItem)]
[StyleTypedPropertyAttribute(Property="CalendarWeekNumberStyle", StyleTargetType=Intersoft.Client.UI.Aqua.UXInput.UXCalendarWeekNumber)]
[TemplatePartAttribute(Name="ContentTransition", Type=Intersoft.Client.UI.Controls.ContentTransition)]
[TemplatePartAttribute(Name="NextButton", Type=Intersoft.Client.UI.Aqua.UXButton)]
[StyleTypedPropertyAttribute(Property="CalendarDayButtonStyle", StyleTargetType=Intersoft.Client.UI.Aqua.UXInput.UXCalendarDayButton)]
[StyleTypedPropertyAttribute(Property="CalendarButtonStyle", StyleTargetType=Intersoft.Client.UI.Aqua.UXInput.UXCalendarButton)]
[TemplatePartAttribute(Name="PreviousButton", Type=Intersoft.Client.UI.Aqua.UXButton)]
[TemplatePartAttribute(Name="RootElement", Type=System.Windows.Controls.Grid)]
[StyleTypedPropertyAttribute(Property="CalendarDayNameStyle", StyleTargetType=Intersoft.Client.UI.Aqua.UXInput.UXCalendarDayName)]
[TemplatePartAttribute(Name="ItemsCurrent", Type=Intersoft.Client.UI.Controls.UXItemsControl)]
[TemplatePartAttribute(Name="HeaderButton", Type=Intersoft.Client.UI.Aqua.UXButton)]
[TemplatePartAttribute(Name="CalendarHeader", Type=System.Windows.Controls.Grid)]
[TemplatePartAttribute(Name="TodayLink", Type=Intersoft.Client.UI.Aqua.UXHyperlinkButton)]
public class UXCalendar : Intersoft.Client.Framework.ISControl, IControlIFramework, ILicensing  
Delphi 
public class UXCalendar = class(Intersoft.Client.Framework.ISControl, IControl, IFramework, ILicensing)
JScript 
StyleTypedPropertyAttribute(Property="CalendarItemStyle", StyleTargetType=Intersoft.Client.UI.Aqua.UXInput.UXCalendarItem)
StyleTypedPropertyAttribute(Property="CalendarWeekNumberStyle", StyleTargetType=Intersoft.Client.UI.Aqua.UXInput.UXCalendarWeekNumber)
TemplatePartAttribute(Name="ContentTransition", Type=Intersoft.Client.UI.Controls.ContentTransition)
TemplatePartAttribute(Name="NextButton", Type=Intersoft.Client.UI.Aqua.UXButton)
StyleTypedPropertyAttribute(Property="CalendarDayButtonStyle", StyleTargetType=Intersoft.Client.UI.Aqua.UXInput.UXCalendarDayButton)
StyleTypedPropertyAttribute(Property="CalendarButtonStyle", StyleTargetType=Intersoft.Client.UI.Aqua.UXInput.UXCalendarButton)
TemplatePartAttribute(Name="PreviousButton", Type=Intersoft.Client.UI.Aqua.UXButton)
TemplatePartAttribute(Name="RootElement", Type=System.Windows.Controls.Grid)
StyleTypedPropertyAttribute(Property="CalendarDayNameStyle", StyleTargetType=Intersoft.Client.UI.Aqua.UXInput.UXCalendarDayName)
TemplatePartAttribute(Name="ItemsCurrent", Type=Intersoft.Client.UI.Controls.UXItemsControl)
TemplatePartAttribute(Name="HeaderButton", Type=Intersoft.Client.UI.Aqua.UXButton)
TemplatePartAttribute(Name="CalendarHeader", Type=System.Windows.Controls.Grid)
TemplatePartAttribute(Name="TodayLink", Type=Intersoft.Client.UI.Aqua.UXHyperlinkButton)
public class UXCalendar extends Intersoft.Client.Framework.ISControl implements IControlIFramework, ILicensing 
Managed Extensions for C++ 
[StyleTypedPropertyAttribute(Property="CalendarItemStyle", StyleTargetType=Intersoft.Client.UI.Aqua.UXInput.UXCalendarItem)]
[StyleTypedPropertyAttribute(Property="CalendarWeekNumberStyle", StyleTargetType=Intersoft.Client.UI.Aqua.UXInput.UXCalendarWeekNumber)]
[TemplatePartAttribute(Name="ContentTransition", Type=Intersoft.Client.UI.Controls.ContentTransition)]
[TemplatePartAttribute(Name="NextButton", Type=Intersoft.Client.UI.Aqua.UXButton)]
[StyleTypedPropertyAttribute(Property="CalendarDayButtonStyle", StyleTargetType=Intersoft.Client.UI.Aqua.UXInput.UXCalendarDayButton)]
[StyleTypedPropertyAttribute(Property="CalendarButtonStyle", StyleTargetType=Intersoft.Client.UI.Aqua.UXInput.UXCalendarButton)]
[TemplatePartAttribute(Name="PreviousButton", Type=Intersoft.Client.UI.Aqua.UXButton)]
[TemplatePartAttribute(Name="RootElement", Type=System.Windows.Controls.Grid)]
[StyleTypedPropertyAttribute(Property="CalendarDayNameStyle", StyleTargetType=Intersoft.Client.UI.Aqua.UXInput.UXCalendarDayName)]
[TemplatePartAttribute(Name="ItemsCurrent", Type=Intersoft.Client.UI.Controls.UXItemsControl)]
[TemplatePartAttribute(Name="HeaderButton", Type=Intersoft.Client.UI.Aqua.UXButton)]
[TemplatePartAttribute(Name="CalendarHeader", Type=System.Windows.Controls.Grid)]
[TemplatePartAttribute(Name="TodayLink", Type=Intersoft.Client.UI.Aqua.UXHyperlinkButton)]
public __gc class UXCalendar : public Intersoft.Client.Framework.ISControl, IControlIFramework, ILicensing  
C++/CLI 
[StyleTypedPropertyAttribute(Property="CalendarItemStyle", StyleTargetType=Intersoft.Client.UI.Aqua.UXInput.UXCalendarItem)]
[StyleTypedPropertyAttribute(Property="CalendarWeekNumberStyle", StyleTargetType=Intersoft.Client.UI.Aqua.UXInput.UXCalendarWeekNumber)]
[TemplatePartAttribute(Name="ContentTransition", Type=Intersoft.Client.UI.Controls.ContentTransition)]
[TemplatePartAttribute(Name="NextButton", Type=Intersoft.Client.UI.Aqua.UXButton)]
[StyleTypedPropertyAttribute(Property="CalendarDayButtonStyle", StyleTargetType=Intersoft.Client.UI.Aqua.UXInput.UXCalendarDayButton)]
[StyleTypedPropertyAttribute(Property="CalendarButtonStyle", StyleTargetType=Intersoft.Client.UI.Aqua.UXInput.UXCalendarButton)]
[TemplatePartAttribute(Name="PreviousButton", Type=Intersoft.Client.UI.Aqua.UXButton)]
[TemplatePartAttribute(Name="RootElement", Type=System.Windows.Controls.Grid)]
[StyleTypedPropertyAttribute(Property="CalendarDayNameStyle", StyleTargetType=Intersoft.Client.UI.Aqua.UXInput.UXCalendarDayName)]
[TemplatePartAttribute(Name="ItemsCurrent", Type=Intersoft.Client.UI.Controls.UXItemsControl)]
[TemplatePartAttribute(Name="HeaderButton", Type=Intersoft.Client.UI.Aqua.UXButton)]
[TemplatePartAttribute(Name="CalendarHeader", Type=System.Windows.Controls.Grid)]
[TemplatePartAttribute(Name="TodayLink", Type=Intersoft.Client.UI.Aqua.UXHyperlinkButton)]
public ref class UXCalendar : public Intersoft.Client.Framework.ISControl, IControlIFramework, ILicensing  

Remarks

UXCalendar is a lightweight input control that allow user to select date or collection of dates using a visual calendar display. A Calendar displays either the days of a month, the months of a year, the years of a decade, or the decades of century, depending on the value of the DisplayDate and InitialDisplayMode properties. If the DisplayDate property is not specifed, the UXCalendar will automatically use the current date as its DisplayDate.

The following example shows how to define simple UXCalendar in XAML

XAML Copy Code
<Intersoft:UXCalendar x:Name="UXCalendar1" DisplayDate="12/1/2010" />

Inheritance Hierarchy

System.Object
   System.Windows.DependencyObject
      System.Windows.UIElement
         System.Windows.FrameworkElement
            System.Windows.Controls.Control
               Intersoft.Client.Framework.ISControl
                  Intersoft.Client.UI.Aqua.UXInput.UXCalendar
                     Intersoft.Client.UI.ScheduleView.UXScheduleViewCalendar

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2012 All Rights Reserved.