バージョン

FirstDayOfWeek プロパティ

現在の System.Globalization.CultureInfo から最初の曜日または Null を示す System.DayOfWeek 値を取得または設定します。
シンタックス
'宣言
 
Public Property FirstDayOfWeek As Nullable(Of DayOfWeek)
public Nullable<DayOfWeek> FirstDayOfWeek {get; set;}
解説

デフォルトでは、FirstDayOfWeek は Null に設定されます。Null に設定する場合、コントロールの System.Windows.FrameworkElement.LanguageSystem.Globalization.DateTimeFormatInfo.FirstDayOfWeek が使用されます。

使用例
Imports Infragistics.Windows.Editors
Imports Infragistics.Windows.Controls

    Private Sub InitializeCalendar(ByVal calendar As XamMonthCalendar)
        ' by default the week numbers are not displayed
        calendar.WeekNumberVisibility = Visibility.Visible

        ' by default the WeekRule is null and the week rule
        ' used is based on that of the culture (as specified 
        ' by the FrameworkElement.Language property) but the 
        ' WeekRule property can be used to override that 
        ' setting
        calendar.WeekRule = Globalization.CalendarWeekRule.FirstFullWeek

        ' similarly the FirstDayOfWeek is null and is based on 
        ' the information in the culture
        calendar.FirstDayOfWeek = DayOfWeek.Monday
    End Sub
using Infragistics.Windows.Editors;
using Infragistics.Windows.Controls;
using System.Globalization;

        private void InitializeCalendar(XamMonthCalendar calendar)
        {
            // by default the week numbers are not displayed
            calendar.WeekNumberVisibility = Visibility.Visible;

            // by default the WeekRule is null and the week rule
            // used is based on that of the culture (as specified 
            // by the FrameworkElement.Language property) but the 
            // WeekRule property can be used to override that 
            // setting
            calendar.WeekRule = CalendarWeekRule.FirstFullWeek;

            // similarly the FirstDayOfWeek is null and is based on 
            // the information in the culture
            calendar.FirstDayOfWeek = DayOfWeek.Monday;
        }
<UserControl x:Class="Xaml.UserControl1"
    
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    
xmlns:sys="clr-namespace:System;assembly=mscorlib"
    
xmlns:igEditors="http://infragistics.com/Editors"
    
xmlns:igThemes="http://infragistics.com/Themes">
    
<igEditors:XamMonthCalendar
        
x:Name="xamMonthCalendar1"
        
WeekNumberVisibility="Visible"
        
WeekRule="FirstFullWeek"
        
FirstDayOfWeek="Monday" />
</UserControl>
参照