Intersoft.Client.UI.Aqua.UXInput Namespace : UXCalendar Class |
<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 Intersoft.Client.Framework.IControl, Intersoft.Client.Framework.IFramework, Intersoft.Client.Framework.ILicensing
Dim instance As UXCalendar
[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, Intersoft.Client.Framework.IControl, Intersoft.Client.Framework.IFramework, Intersoft.Client.Framework.ILicensing
[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, Intersoft.Client.Framework.IControl, Intersoft.Client.Framework.IFramework, Intersoft.Client.Framework.ILicensing
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" /> |
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
Target Platforms: 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