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






Gets or sets the date time format for the range title text.

Syntax

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

Remarks

The format of Date Title in UXCalendar can easily be customized. There are three properties that you can use to configure dates format in UXCalendar as follows:

  • TodayDateFormat
    The date time format that will be used as the UXCalendar's Today date string format. The default value is {0:dddd, MMMM d, yyyy}.
  • TitleDateFormat
    The date time format that will be used as Date Title format for single date like in Month mode. The default value is {0:MMMMM, yyyy}.
  • TitleRangeFormat
    The date time format that will be used as Date Title format for range date like in Decade, Century or multiple calendars mode.  The default value is {0} - {1}.

The following code shows how to modify Date Title formats in UXCalendar.

XAML Copy Code
<Intersoft:UXCalendar x:Name="UXCalendar1" CalendarViewCount="3" HorizontalAlignment="Center" VerticalAlignment="Center" TitleDateFormat="{}{0:MMM, yyyy}" TitleRangeFormat="{}{0} to {1}">
</Intersoft:UXCalendar>

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.