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






Gets or sets a value indicating whether the calendar is displayed in months, years, decades or century view.

Syntax

Visual Basic (Declaration) 
<CategoryAttribute("Common Properties")>
Public Property DisplayMode As CalendarDisplayMode
Visual Basic (Usage)Copy Code
Dim instance As UXCalendar
Dim value As CalendarDisplayMode
 
instance.DisplayMode = value
 
value = instance.DisplayMode
C# 
[CategoryAttribute("Common Properties")]
public CalendarDisplayMode DisplayMode {get; set;}
Delphi 
public read-write property DisplayMode: CalendarDisplayMode; 
JScript 
CategoryAttribute("Common Properties")
public function get,set DisplayMode : CalendarDisplayMode
Managed Extensions for C++ 
[CategoryAttribute("Common Properties")]
public: __property CalendarDisplayMode get_DisplayMode();
public: __property void set_DisplayMode( 
   CalendarDisplayMode value
);
C++/CLI 
[CategoryAttribute("Common Properties")]
public:
property CalendarDisplayMode DisplayMode {
   CalendarDisplayMode get();
   void set (    CalendarDisplayMode value);
}

Remarks

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. The following are display modes that available in UXCalendar:

  • Month
    Displays a month at a time.
  • Year
    Displays a year at a time.
  • Decade
    Displays a decade at a time.
  • Century
    Displays a century at a time.

 

XAML Copy Code
<StackPanel>
    <Intersoft:UXCalendar x:Name="UXCalendar1" InitialDisplayMode="Month"/>        
    <Intersoft:UXCalendar x:Name="UXCalendar2" InitialDisplayMode="Year"/>        
    <Intersoft:UXCalendar x:Name="UXCalendar3" InitialDisplayMode="Decade"/>        
    <Intersoft:UXCalendar x:Name="UXCalendar4" InitialDisplayMode="Centry"/>        
</StackPanel>

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.