'宣言 Public ReadOnly Property BorderStyleCalendarResolved As Infragistics.Win.UIElementBorderStyle
public Infragistics.Win.UIElementBorderStyle BorderStyleCalendarResolved {get;}
BorderStyleCalendar が Default に設定される場合、コントロールのデフォルト値、Raised が使用されます。
Imports Infragistics.Win Private Sub HideBorders() Me.ultraMonthViewMulti1.BorderStyle = UIElementBorderStyle.None If (Me.ultraMonthViewMulti1.BorderStyleCalendarResolved <> UIElementBorderStyle.None) Then Me.ultraMonthViewMulti1.BorderStyleCalendar = UIElementBorderStyle.None End If If (Me.ultraMonthViewMulti1.BorderStyleDayResolved <> UIElementBorderStyle.None) Then Me.ultraMonthViewMulti1.BorderStyleDay = UIElementBorderStyle.None End If If (Me.ultraMonthViewMulti1.BorderStyleMonthHeaderResolved <> UIElementBorderStyle.None) Then Me.ultraMonthViewMulti1.BorderStyleMonthHeader = UIElementBorderStyle.None End If If (Me.ultraMonthViewMulti1.BorderStyleMonthPopupResolved <> UIElementBorderStyle.None) Then Me.ultraMonthViewMulti1.BorderStyleMonthPopup = UIElementBorderStyle.None End If End Sub
using Infragistics.Win; private void HideBorders() { this.ultraMonthViewMulti1.BorderStyle = UIElementBorderStyle.None; if ( this.ultraMonthViewMulti1.BorderStyleCalendarResolved != UIElementBorderStyle.None ) this.ultraMonthViewMulti1.BorderStyleCalendar = UIElementBorderStyle.None; if ( this.ultraMonthViewMulti1.BorderStyleDayResolved != UIElementBorderStyle.None ) this.ultraMonthViewMulti1.BorderStyleDay = UIElementBorderStyle.None; if ( this.ultraMonthViewMulti1.BorderStyleMonthHeaderResolved != UIElementBorderStyle.None ) this.ultraMonthViewMulti1.BorderStyleMonthHeader = UIElementBorderStyle.None; if ( this.ultraMonthViewMulti1.BorderStyleMonthPopupResolved != UIElementBorderStyle.None ) this.ultraMonthViewMulti1.BorderStyleMonthPopup = UIElementBorderStyle.None; }