バージョン

SelectedDateTimeRangeAppearance プロパティ

SelectedDateTimeRange にある TimeSlotUIElements の一般的な外観を取得または設定します。
シンタックス
'宣言
 
Public Property SelectedDateTimeRangeAppearance As Infragistics.Win.AppearanceBase
public Infragistics.Win.AppearanceBase SelectedDateTimeRangeAppearance {get; set;}
解説

Office 2007 の ViewStyle の場合、各オーナーの外観は、そのオーナーだけが保持できるカラー スキーマ を使用して自動的に解決されます。TimeSlotUIElements は、現在選択されている に適用されたときの自動設定をオーバーライドします。

使用例
Imports System.Collections.Generic
Imports Infragistics.Win
Imports Infragistics.Win.UltraWinSchedule
Imports System.Diagnostics

    Public Sub InitAppearances(ByVal control As UltraTimelineView)

        '  Use a navy blue foreground color for all elements
        control.Appearance.ForeColor = Color.Navy

        '  Set the working hour, non-working hour, and selected range
        '  appearances to customized colors
        control.WorkingHourAppearance.BackColor = Color.White
        control.WorkingHourAppearance.BorderColor = Color.DarkGray
        control.NonWorkingHourAppearance.BackColor = Color.LightGray
        control.NonWorkingHourAppearance.BorderColor = Color.Gray
        control.SelectedDateTimeRangeAppearance.BackColor = Color.GhostWhite
        control.SelectedDateTimeRangeAppearance.BackColor2 = Color.LightBlue
        control.SelectedDateTimeRangeAppearance.BackGradientStyle = GradientStyle.Vertical
        control.SelectedDateTimeRangeAppearance.BorderColor = Color.Navy
    End Sub
using System.Collections.Generic;
using Infragistics.Win;
using Infragistics.Win.UltraWinSchedule;
using System.Diagnostics;

    public void InitAppearances( UltraTimelineView control )
    {
        //  Use a navy blue foreground color for all elements
        control.Appearance.ForeColor = Color.Navy;

        //  Set the working hour, non-working hour, and selected range
        //  appearances to customized colors
        control.WorkingHourAppearance.BackColor = Color.White;
        control.WorkingHourAppearance.BorderColor = Color.DarkGray;
        control.NonWorkingHourAppearance.BackColor = Color.LightGray;
        control.NonWorkingHourAppearance.BorderColor = Color.Gray;
        control.SelectedDateTimeRangeAppearance.BackColor = Color.GhostWhite;
        control.SelectedDateTimeRangeAppearance.BackColor2 = Color.LightBlue;
        control.SelectedDateTimeRangeAppearance.BackGradientStyle = GradientStyle.Vertical;
        control.SelectedDateTimeRangeAppearance.BorderColor = Color.Navy;
    }
参照